ASG/RG Rolling update fails when nested template location changes
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Heat |
Fix Released
|
Medium
|
Rabi Mishra |
Bug Description
ASG/RG rolling update fails when a new child template location is used and the templates in the old location does not exist.
For example when using relative paths in heat templates, if the folder is moved to a new one and stack updated, stack update fails.
$cat rsg_server.yaml
heat_template_
resources:
asg_servers:
update_policy:
rolling_
type: OS::Heat:
properties:
count: 2
resource_def:
type: server.yaml
$cat server.yaml
heat_template_
resources:
server:
type: OS::Nova::Server
properties:
image: cirros-
flavor: m1.tiny
networks:
network: private
1) $ cd templates
2) $ openstack stack create -t rsg_server.yaml
3) Wait until stack is CREATE_COMPLTE
4) $ mv templates templates_moved
5. $ cd templates_moved
5) $ openstack stack update -t rsg_server.yaml
6) Update fails
Changed in heat: | |
assignee: | nobody → Rabi Mishra (rabi) |
importance: | Undecided → Medium |
Changed in heat: | |
milestone: | none → no-priority-tag-bugs |
Fix proposed to branch: master /review. openstack. org/562727
Review: https:/