Update stack return empty values value for Template Resource after Check Stack
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Heat |
New
|
Undecided
|
Unassigned |
Bug Description
We are seeing some bad behavior of Heat Stack Check->Update .
If user do Check Stack he will lost all Outputs params for Resource Type (Template Resource)
For example (Hot Templates attached) , we have Resource B that get some param from Resource A and I m doing Check Stack and then Update Stack – Resource B need to get the param from Resource A and now this param is null/empty,
So stack update will use empty value and will fail !
I able to create very simple Heat Template that reproduce this problem.
Resource B getting the IP from resource A and create a VM with this name.
To reproduce:
Scenario 1:
- Create the stack (you can see that B vm name created with the output IP from A)
- Execute 'Check Stack'(at this point you will see that output value for A is - empty: Horizon-> Resourse A -> Overview -> Outputs)
- Update stack with the original template.
- Update Failed
Scenario 2:
- Create the stack
- Remove VM B (that has name IP from A)
- Execute 'Check Stack' (at this point you will see that output from A is empty)
- Update stack with the original template.
- You will see that B will not get the IP/Name from A like it was when we deploy the stack.
My expectation is that B will created with the same values (name in this case) like he had in 'create'.
NOTE that If I ll do only check and then update we are getting update failed since now name is null:
"resources.
and this is the exception:
log_http_response /usr/lib/
2016-01-14 20:06:16.255 17722 INFO heat.engine.
2016-01-14 20:06:16.255 17722 TRACE heat.engine.
2016-01-14 20:06:16.255 17722 TRACE heat.engine.
2016-01-14 20:06:16.255 17722 TRACE heat.engine.
2016-01-14 20:06:16.255 17722 TRACE heat.engine.
2016-01-14 20:06:16.255 17722 TRACE heat.engine.
2016-01-14 20:06:16.255 17722 TRACE heat.engine.
2016-01-14 20:06:16.255 17722 TRACE heat.engine.
2016-01-14 20:06:16.255 17722 TRACE heat.engine.
2016-01-14 20:06:16.255 17722 TRACE heat.engine.
2016-01-14 20:06:16.255 17722 TRACE heat.engine.
2016-01-14 20:06:16.255 17722 TRACE heat.engine.
2016-01-14 20:06:16.255 17722 TRACE heat.engine.
2016-01-14 20:06:16.255 17722 TRACE heat.engine.
2016-01-14 20:06:16.255 17722 TRACE heat.engine.
2016-01-14 20:06:16.255 17722 TRACE heat.engine.
2016-01-14 20:06:16.255 17722 TRACE heat.engine.
2016-01-14 20:06:16.255 17722 TRACE heat.engine.
2016-01-14 20:06:16.255 17722 TRACE heat.engine.
2016-01-14 20:06:16.255 17722 TRACE heat.engine.
2016-01-14 20:06:16.255 17722 TRACE heat.engine.
2016-01-14 20:06:16.255 17722 TRACE heat.engine.
2016-01-14 20:06:16.255 17722 TRACE heat.engine.
2016-01-14 20:06:16.255 17722 TRACE heat.engine.
2016-01-14 20:06:16.255 17722 TRACE heat.engine.
2016-01-14 20:06:16.255 17722 TRACE heat.engine.
2016-01-14 20:06:16.255 17722 TRACE heat.engine.
2016-01-14 20:06:16.255 17722 TRACE heat.engine.
2016-01-14 20:06:16.255 17722 TRACE heat.engine.
2016-01-14 20:06:16.255 17722 TRACE heat.engine.
2016-01-14 20:06:16.261 17722 DEBUG heat.engine.
2016-01-14 20:06:16.262 17722 DEBUG heat.engine.
description: | updated |
description: | updated |
summary: |
- Check stack remove output params value for Template Resource + Update stack return empty values value for Template Resource after Check + Stack |
description: | updated |
description: | updated |
description: | updated |
To confirm, the problem is on Kilo, correct?