Can not update port without creation new one
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mirantis OpenStack |
Fix Released
|
Critical
|
Sergey Kraynev | ||
7.0.x |
Fix Released
|
High
|
Sergii Rizvan | ||
8.0.x |
Invalid
|
High
|
Sergii Rizvan |
Bug Description
How it affects MOS:
Current bug blocks update of the port with required MAC address.
This functionality is necessary for configuration Calico networking in Kubernetes Murano Application.
Without fix, port will be re-created with different MAC address and IP, what makes cluster dead.
Original description:
Neutron client allows to update property: allowed_
http://
Right now it cause if I want to update this resource it's not possible to use mac address of the same port, because setting new property cause update replace.
This update supported from liberty, so we also need backport fix to mitaka and liberty.
Scenario:
- create stack with follow template:
heat_template_
parameters:
network:
type: string
default: private
resources:
port:
type: OS::Neutron::Port
properties:
network: { get_param: network }
vm:
type: OS::Nova::Server
properties:
image: cirros-
flavor: m1.micro
networks:
- port: { get_resource: port }
- get port mac address via outputs or port-show command
- update template by adding follow properties:
.........
port:
type: OS::Neutron::Port
properties:
network: { get_param: network }
allowed_
- mac_address: port_mac_address
.......
Expected result:
allowed_
Current result:
new port with different mac address during Update replace be created and allowed_
tags: | added: area-heat |
tags: | added: on-verifiaction |
Changed in mos: | |
status: | Fix Committed → Fix Released |
Upstream bug: https:/ /bugs.launchpad .net/heat/ +bug/1623821