Comment 0 for bug 1570704

Revision history for this message
Di XiaoLi (dixiaoli) wrote : Show Resource Data API did not response the id of the resource.

I am using command:
# heat-manage resource_data_list -h
usage: heat-manage resource_data_list [-h] resource_id

positional arguments:
  resource_id Stack resource id

This command needs the resource id parameter.

Then I try to use the following command to get the resource id that I need

#heat resource-show my_stack my_resource
But did not got the resource.id

Then I login the mysql db and got the id value:
mysql> select resource_id from resource_data;
+-------------+
| resource_id |
+-------------+
| 194 |

So, we should return the id of the resource in Show Resource Data API.