OVN Sync script will always detect unsync state in router ports

Bug #1790868 reported by Daniel Alvarez
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
networking-ovn
New
Undecided
Miguel Angel Ajo

Bug Description

When running sync script in repair mode I always get these messages and the LRP gets updated:

$ neutron-ovn-db-sync-util --config-file /etc/neutron/neutron.conf --config-file /etc/neutron/plugins/ml2/ml2_conf.ini --ovn-neutron_sync_mode repair

DEBUG networking_ovn.ovn_db_sync [None req-350988fd-1649-4b94-b06c-5b2b2d69d562 None None] OVN-NB Sync Routers and Router ports started @ 2018-09-05 12:41:26.610152 {{(pid=117$
2) sync_routers_and_rports /opt/stack/networking-ovn/networking_ovn/ovn_db_sync.py:472}}
WARNING networking_ovn.ovn_db_sync [None req-350988fd-1649-4b94-b06c-5b2b2d69d562 None None] Router Port port_id=70dcff4e-8d8f-495d-a89f-e56a5436b9f3 needs to be updated for n$
tworks changed
WARNING networking_ovn.ovn_db_sync [None req-350988fd-1649-4b94-b06c-5b2b2d69d562 None None] Updating networks on router port 70dcff4e-8d8f-495d-a89f-e56a5436b9f3 in OVN NB DB
DEBUG ovsdbapp.backend.ovs_idl.transaction [-] Running txn n=1 command(idx=0): UpdateLRouterPortCommand(if_exists=False, columns={'external_ids': {'neutron:subnet_ids': u'5fc5$
08e-4dec-45e3-bca6-74db53a2e85e', 'neutron:revision_number': '3', 'neutron:router_name': u'd40a90a2-d0fb-42f3-9db5-45deb1115e68'}, 'networks': [u'10.0.0.1/26'], 'ipv6_ra_confi$
s': {}}, name=lrp-70dcff4e-8d8f-495d-a89f-e56a5436b9f3) {{(pid=11752) do_commit /usr/lib/python2.7/site-packages/ovsdbapp/backend/ovs_idl/transaction.py:84}}
DEBUG ovsdbapp.backend.ovs_idl.transaction [-] Running txn n=1 command(idx=1): SetLRouterPortInLSwitchPortCommand(if_exists=True, lswitch_port=70dcff4e-8d8f-495d-a89f-e56a5436$
9f3, lrouter_port=lrp-70dcff4e-8d8f-495d-a89f-e56a5436b9f3, is_gw_port=False, lsp_address=router) {{(pid=11752) do_commit /usr/lib/python2.7/site-packages/ovsdbapp/backend/ovs_
idl/transaction.py:84}}
DEBUG ovsdbapp.backend.ovs_idl.transaction [-] Transaction caused no change {{(pid=11752) do_commit /usr/lib/python2.7/site-packages/ovsdbapp/backend/ovs_idl/transaction.py:121
}}

Changed in networking-ovn:
assignee: nobody → Miguel Angel Ajo (mangelajo)
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.