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

Rackspace - deleted node state mapping is missing

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 0.11.2
    • Fix Version/s: 0.12.1
    • Component/s: Compute
    • Labels:
      None
    • Environment:

      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

        Activity

        Hide
        kami Tomaz Muraus added a comment -

        Good catch. Fixed has been merged into trunk, thanks!

        https://svn.apache.org/viewvc?view=revision&revision=1428611

        Show
        kami Tomaz Muraus added a comment - Good catch. Fixed has been merged into trunk, thanks! https://svn.apache.org/viewvc?view=revision&revision=1428611

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development