We'd better not use "resource_id" in command heat-manage resource_data_list
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Heat |
In Progress
|
Undecided
|
Unassigned |
Bug Description
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 get the resource.id
Then I login the mysql db and got the id value:
mysql> select resource_id from resource_data;
+-------------+
| resource_id |
+-------------+
| 194 |
It is inconvenient for cloud operations for using this command, as he needs to get the resource id by login to the db.
We can change this command's parameters to resource_name and stack_id.
description: | updated |
Changed in heat: | |
assignee: | nobody → Di XiaoLi (dixiaobj) |
summary: |
- Show Resource Data API did not response the id of the resource. + We'd better not use "resource_id" in command heat-manage + resource_data_list |
description: | updated |
description: | updated |
Changed in heat: | |
assignee: | Di XiaoLi (dixiaoli) → nobody |
Changed in heat: | |
milestone: | none → no-priority-tag-bugs |
Fix proposed to branch: master /review. openstack. org/306312
Review: https:/