timeout_mins is not the same in nested stacks

Bug #1764323 reported by Ethan Lynn
6
This bug affects 1 person
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_version: 2013-05-23
resources:
  rg:
    type: OS::Heat::ResourceGroup
    properties:
      count: 1
      resource_def:
        type: OS::Nova::Server
        properties:
          image: ubuntu-16.04-server-cloudimg-amd64
          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-vhadp-pub1-dhcp58:/home/viouser# openstack stack show el-test-rg-7tresvuomvcg
+-----------------------+----------------------------------------------------------------------------------------------------------------------------------------+
| Field | Value |
+-----------------------+----------------------------------------------------------------------------------------------------------------------------------------+
| id | 55374de0-1344-4d95-8707-3dd6d3c84c92 |
| stack_name | el-test-rg-7tresvuomvcg |
| description | No description |
| creation_time | 2018-04-16T08:12:36Z |
| updated_time | None |
| stack_status | CREATE_COMPLETE |
| stack_status_reason | Stack CREATE completed successfully |
| parameters | OS::project_id: 4c516c203e784834aef294328d62ffa9 |
| | OS::stack_id: 55374de0-1344-4d95-8707-3dd6d3c84c92 |
| | OS::stack_name: el-test-rg-7tresvuomvcg |
| | |
| outputs | [] |
| | |
| links | - href: http://10.141.7.1:8004/v1/4c516c203e784834aef294328d62ffa9/stacks/el-test-rg-7tresvuomvcg/55374de0-1344-4d95-8707-3dd6d3c84c92 |
| | rel: self |
| | |
| parent | ab6ae192-37d6-4624-a11b-80bc314a85c1 |
| disable_rollback | True |
| deletion_time | None |
| stack_user_project_id | 9b400729952d4dba84d66591895633bc |
| capabilities | [] |
| notification_topics | [] |
| stack_owner | None |
| timeout_mins | 300 |
| tags | None |
+-----------------------+----------------------------------------------------------------------------------------------------------------------------------------+

Revision history for this message
Rabi Mishra (rabi) wrote :

What heta version are you using? Probably this was fixed in pike and backported to ocata.

https://github.com/openstack/heat/commit/1591acaf1f6270aba01409e26435fcbfe62a8b01#diff-60be04c9cc608aa5906c801287e70d68

Revision history for this message
Ethan Lynn (ethanlynn) wrote :
Changed in heat:
status: New → Invalid
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.