Stack adopt requires providing nested templates in an inconsistent map

Bug #1700749 reported by Gábor Márton
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Heat
In Progress
Medium
Unassigned

Bug Description

Scenario:
1. Create 3-level stack from the command line (test-stack-adopt.sh in attached test-stack-adopt.zip does this and all subsequent steps).
2. Abandon stack.
3. Adopt stack in Python, also providing the "files" map for the nested templates.
4. Note the difference between providing the 2nd-level and 3rd-level templates in the map:
   * 2nd-level: with the full "file://" path seen by the command-line client at stack creation time;
   * 3rd-level: with the template name only, i.e. the way it is referenced inside the template.

Presumably (though not tested), if the stack is created in Python (instead of using the command line client), compiling the "files" map in-place, then the same map can be used for adopting the stack without the above problem.

Revision history for this message
Gábor Márton (gabor.marton) wrote :
Revision history for this message
Rico Lin (rico-lin) wrote :

Is this fix in python-heatclient is what you wanted?: https://review.openstack.org/#/c/506743/

Changed in heat:
importance: Undecided → Medium
status: New → Confirmed
milestone: none → queens-1
Rico Lin (rico-lin)
Changed in heat:
milestone: queens-1 → queens-2
status: Confirmed → In Progress
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.