get_file doesn't notice changes during update
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Heat |
Fix Released
|
High
|
Zane Bitter | ||
Juno |
Fix Released
|
Undecided
|
Unassigned | ||
Kilo |
Fix Released
|
High
|
Angus Salkeld |
Bug Description
This is the same issue as bug 1291411, except for get_file instead of get_param.
Before an update starts, we replace the existing stack's environment with the new one we are updating to. If intrinsic functions maintain a reference only to the stack, then when calculating the values of existing resources they will erroneously use the new environment.
This means a couple of things:
1. If a file that was referenced in the previous version of the stack is removed from the environment, it will cause an error on that update. Future updates may succeed.
2. Heat will never notice a change in the output of get_file, so resources that should be updated may not get updated (though this doesn't affect nested stacks, which are always updated as of Kilo).
Changed in heat: | |
status: | Triaged → In Progress |
tags: | added: juno-backport-potential |
description: | updated |
Changed in heat: | |
milestone: | none → liberty-1 |
tags: | removed: kilo-rc-potential |
Changed in heat: | |
status: | Fix Committed → Fix Released |
Changed in heat: | |
milestone: | liberty-1 → 5.0.0 |
tags: | removed: juno-backport-potential |
Fix proposed to branch: master /review. openstack. org/174611
Review: https:/