Update AutoScale stack with nested template fails when you add or remove OS::Neutron::Pool resource
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Heat |
Fix Released
|
Medium
|
Rabi Mishra | ||
Kilo |
Fix Released
|
Medium
|
Rabi Mishra |
Bug Description
Whenever I try to do an update to add a OS::Neutron:
Resource failed - Unknown status FAILED due to "StackValidatio
But then if I do the update again immediately after with the exact same template (and nested template) the update will succeed. The same thing happens when I try to remove the pool member resource also.
The templates I use are named the same same thing whenever I do the update
(i.e heat stack-create -f autoscale.yaml my_asg
then I modify the autoscale.yaml file and the nested template file and run heat stack-update -f autoscale.yaml my_asg)
Here is my autoscale template without load balancing
{
"description": "A document-based template to configure your Software Defined Environment.\n",
"heat_
"outputs": {
},
"parameters": {
"type": "string",
},
"type": "number"
},
"type": "number"
},
"type": "number"
},
"type": "number"
},
"type": "number",
},
"image_id": {
"type": "string",
},
"type": "string",
},
"type": "number",
},
"type": "number",
},
"type": "string",
}
},
"resources": {
],
},
},
}
},
"type": "OS::Ceilometer
},
],
},
},
}
},
"type": "OS::Ceilometer
},
"my_asg": {
},
},
},
}
},
"type": "OS::Heat:
},
},
},
},
"type": "OS::Heat:
},
},
},
},
"type": "OS::Heat:
}
}
}
and the nested template
{
"description": "A document-based template to configure your Software Defined Environment.",
"heat_
"parameters": {
"type": "string"
},
"flavor": {
"type": "string"
},
"image": {
"type": "string"
},
"metadata": {
"type": "json"
},
"key_name": {
"type": "string"
}
},
"resources": {
"server": {
},
},
},
},
}
},
"type": "OS::Nova::Server"
}
}
}
Here is my autoscale template WITH the load balancer:
{
"description": "A document-based template to configure your Software Defined Environment.\n",
"heat_
"outputs": {
},
"parameters": {
"type": "string",
},
"type": "number"
},
"type": "number"
},
"type": "number"
},
"type": "number"
},
"type": "number",
},
"image_id": {
"type": "string",
},
"type": "number",
},
"type": "string",
},
"type": "string",
},
"type": "string",
},
"type": "number",
},
"type": "number",
},
"type": "string",
}
},
"resources": {
],
},
},
}
},
"type": "OS::Ceilometer
},
],
},
},
}
},
"type": "OS::Ceilometer
},
"my_asg": {
},
},
},
}
},
"type": "OS::Heat:
},
},
},
},
"type": "OS::Heat:
},
},
},
},
"type": "OS::Heat:
}
}
}
The lb-member nested template with LB pool member
{
"description": "A document-based template to configure your Software Defined Environment.",
"heat_
"parameters": {
"type": "string"
},
"flavor": {
"type": "string"
},
"image": {
"type": "string"
},
"type": "number"
},
"metadata": {
"type": "json"
},
"pool_id": {
"type": "string"
},
"key_name": {
"type": "string"
}
},
"resources": {
},
},
}
},
"type": "OS::Neutron:
},
"server": {
},
},
},
},
}
},
"type": "OS::Nova::Server"
}
}
}
tags: | added: autoscaling |
Changed in heat: | |
status: | New → Triaged |
importance: | Undecided → Medium |
Changed in heat: | |
assignee: | nobody → Rabi Mishra (rabi) |
tags: | added: kilo-backport-potential |
Changed in heat: | |
milestone: | none → liberty-1 |
status: | Fix Committed → Fix Released |
tags: |
added: in-stable-kilo removed: kilo-backport-potential |
Changed in heat: | |
milestone: | liberty-1 → 5.0.0 |
Fix proposed to branch: master /review. openstack. org/182763
Review: https:/