Fail to update OS::Neutron::Subnet resource
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Heat |
Fix Released
|
High
|
Steve Baker |
Bug Description
Environment:
- Neutron Grizzly
- Heat Havana RC2
Given the following resource:
"demo_first_
"Type": "OS::Quantum:
"Properties": {
"Ref": "demo_first_
},
"cidr": "10.0.0.0/24",
],
"name": "demo_first_subnet"
}
}
I run a stack update with this modified template to add a DNS server:
"demo_first_
"Type": "OS::Quantum:
"Properties": {
"Ref": "demo_first_
},
"cidr": "10.0.0.0/24",
],
"name": "demo_first_subnet"
}
}
The stack update will fail with "NeutronClientE
There are 2 issues in fact:
- OS::Neutron::Subnet resource doesn't support updates for dns_nameservers while it should ('neutron subnet-update 8e578c1d-
- Since OS::Neutron::Subnet resource is not updatable, Heat tries to create the new subnet before deleting the old one but this fails because 2 subnets for the same tenant cannot overlap.
I haven't inspected the code in depth but there are probably other Neutron resources with similar issues.
Changed in heat: | |
status: | Fix Committed → Fix Released |
Changed in heat: | |
milestone: | icehouse-1 → 2014.1 |
Unfortunately update without replacement has not yet been implemented for any of the neutron resources. I think this would be achievable by icehouse-1