Problem: After deleting a node, libcloud list_nodes maps it to UNKNOWN state instead of TERMINATED
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
Confirmed the state details in both Rackspace & OpenStack api documentation for delete server operation. It says
Status Transition: ACTIVE -> DELETED