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': [
]}
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