Comment 4 for bug 1930858

Revision history for this message
Sunday Mgbogu (digitalsimboja) wrote : Re: [Bug 1930858] Re: OVN central service does not start properly

Actually, what you proposed is what I did to get going anytime am stuck
right there.
Now I don't have the log but because I followed your above fix.
Thanks

On Tue, Jun 8, 2021, 3:30 PM Rodolfo Alonso <email address hidden>
wrote:

> Hi Sunday:
>
> Try to:
> 1) Unstack
> 2) Delete /var/run/ovn directory
> 3) Stack again
>
>
> Do you have the logs of ovn-central.service? Seems that this service is
> not running correctly and could be useful to see what happened.
>
> Regards.
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1930858
>
> Title:
> OVN central service does not start properly
>
> Status in neutron:
> New
>
> 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
>