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

Rackspace - deleted node state mapping is missing

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.11.2
    • 0.12.1
    • Compute
    • None
    • ubuntu 10.10

    Description

      Provider: Rackspace

      Problem: After deleting a node, libcloud list_nodes maps it to UNKNOWN state instead of TERMINATED

      Debugging details:
      Rackspace uses OpenStack driver and the NODE_STATE_MAP does not have a mapping for DELETED state.

      a sample deleted node data being fetched from Rackspace
      {u'servers': [

      {u'status': u'DELETED', u'updated': u'2012-12-29T15:45:02Z', u'hostId': u'710e790eb2647f807e1b15059927e49a221520364648143e0d7600ae', u'user_id': u'214025z}

      ]}

      Confirmed the state details in both Rackspace & OpenStack api documentation for delete server operation. It says
      Status Transition: ACTIVE -> DELETED

      http://docs.openstack.org/api/openstack-compute/2/content/Delete_Server-d1e2883.html
      http://docs.rackspace.com/servers/api/v2/cs-devguide/content/Delete_Server-d1e2883.html

      Attachments

        Activity

          People

            kami Tomaz Muraus
            jayyy0v Jay Kumar
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: