stack-update doesn't update the metadata for running stack/resources
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Heat |
Fix Released
|
High
|
Steve Baker |
Bug Description
The template that I used is available @ https:/
I created stack with following command:
$heat stack-create Trove-API-2 -f trove.yaml -P "Trove-
once the stack was up and running, I verified that stack metadata using
$heat resource-metadata Trove-API-2 troveapi
{
"db": "mysql:
"trove": {
"debug": "False",
"bind_port": 8779,
"verbose": true,
"rabbit": {
"host": "10.0.0.1",
"password": "<<>>"
}
},
"keystone": {
"host": "10.0.0.1",
"service-
}
}
After this I tried to use stack-update to update the metadata on the running stack/resources with the following command:
$ heat stack-update Trove-API-2 -f trove.yaml -P "Trove-
+------
| id | stack_name | stack_status | creation_time |
+------
| 2037646b-
+------
After this when I checked the resource-metadata, I didn't see the updated values of Trove-Debug (which is set to trove:debug):
$ heat resource-metadata Trove-API-2 troveapi
{
"db": "mysql:
"trove": {
"debug": "False",
"bind_port": 8779,
"verbose": true,
"rabbit": {
"host": "10.0.0.1",
"password": "<<>>"
}
},
"keystone": {
"host": "10.0.0.1",
"service-
}
}
I did verify that the update of the debut parameter didn't even reflect inside the heat.stack table in the database.
Changed in heat: | |
status: | Incomplete → Triaged |
importance: | Medium → High |
assignee: | nobody → Steve Baker (steve-stevebaker) |
milestone: | next → none |
Changed in heat: | |
status: | Fix Committed → Fix Released |
Changed in heat: | |
milestone: | juno-3 → 2014.2 |
This may be related to bug 1291411. Can you please retest when this change lands? https:/ /review. openstack. org/#/c/ 81678/