[OVN] localport might not be updated when create multiple subnets for its network
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Won't Fix
|
Medium
|
Rodolfo Alonso |
Bug Description
When create a subnet for a specific network, ovn_client would update external_ids of metadata port.
We focus on these fileds of localport port: 'neutron:cidrs' and 'mac', because those fields contain fixed_ips.
But any scenarios like batch create multiple subnets for one network, its 'neutron:cidrs' and 'mac' might not updated.
metadata port info:
neutron port-show 15f0d39b-
+------
| Field | Value |
+------
| device_owner | network:distributed |
| fixed_ips | {"subnet_id": "373254b2-
| | {"subnet_id": "d0d871af-
| | {"subnet_id": "eeac857f-
+------
localport port info:
_uuid : 2e17ffa7-
chassis : []
datapath : cfebe6fc-
encap : []
external_ids : {"neutron:
gateway_chassis : []
ha_chassis_group : []
logical_port : "15f0d39b-
mac : ["fa:16:3e:e2:60:18 192.168.2.2"]
nat_addresses : []
options : {requested-
parent_port : []
tag : []
tunnel_key : 1
type : localport
up : false
virtual_parent : []
summary: |
- [OVN] localport might not be updated its external_ids when create - multiple subnets for its network + [OVN] localport might not be updated when create multiple subnets for + its network |
Changed in neutron: | |
importance: | Undecided → Medium |
Changed in neutron: | |
assignee: | nobody → Rodolfo Alonso (rodolfo-alonso-hernandez) |
Hello Liu:
Please check if you have [1] in your system. With this patch in place, I've tested creating a network and adding 3 subnets. The metadata port is correctly updated, as you can see in [2], both the LSP and the port binding records update the "mac" field.
Regards.
[1]https:/ /review. opendev. org/q/Id5d4909c aa521a899b97d83 bdc1963b010e97d ac /paste. opendev. org/show/ 810237/
[2]https:/