Wrong behavior during update port resource
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Heat |
Fix Released
|
Medium
|
Sergey Kraynev |
Bug Description
Current update for port resource does not work correct. The simplest example is:
- Create stack with one port resource:
heat_template_
resources:
port1:
type: OS::Neutron::Port
properties:
name: some_name
network: 28c0150c-
- Then remove name property from port definition and update stack.
- You will see , that port will lose his ip address.
It may be dangerous when in case when you use this port as instance interface (you will lose ability to connect to your instance).
The cause of this problem is follow:
When we do create we send all properties include "fixed_ips" that has default value equal [].
It should be fixed same way such as for handle_create.
Changed in heat: | |
assignee: | nobody → Sergey Kraynev (skraynev) |
importance: | Undecided → Medium |
milestone: | none → juno-2 |
Changed in heat: | |
status: | Fix Committed → Fix Released |
Changed in heat: | |
milestone: | juno-2 → 2014.2 |
Fix proposed to branch: master /review. openstack. org/107652
Review: https:/