Comment 2 for bug 1856746

Revision history for this message
James Page (james-page) wrote :

Setting up ovn-central (2.12.0-0ubuntu1) ...
Job for ovn-central.service failed because a timeout was exceeded.
See "systemctl status ovn-central.service" and "journalctl -xe" for details.
invoke-rc.d: initscript ovn-central, action "restart" failed.
● ovn-central.service - LSB: OVN central components
   Loaded: loaded (]8;;file://frigg1/etc/init.d/ovn-central/etc/init.d/ovn-central]8;;; generated)
   Active: failed (Result: timeout) since Tue 2019-12-17 19:45:32 CET; 13ms ago
     Docs: ]8;;man:systemd-sysv-generator(8)man:systemd-sysv-generator(8)]8;;
  Process: 21657 ExecStart=/etc/init.d/ovn-central start (code=killed, signal=TERM)
    Tasks: 8 (limit: 4915)
   Memory: 10.1M
   CGroup: /system.slice/ovn-central.service
           ├─ 2997 ovsdb-server: monitoring pid 2998 (healthy)
           ├─ 2998 ovsdb-server -vconsole:off -vfile:info --log-file=/var/log/openvswitch/ovsdb-server-nb.log --remote=punix:/var/run/openvswitch/ovnnb_db.sock --pidfile=/var/run/openvswitch/ovnnb_db.pid --unixctl=ovnnb_db.ctl --detach --monitor --remote=db:OVN_Northbound,NB_Global,connections --private-key=db:OVN_Northbound,SSL,private_key --certificate=db:OVN_Northbound,SSL,certificate --ca-cert=db:OVN_Northbound,SSL,ca_cert --ssl-protocols=db:OVN_Northbound,SSL,ssl_protocols --ssl-ciphers=db:OVN_Northbound,SSL,ssl_ciphers /etc/openvswitch/ovnnb_db.db
           ├─ 3007 ovsdb-server: monitoring pid 3008 (healthy)
           ├─ 3008 ovsdb-server -vconsole:off -vfile:info --log-file=/var/log/openvswitch/ovsdb-server-sb.log --remote=punix:/var/run/openvswitch/ovnsb_db.sock --pidfile=/var/run/openvswitch/ovnsb_db.pid --unixctl=ovnsb_db.ctl --detach --monitor --remote=db:OVN_Southbound,SB_Global,connections --private-key=db:OVN_Southbound,SSL,private_key --certificate=db:OVN_Southbound,SSL,certificate --ca-cert=db:OVN_Southbound,SSL,ca_cert --ssl-protocols=db:OVN_Southbound,SSL,ssl_protocols --ssl-ciphers=db:OVN_Southbound,SSL,ssl_ciphers /etc/openvswitch/ovnsb_db.db
           ├─ 3014 ovn-northd: monitoring pid 3015 (healthy)
           ├─ 3015 ovn-northd -vconsole:emer -vsyslog:err -vfile:info --ovnnb-db=unix:/var/run/openvswitch/ovnnb_db.sock --ovnsb-db=unix:/var/run/openvswitch/ovnsb_db.sock --no-chdir --log-file=/var/log/openvswitch/ovn-northd.log --pidfile=/var/run/openvswitch/ovn-northd.pid --detach --monitor
           ├─21664 /bin/sh /usr/share/openvswitch/scripts/ovn-ctl start_northd
           └─21710 ovn-sbctl init

Dec 17 19:40:32 frigg1 ovn-central[21657]: ovsdb-tool: I/O error: /etc/openvswitch/ovnsb_db.db: failed to lock lockfile (Resource temporarily unavailable)
Dec 17 19:40:32 frigg1 ovn-central[21657]: * Creating empty database /etc/openvswitch/ovnsb_db.db
Dec 17 19:40:32 frigg1 ovsdb-server[21707]: ovs|00001|vlog|INFO|opened log file /var/log/openvswitch/ovsdb-server-sb.log
Dec 17 19:40:32 frigg1 ovsdb-server[21709]: ovs|00002|lockfile|WARN|/etc/openvswitch/.ovnsb_db.db.~lock~: cannot lock file because it is already locked by pid 3008
Dec 17 19:40:32 frigg1 ovn-central[21657]: ovsdb-server: I/O error: /etc/openvswitch/ovnsb_db.db: failed to lock lockfile (Resource temporarily unavailable)
Dec 17 19:40:32 frigg1 ovn-sbctl[21710]: ovs|00001|sbctl|INFO|Called as ovn-sbctl init
Dec 17 19:45:32 frigg1 systemd[1]: ovn-central.service: Start operation timed out. Terminating.
Dec 17 19:45:32 frigg1 systemd[1]: ovn-central.service: Control process exited, code=killed, status=15/TERM
Dec 17 19:45:32 frigg1 systemd[1]: ovn-central.service: Failed with result 'timeout'.
Dec 17 19:45:32 frigg1 systemd[1]: Failed to start LSB: OVN central components.
dpkg: error processing package ovn-central (--configure):
 installed ovn-central package post-installation script subprocess returned error exit status 1