Potentially incorrect resolving get_attr function for Resource Group
Bug #1561157 reported by
Sergey Kraynev
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Heat |
Fix Released
|
Medium
|
Peter Razumovsky |
Bug Description
The one of common case is creation stack with ResourceGroup resource, where each element is specified as via custom template.
Currently we have strange behavior when try to get some attributes from this resource (when attribute as defined as output of nested stack).
There is example of templates:
main template: http://
b.yaml - http://
c.yaml - http://
There is example of output for stack created with using mentioned templates:
http://
It's expected behavior and we just need to update our documentation to
clarify these questions/examples.
description: | updated |
Changed in heat: | |
assignee: | nobody → Peter Razumovsky (prazumovsky) |
Changed in heat: | |
status: | In Progress → Fix Released |
To post a comment you must log in.
Don't see there any problem. In rg_4 you get rg_a_public_ip attrbiute for the first resource if group, type(rg_ a_public_ ip) == str. In rg_2 you get first element of rg_a_public_ip attrbiute of each resource, so you get list of first characters of each attribute rg_a_public_ip in case of string-type rg_a_public_ip.
Look, I change in main template count of resources if rg_a to 2 and get after that next response: http:// paste.openstack .org/show/ 492214/
IMO, there's no bug.