toscautils.update_nested_scaling_resources only update last nested_resource

Bug #1917314 reported by LiangLu
14
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tacker
Fix Released
Undecided
LiangLu

Bug Description

in toscautils.update_nested_scaling_resources()[1]

it updates every element in nested_resources.items() and save to nested_resources_dict temporaryly.

However, when saving each nested_resources_dict to nested_tpl[], this logic is out of for loop[2]

this bug occurs only the last nested_resource will be updated.

[1]https://opendev.org/openstack/tacker/src/branch/master/tacker/tosca/utils.py#L1260

[2]https://opendev.org/openstack/tacker/src/branch/master/tacker/tosca/utils.py#L1302

LiangLu (lianglu)
Changed in tacker:
assignee: nobody → LiangLu (lianglu)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tacker 5.0.0.0rc1

This issue was fixed in the openstack/tacker 5.0.0.0rc1 release candidate.

Revision history for this message
Yasufumi Ogawa (yasufum) wrote :
Changed in tacker:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.