← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1946589] Re: [OVN] localport might not be updated when create multiple subnets for its network

 

Closing this bug. Please feel free to reopen it if needed, providing new
information.

** Changed in: neutron
       Status: Incomplete => Won't Fix

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1946589

Title:
  [OVN] localport might not be updated when create multiple subnets for
  its network

Status in neutron:
  Won't Fix

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-445b-4b19-a32f-6db8136871de -c device_owner -c fixed_ips
  +--------------+------------------------------------------------------------------------------------+
  | Field        | Value                                                                              |
  +--------------+------------------------------------------------------------------------------------+
  | device_owner | network:distributed                                                                |
  | fixed_ips    | {"subnet_id": "373254b2-6791-4fe2-8038-30e91a9e9c8d", "ip_address": "192.168.0.2"} |
  |              | {"subnet_id": "d0d871af-158e-4f45-8af2-92f2058521a3", "ip_address": "192.168.1.2"} |
  |              | {"subnet_id": "eeac857f-ab0e-438f-9fa6-2ae0cd3de41a", "ip_address": "192.168.2.2"} |
  +--------------+------------------------------------------------------------------------------------+

  localport port info:
  _uuid               : 2e17ffa7-f501-49e5-97ce-9a8731e60699
  chassis             : []
  datapath            : cfebe6fc-52fc-43ec-a25b-73d30abe4d00
  encap               : []
  external_ids        : {"neutron:cidrs"="192.168.2.2/24", "neutron:device_id"=ovnmeta-d39ddf74-9542-4ebf-9d9b-a44d3c11d1fc, "neutron:device_owner"="network:distributed", "neutron:network_name"=neutron-d39ddf74-9542-4ebf-9d9b-a44d3c11d1fc, "neutron:port_name"="", "neutron:project_id"=fc5ea82972ce42499ddc18bc4733eaab, "neutron:revision_number"="4", "neutron:security_group_ids"=""}
  gateway_chassis     : []
  ha_chassis_group    : []
  logical_port        : "15f0d39b-445b-4b19-a32f-6db8136871de"
  mac                 : ["fa:16:3e:e2:60:18 192.168.2.2"]
  nat_addresses       : []
  options             : {requested-chassis=""}
  parent_port         : []
  tag                 : []
  tunnel_key          : 1
  type                : localport
  up                  : false
  virtual_parent      : []

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1946589/+subscriptions



References