timeout_mins is not the same in nested stacks
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Heat |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Use following template to create a resourcegroup resource with "--timeout 5"
heat_template_
resources:
rg:
type: OS::Heat:
properties:
count: 1
resource_def:
type: OS::Nova::Server
properties:
image: ubuntu-
flavor: m1.medium
networks:
- network: private_net
Then show stack. parent stack timeout_mins was set to 5, but nested stack timeout_mins was set to 300.
root@wdc-
+------
| Field | Value |
+------
| id | 55374de0-
| stack_name | el-test-
| description | No description |
| creation_time | 2018-04-
| updated_time | None |
| stack_status | CREATE_COMPLETE |
| stack_status_reason | Stack CREATE completed successfully |
| parameters | OS::project_id: 4c516c203e78483
| | OS::stack_id: 55374de0-
| | OS::stack_name: el-test-
| | |
| outputs | [] |
| | |
| links | - href: http://
| | rel: self |
| | |
| parent | ab6ae192-
| disable_rollback | True |
| deletion_time | None |
| stack_user_
| capabilities | [] |
| notification_topics | [] |
| stack_owner | None |
| timeout_mins | 300 |
| tags | None |
+------
What heta version are you using? Probably this was fixed in pike and backported to ocata.
https:/ /github. com/openstack/ heat/commit/ 1591acaf1f6270a ba01409e26435fc bfe62a8b01# diff-60be04c9cc 608aa5906c80128 7e70d68