Convergence: nested stacks are not populated with correct nested_depth

Bug #1592243 reported by Steve Baker
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Heat
Fix Released
High
Steve Baker

Bug Description

Observing the database records for existing convergence stacks with deeply nested stacks shows that all stack records have a nested_depth of 0 or 1.

This is very wrong, and will result in max_nested_stack_depth config policy not being enforced.

Changed in heat:
status: New → Triaged
importance: Undecided → High
assignee: nobody → Steve Baker (steve-stevebaker)
milestone: none → newton-2
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to heat (master)

Fix proposed to branch: master
Review: https://review.openstack.org/329263

Changed in heat:
status: Triaged → In Progress
summary: - Nested stacks are not populated with correct nested_depth
+ Convergence: nested stacks are not populated with correct nested_depth
tags: added: convergence-bugs
description: updated
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to heat (master)

Reviewed: https://review.openstack.org/329263
Committed: https://git.openstack.org/cgit/openstack/heat/commit/?id=54caa859660f248d3d11f0c5b06f0cf36eacd0ee
Submitter: Jenkins
Branch: master

commit 54caa859660f248d3d11f0c5b06f0cf36eacd0ee
Author: Steve Baker <email address hidden>
Date: Tue Jun 14 15:53:45 2016 +1200

    Set nested_depth when creating Stack from db

    Without this, deeply nested stacks will all be given the nested_depth
    value of 1 instead of the actual nested_depth when convergence is
    enabled.

    This also means that max_nested_stack_depth currently isn't enforced
    for convergence created stacks.

    Change-Id: I34e90ae67e6ec2e235be6cc4a247673eaa7773cf
    Closes-Bug: #1592243

Changed in heat:
status: In Progress → Fix Released
Revision history for this message
Doug Hellmann (doug-hellmann) wrote : Fix included in openstack/heat 7.0.0.0b2

This issue was fixed in the openstack/heat 7.0.0.0b2 development milestone.

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.