Comment 0 for bug 1480183

Revision history for this message
huangtianhua (huangtianhua) wrote : resource's state incorrect when list resources of stack

1. create a stack enable rollback
2. the stack create failed, and rollback complete, the resources has been deleted
3. stack-show, the stack is in ROLLBACK_COMPLETE
4. to list resources of the stack, the result like this:

root@monasca:/usr/hth# heat resource-list feee80bc-67b2-4582-99ce-c008f34b35c2
+---------------+----------------------+--------------------+-----------------+----------------------------+
| resource_name | physical_resource_id | resource_type | resource_status | updated_time |
+---------------+----------------------+--------------------+-----------------+----------------------------+
| cv | | OS::Cinder::Volume | INIT_COMPLETE | 2015-07-31T09:03:59.041671 |
+---------------+----------------------+--------------------+-----------------+----------------------------+

5. The resource's state is wrong, should be DELETE_COMPLETE or ROLLBACK_COMPLETE.