Jayyy created LIBCLOUD-276:
------------------------------

             Summary: Rackspace - deleted node state mapping is missing
                 Key: LIBCLOUD-276
                 URL: https://issues.apache.org/jira/browse/LIBCLOUD-276
             Project: Libcloud
          Issue Type: Bug
          Components: Compute
    Affects Versions: 0.11.2
         Environment: ubuntu 10.10
            Reporter: Jayyy
            Priority: Minor


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


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to