show the physical_resource_id in resource-list

Bug #1331954 reported by huangtianhua
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
python-heatclient
Fix Released
Low
huangtianhua

Bug Description

We hope to get the physical_resource_id while resource-list, such as get the instance_ids for a nested stack
or a simple stack resource.

for example:
1. heat stack-create -f cinder_volume.yaml cv
    ---- to create a stack with a volume

2. cinder list
+--------------------------------------+-----------+-------+------+-------------+----------+-------------+
| ID | Status | Name | Size | Volume Type | Bootable | Attached to |
+--------------------------------------+-----------+-------+------+-------------+----------+-------------+
| 4a3e035b-998f-43c1-a034-708c2087e000 | available | myvol | 1 | None | false | |
+--------------------------------------+-----------+-------+------+-------------+----------+-------------+

3. heat resource-list cv
+---------------+--------------------------------------+--------------------+-----------------+----------------------+
| resource_name | physical_resource_id | resource_type | resource_status | updated_time |
+---------------+--------------------------------------+--------------------+-----------------+----------------------+
| my_volume | 4a3e035b-998f-43c1-a034-708c2087e000 | OS::Cinder::Volume | CREATE_COMPLETE | 2014-06-19T07:16:58Z |
+---------------+--------------------------------------+--------------------+-----------------+----------------------+

  ----if we show the physical_resource_id in resource-list, it will be more intuitive

Changed in python-heatclient:
assignee: nobody → huangtianhua (huangtianhua)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to python-heatclient (master)

Fix proposed to branch: master
Review: https://review.openstack.org/101125

Changed in python-heatclient:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-heatclient (master)

Reviewed: https://review.openstack.org/101125
Committed: https://git.openstack.org/cgit/openstack/python-heatclient/commit/?id=ed08275dfbf3c5a51863cd0d175a1430acfd7884
Submitter: Jenkins
Branch: master

commit ed08275dfbf3c5a51863cd0d175a1430acfd7884
Author: huangtianhua <email address hidden>
Date: Thu Jun 19 15:41:37 2014 +0800

    Show physical_resource_id in resource-list

    Show the physical_resource_id in resource-list,
    it will be more intuitive.

    Change-Id: I32908dd771ee916a6fe70f6decdf23c61b7d1597
    Closes-Bug: #1331954

Changed in python-heatclient:
status: In Progress → Fix Committed
Changed in python-heatclient:
importance: Undecided → Low
milestone: none → v0.2.11
Changed in python-heatclient:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.