[ovn] Tag on localnet port is not changed when proivder segment is updated

Bug #1939403 reported by Jakub Libosvar
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
In Progress
Medium
Jakub Libosvar

Bug Description

The tag of provnet port is not updated when segmentation id of network is changed.

$ openstack network create --provider-network-type vlan --provider-physical-network vlan --provider-segment 10 vlan-10
+---------------------------+--------------------------------------+
| Field | Value |
+---------------------------+--------------------------------------+
| admin_state_up | UP |
| availability_zone_hints | |
| availability_zones | |
| created_at | 2021-08-10T12:44:07Z |
| description | |
| dns_domain | None |
| id | 59083511-3b37-4708-973e-1645d9007a65 |
| ipv4_address_scope | None |
| ipv6_address_scope | None |
| is_default | False |
| is_vlan_transparent | None |
| mtu | 1500 |
| name | vlan-10 |
| port_security_enabled | True |
| project_id | 95cf58d213104704b76d634101e5efc6 |
| provider:network_type | vlan |
| provider:physical_network | vlan |
| provider:segmentation_id | 10 |
| qos_policy_id | None |
| revision_number | 1 |
| router:external | Internal |
| segments | None |
| shared | False |
| status | ACTIVE |
| subnets | |
| tags | |
| updated_at | 2021-08-10T12:44:07Z |
+---------------------------+--------------------------------------+
vagrant@devstack:/opt/stack/neutron((HEAD detached at origin/master))
$ sudo ovn-nbctl find logical_switch_port type=localnet
_uuid : 3f2def0c-fe76-4a16-affd-f96718df8fa0
addresses : [unknown]
dhcpv4_options : []
dhcpv6_options : []
dynamic_addresses : []
enabled : []
external_ids : {}
ha_chassis_group : []
name : provnet-ec7bbcdd-2b08-4923-b1ac-5b06497afbf5
options : {mcast_flood="false", mcast_flood_reports="true", network_name=vlan}
parent_name : []
port_security : []
tag : 10
tag_request : []
type : localnet
up : false
vagrant@devstack:/opt/stack/neutron((HEAD detached at origin/master))
$ openstack network set --provider-segment 9 vlan-10
vagrant@devstack:/opt/stack/neutron((HEAD detached at origin/master))
$ sudo ovn-nbctl get logical_switch_p provnet-ec7bbcdd-2b08-4923-b1ac-5b06497afbf5 tag
10

Tags: ovn
Miguel Lavalle (minsel)
Changed in neutron:
status: New → Confirmed
importance: Undecided → Medium
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to neutron (master)

Fix proposed to branch: master
Review: https://review.opendev.org/c/openstack/neutron/+/804120

Changed in neutron:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on neutron (master)

Change abandoned by "Rodolfo Alonso <email address hidden>" on branch: master
Review: https://review.opendev.org/c/openstack/neutron/+/804120
Reason: Please, feel free to restore the patch, address the comments and rebase the patch.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.