Thank you. So tried doing that and I get another error:
root@rpicluster01:~# ovn-appctl -t ovnnb_db cluster/status
2024-07-15T18:57:13Z|00001|unixctl|WARN|failed to connect to /var/run/ovn/ovnnb_db.1353.ctl
ovn-appctl: cannot connect to "/var/run/ovn/ovnnb_db.1353.ctl" (No such file or directory)
root@rpicluster01:~# ovn-appctl -t ovnsb_db cluster/status
2024-07-15T19:02:35Z|00001|unixctl|WARN|failed to connect to /var/run/ovn/ovnsb_db.1343.ctl
ovn-appctl: cannot connect to "/var/run/ovn/ovnsb_db.1343.ctl" (No such file or directory)
When I check that directory again, I see this:
root@rpicluster01:~# ls -ail /var/run/ovn
total 16
2882 drwxr-xr-x 2 root root 240 Jul 15 11:39 .
1 drwxr-xr-x 33 root root 960 Jul 15 11:52 ..
2884 srwxr-x--- 1 root root 0 Jul 15 11:39 ovn-controller.1299.ctl
2883 -rw-r--r-- 1 root root 5 Jul 15 11:39 ovn-controller.pid
2892 srwxr-x--- 1 root root 0 Jul 15 11:39 ovn-northd.1358.ctl
2891 -rw-r--r-- 1 root root 5 Jul 15 11:39 ovn-northd.pid
2890 srwxr-x--- 1 root root 0 Jul 15 11:39 ovnnb_db.ctl
2886 -rw-r--r-- 1 root root 5 Jul 15 11:39 ovnnb_db.pid
2889 srwxr-x--- 1 root root 0 Jul 15 11:39 ovnnb_db.sock
2888 srwxr-x--- 1 root root 0 Jul 15 11:39 ovnsb_db.ctl
2885 -rw-r--r-- 1 root root 5 Jul 15 11:39 ovnsb_db.pid
2887 srwxr-x--- 1 root root 0 Jul 15 11:39 ovnsb_db.sock
When I run ps | aux
, looking for the nb and sb processes, I see this:
root@rpicluster01:~# ps aux | grep ovnnb_db
root 1353 0.1 0.0 158684 8064 ? Rl 11:39 0:02 ovsdb-server -vconsole:off -vfile:info --log-file=/var/log/ovn/ovsdb-server-nb.log --remote=punix:/var/run/ovn/ovnnb_db.sock --pidfile=/var/run/ovn/ovnnb_db.pid --unixctl=/var/run/ovn/ovnnb_db.ctl --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 --remote=ptcp:6641:10.0.1.179 /var/lib/ovn/ovnnb_db.db
root@rpicluster01:~# ps aux | grep ovnsb_db
root 1343 0.1 0.1 158948 8192 ? Sl 11:39 0:01 ovsdb-server -vconsole:off -vfile:info --log-file=/var/log/ovn/ovsdb-server-sb.log --remote=punix:/var/run/ovn/ovnsb_db.sock --pidfile=/var/run/ovn/ovnsb_db.pid --unixctl=/var/run/ovn/ovnsb_db.ctl --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 --remote=ptcp:6642:10.0.1.179 /var/lib/ovn/ovnsb_db.db
root 1963 0.0 0.0 3688 1792 pts/1 S+ 12:00 0:00 grep --color=auto ovnsb_db
Sorry to keep asking for help on this. I’m really scratching my head on this. I also tried restarting OVN services. That didn’t help either. Checking systemctl, everything appears fine:
root@rpicluster01:~# systemctl status ovn-northd
● ovn-northd.service - Open Virtual Network central control daemon
Loaded: loaded (/usr/lib/systemd/system/ovn-northd.service; static)
Active: active (running) since Mon 2024-07-15 11:39:55 PDT; 26min ago
Process: 1082 ExecStart=/usr/share/ovn/scripts/ovn-ctl start_northd --ovn-manage-ovsdb=no --no-monitor $OVN_CTL_OPTS (code=exited, status=0/S>
Main PID: 1358 (ovn-northd)
Tasks: 3 (limit: 9078)
Memory: 3.2M (peak: 3.7M)
CPU: 305ms
CGroup: /system.slice/ovn-northd.service
└─1358 ovn-northd -vconsole:emer -vsyslog:err -vfile:info --ovnnb-db=tcp:10.0.1.179:6641,tcp:10.0.1.180:6641,tcp:10.0.1.173:6641 --o>
Jul 15 11:39:55 rpicluster01 systemd[1]: Starting ovn-northd.service - Open Virtual Network central control daemon...
Jul 15 11:39:55 rpicluster01 ovn-ctl[1082]: * Starting ovn-northd
Jul 15 11:39:55 rpicluster01 systemd[1]: Started ovn-northd.service - Open Virtual Network central control daemon.
Why would it specifically expect ovnnb_db.1353.ctl
and ovnsb_db.1343.ctl
?