Server UpdateReplace with existing port resource fails first time
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Heat |
Fix Released
|
Medium
|
Sergey Kraynev |
Bug Description
A Server resource with reference to Port resource always fails during UpdateReplace. Subsequent update completes successfully.
server_port.yaml:
heat_template_
parameters:
image:
type: string
default: cirros-
flavor:
type: string
default: m1.nano
key_name:
type: string
default: heat_key
private_net:
type: string
default: private
private_subnet:
type: string
default: private-subnet
resources:
port1:
type: OS::Neutron::Port
properties:
network: {get_param: private_net}
fixed_ips:
- subnet: {get_param: private_subnet}
server1:
type: OS::Nova::Server
properties:
image: {get_param: image}
flavor: {get_param: flavor}
flavor_
key_name: {get_param: key_name}
networks:
- port: {get_resource: port1}
#heat stack-create test_stack -f server_port.yaml
#heat stack-update test_stack -P server_port.yaml -P flavor=m1.tiny
| resource_status | CREATE_FAILED |
| resource_
If you update again it goes through.
Changed in heat: | |
assignee: | nobody → Rabi Mishra (rabi) |
summary: |
- Server UpdateReplace with existing port resource always fails + Server UpdateReplace with existing port resource fails first time |
Changed in heat: | |
importance: | Undecided → Medium |
status: | New → Triaged |
milestone: | none → liberty-1 |
tags: | added: fixed-by-convergence |
Changed in heat: | |
milestone: | liberty-1 → liberty-2 |
Changed in heat: | |
milestone: | liberty-2 → liberty-3 |
Changed in heat: | |
milestone: | liberty-3 → liberty-rc1 |
Changed in heat: | |
assignee: | Rabi Mishra (rabi) → nobody |
Changed in heat: | |
status: | In Progress → Fix Committed |
Changed in heat: | |
status: | Fix Committed → Fix Released |
Changed in heat: | |
milestone: | liberty-rc1 → 5.0.0 |
Probably we may handle this case in this series https:/ /review. openstack. org/#/c/ 220502/