← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1902888] [NEW] [OVN] neutron db sync does not sync external_ids for routes

 

Public bug reported:

During syncing neutron db with ovn the external_ids in the routes are
not properly synced as in the usual creation process. Missing entries
are external_ids with "neutron:is_ext_gw" and "neutron:subnet_id".


Northbound Logical_Router_Static_Route entries before the sync:

_uuid               : 0b7e38b0-85cf-4a47-894c-7f5add6f564c
external_ids        : {"neutron:is_ext_gw"="true", "neutron:subnet_id"="96847434-e96a-4e2b-878f-790fd34b1624"}
ip_prefix           : "0.0.0.0/0"
nexthop             : "<provider_gw_ip>"
options             : {}
output_port         : []
policy              : []


Northbound Logical_Router_Static_Route entries after the syncing the db from scratch:

_uuid               : 9a55d25e-d334-4f9c-bc78-067aee0c90c0
external_ids        : {}
ip_prefix           : "0.0.0.0/0"
nexthop             : "<provider_gw_ip>"
options             : {}
output_port         : []
policy              : []

This will break update/delete routes procedures on the routers.

** Affects: neutron
     Importance: Undecided
         Status: New


** Tags: ovn

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

Title:
  [OVN] neutron db sync does not sync external_ids for routes

Status in neutron:
  New

Bug description:
  During syncing neutron db with ovn the external_ids in the routes are
  not properly synced as in the usual creation process. Missing entries
  are external_ids with "neutron:is_ext_gw" and "neutron:subnet_id".

  
  Northbound Logical_Router_Static_Route entries before the sync:

  _uuid               : 0b7e38b0-85cf-4a47-894c-7f5add6f564c
  external_ids        : {"neutron:is_ext_gw"="true", "neutron:subnet_id"="96847434-e96a-4e2b-878f-790fd34b1624"}
  ip_prefix           : "0.0.0.0/0"
  nexthop             : "<provider_gw_ip>"
  options             : {}
  output_port         : []
  policy              : []

  
  Northbound Logical_Router_Static_Route entries after the syncing the db from scratch:

  _uuid               : 9a55d25e-d334-4f9c-bc78-067aee0c90c0
  external_ids        : {}
  ip_prefix           : "0.0.0.0/0"
  nexthop             : "<provider_gw_ip>"
  options             : {}
  output_port         : []
  policy              : []

  This will break update/delete routes procedures on the routers.

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


Follow ups