Uploaded image for project: 'Libcloud'
  1. Libcloud
  2. LIBCLOUD-296

Proposal to add a node state - STOPPED - to the standard list of states.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 0.11.2
    • 0.14.0-beta3
    • Compute
    • None

    Description

      With providers like EC2, a node can be stopped and started again.

      STOPPED - is a reasonably useful state to determine the nodes that are just stopped but not terminated and initiate a start operation, if required.

      Currently a EC2 stopped node is being mapped to UNKNOWN state. Without a STOPPED state, we are losing an important information with all the providers who supports this state.

      A sample ec2 node data in stopped state
      ------------------------------------------------------------
      {'private_ips': [], 'extra': {'status': 'stopped', 'productcode': [], 'groups': [None], 'tags': {}, 'instanceId': 'i-f9654189', 'dns_name': '', 'launchdatetime': '2013-02-09T15:35:09.000Z', 'imageId': 'ami-3fec7956', 'kernelid': 'aki-88aa75e1', 'keyname': 'jv', 'availability': 'us-east-1c', 'clienttoken': 'pfoKe1360424109512', 'launchindex': '0', 'ramdiskid': None, 'private_dns': '', 'instancetype': 't1.micro'}, 'image': None, '_uuid': None, 'driver': <libcloud.compute.drivers.ec2.EC2NodeDriver object at 0x9bbbbac>, 'state': 4, 'public_ips': [], 'size': None, 'id': 'i-f9654189', 'name': 'i-f9654189'}

      Attachments

        Activity

          People

            Unassigned Unassigned
            jayyy0v Jay Kumar
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: