← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1930858] Re: OVN central service does not start properly

 

I believe the initial issue was fixed with commit
71c99655479174750bcedfe458328328a1596766
(https://review.opendev.org/c/openstack/devstack/+/861915) in the
devstack tree which fixed issues with not finding the db sock on
startup.

The issue described in comment #6 seems different, a new bug should be
opened for that if it's still happening.

** Changed in: neutron
       Status: New => Fix Released

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

Title:
  OVN central service does not start properly

Status in neutron:
  Fix Released

Bug description:
  This is a Devstack deployment. While re-stacking, Unfortunately OVN
  central service is failing to start properly.

  
  b/neutron_plugins/ovn_agent:start_ovn:713 :   local SCRIPTDIR=/share/ovn/scripts
  + lib/neutron_plugins/ovn_agent:start_ovn:714 :   use_new_ovn_repository
  + lib/neutron_plugins/ovn_agent:use_new_ovn_repository:180 :   [[ False == \F\a\l\s\e ]]
  + lib/neutron_plugins/ovn_agent:use_new_ovn_repository:181 :   return 0
  + lib/neutron_plugins/ovn_agent:start_ovn:718 :   is_service_enabled ovn-northd
  + functions-common:is_service_enabled:1960 :   return 0
  + lib/neutron_plugins/ovn_agent:start_ovn:719 :   [[ False == \T\r\u\e ]]
  + lib/neutron_plugins/ovn_agent:start_ovn:725 :   _start_process ovn-central.service
  + lib/neutron_plugins/ovn_agent:_start_process:220 :   sudo systemctl daemon-reload
  + lib/neutron_plugins/ovn_agent:_start_process:221 :   sudo systemctl enable ovn-central.service
  Created symlink /etc/systemd/system/multi-user.target.wants/ovn-central.service → /lib/systemd/system/ovn-central.service.
  + lib/neutron_plugins/ovn_agent:_start_process:222 :   sudo systemctl restart ovn-central.service
  + lib/neutron_plugins/ovn_agent:start_ovn:729 :   wait_for_sock_file /var/run/openvswitch/ovnnb_db.sock
  + lib/neutron_plugins/ovn_agent:wait_for_sock_file:169 :   local count=0
  + lib/neutron_plugins/ovn_agent:wait_for_sock_file:170 :   '[' '!' -S /var/run/openvswitch/ovnnb_db.sock ']'
  + lib/neutron_plugins/ovn_agent:wait_for_sock_file:171 :   sleep 1
  + lib/neutron_plugins/ovn_agent:wait_for_sock_file:172 :   count=1
  + lib/neutron_plugins/ovn_agent:wait_for_sock_file:173 :   '[' 1 -gt 5 ']'
  + lib/neutron_plugins/ovn_agent:wait_for_sock_file:170 :   '[' '!' -S /var/run/openvswitch/ovnnb_db.sock ']'
  + lib/neutron_plugins/ovn_agent:wait_for_sock_file:171 :   sleep 1
  + lib/neutron_plugins/ovn_agent:wait_for_sock_file:172 :   count=2
  + lib/neutron_plugins/ovn_agent:wait_for_sock_file:173 :   '[' 2 -gt 5 ']'
  + lib/neutron_plugins/ovn_agent:wait_for_sock_file:170 :   '[' '!' -S /var/run/openvswitch/ovnnb_db.sock ']'
  + lib/neutron_plugins/ovn_agent:wait_for_sock_file:171 :   sleep 1
  + lib/neutron_plugins/ovn_agent:wait_for_sock_file:172 :   count=3
  + lib/neutron_plugins/ovn_agent:wait_for_sock_file:173 :   '[' 3 -gt 5 ']'
  + lib/neutron_plugins/ovn_agent:wait_for_sock_file:170 :   '[' '!' -S /var/run/openvswitch/ovnnb_db.sock ']'
  + lib/neutron_plugins/ovn_agent:wait_for_sock_file:171 :   sleep 1
  + lib/neutron_plugins/ovn_agent:wait_for_sock_file:172 :   count=4
  + lib/neutron_plugins/ovn_agent:wait_for_sock_file:173 :   '[' 4 -gt 5 ']'
  + lib/neutron_plugins/ovn_agent:wait_for_sock_file:170 :   '[' '!' -S /var/run/openvswitch/ovnnb_db.sock ']'
  + lib/neutron_plugins/ovn_agent:wait_for_sock_file:171 :   sleep 1
  + lib/neutron_plugins/ovn_agent:wait_for_sock_file:172 :   count=5
  + lib/neutron_plugins/ovn_agent:wait_for_sock_file:173 :   '[' 5 -gt 5 ']'
  + lib/neutron_plugins/ovn_agent:wait_for_sock_file:170 :   '[' '!' -S /var/run/openvswitch/ovnnb_db.sock ']'
  + lib/neutron_plugins/ovn_agent:wait_for_sock_file:171 :   sleep 1
  + lib/neutron_plugins/ovn_agent:wait_for_sock_file:172 :   count=6
  + lib/neutron_plugins/ovn_agent:wait_for_sock_file:173 :   '[' 6 -gt 5 ']'
  + lib/neutron_plugins/ovn_agent:wait_for_sock_file:174 :   die 174 'Socket /var/run/openvswitch/ovnnb_db.sock not found'
  + functions-common:die:198                 :   local exitcode=0
  [Call Trace]
  ./stack.sh:1264:start_ovn_services
  /opt/stack/devstack/lib/neutron-legacy:477:start_ovn
  /opt/stack/devstack/lib/neutron_plugins/ovn_agent:729:wait_for_sock_file
  /opt/stack/devstack/lib/neutron_plugins/ovn_agent:174:die
  [ERROR] /opt/stack/devstack/lib/neutron_plugins/ovn_agent:174 Socket /var/run/openvswitch/ovnnb_db.sock not found
  Error on exit
  ebtables v1.8.4 (nf_tables): table `broute' is incompatible, use 'nft' tool.

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



References