Hi,
I built a cluster system with ovn but at the last stage of the network creation hold the command line and doesnt answer anymore. Can someone help me out what may be wrong with the configuration.
Regards.
indiana@pinehost1:~$ uname -a
Linux pinehost1 5.15.43-sunxi64 #22.05.1 SMP Sat May 28 08:25:20 UTC 2022 aarch64 GNU/Linux
indiana@pinehost1:~$ lxc network show UPLINK
config:
dns.nameservers: 8.8.8.8
ipv4.gateway: 192.168.1.1/24
ipv4.ovn.ranges: 192.168.1.200-192.168.1.254
volatile.last_state.created: "false"
description: ""
name: UPLINK
type: physical
used_by: []
managed: true
status: Created
locations:
- pinehost3
- pinehost1
- pinehost2
indiana@pinehost1:~$ lxc network ls
+--------+----------+---------+------+------+-------------+---------+---------+
| NAME | TYPE | MANAGED | IPV4 | IPV6 | DESCRIPTION | USED BY | STATE |
+--------+----------+---------+------+------+-------------+---------+---------+
| UPLINK | physical | YES | | | | 0 | CREATED |
+--------+----------+---------+------+------+-------------+---------+---------+
| br-int | bridge | NO | | | | 0 | |
+--------+----------+---------+------+------+-------------+---------+---------+
| eth0 | physical | NO | | | | 1 | |
+--------+----------+---------+------+------+-------------+---------+---------+
indiana@pinehost1:~$ lxc config show
config:
cluster.https_address: 192.168.1.20:8443
core.https_address: 192.168.1.20:8443
network.ovn.northbound_connection: tcp:192.168.1.20:6641,tcp:192.168.1.21:6641,tcp:192.168.1.22:6641
ovn service status
● ovn-ovsdb-server-sb.service - Open vSwitch database server for OVN Southbound database
Loaded: loaded (/lib/systemd/system/ovn-ovsdb-server-sb.service; enabled; vendor preset: enabled)
Active: active (running) since Sun 2022-05-29 21:25:01 +03; 16s ago
Main PID: 7340 (ovn-ctl)
Tasks: 4 (limit: 2218)
Memory: 11.5M
CPU: 1.226s
CGroup: /system.slice/ovn-ovsdb-server-sb.service
├─7340 /bin/sh /usr/share/ovn/scripts/ovn-ctl run_sb_ovsdb --db-nb-create-insecure-remote=yes --db-sb-create-insecure-remote=yes --db-nb-addr=192.168.1.20 --db-sb-addr=192.168.1.20 --db-nb-cluster-local-addr=192.168.1.20 --d>
└─7561 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_Sout>
May 29 21:25:02 pinehost1 ovsdb-server[7561]: ovs|00002|raft|INFO|term 16: 5060662 ms timeout expired, starting election
May 29 21:25:02 pinehost1 ovsdb-server[7561]: ovs|00003|raft|INFO|term 16: elected leader by 1+ of 1 servers
May 29 21:25:02 pinehost1 ovsdb-server[7561]: ovs|00004|ovsdb_server|INFO|ovsdb-server (Open vSwitch) 2.15.0
May 29 21:25:03 pinehost1 ovn-ctl[7574]: 2022-05-29T18:25:03Z|00003|reconnect|INFO|unix:/var/run/ovn/ovnsb_db.sock: connecting...
May 29 21:25:03 pinehost1 ovn-ctl[7574]: 2022-05-29T18:25:03Z|00004|reconnect|INFO|unix:/var/run/ovn/ovnsb_db.sock: connected
May 29 21:25:03 pinehost1 ovsdb-client[7574]: ovs|00003|reconnect|INFO|unix:/var/run/ovn/ovnsb_db.sock: connecting...
May 29 21:25:03 pinehost1 ovsdb-client[7574]: ovs|00004|reconnect|INFO|unix:/var/run/ovn/ovnsb_db.sock: connected
May 29 21:25:03 pinehost1 ovn-ctl[7340]: Waiting for OVN_Southbound to come up.
May 29 21:25:12 pinehost1 ovsdb-server[7561]: ovs|00005|memory|INFO|17852 kB peak resident set size after 10.2 seconds
May 29 21:25:12 pinehost1 ovsdb-server[7561]: ovs|00006|memory|INFO|cells:13834 monitors:3 raft-log:175 sessions:2
● ovn-central.service - Open Virtual Network central components
Loaded: loaded (/lib/systemd/system/ovn-central.service; enabled; vendor preset: enabled)
Active: active (exited) since Sun 2022-05-29 21:25:01 +03; 16s ago
Process: 7295 ExecStart=/bin/true (code=exited, status=0/SUCCESS)
Main PID: 7295 (code=exited, status=0/SUCCESS)
CPU: 13ms
May 29 21:25:01 pinehost1 systemd[1]: Starting Open Virtual Network central components...
May 29 21:25:01 pinehost1 systemd[1]: Finished Open Virtual Network central components.
● ovn-northd.service - Open Virtual Network central control daemon
Loaded: loaded (/lib/systemd/system/ovn-northd.service; static)
Active: active (running) since Sun 2022-05-29 21:25:02 +03; 15s ago
Process: 7348 ExecStart=/usr/share/ovn/scripts/ovn-ctl start_northd --ovn-manage-ovsdb=no --no-monitor $OVN_CTL_OPTS (code=exited, status=0/SUCCESS)
Main PID: 7569 (ovn-northd)
Tasks: 1 (limit: 2218)
Memory: 4.8M
CPU: 656ms
CGroup: /system.slice/ovn-northd.service
└─7569 ovn-northd -vconsole:emer -vsyslog:err -vfile:info --ovnnb-db=tcp:192.168.1.20:6641,tcp:192.168.1.21:6641,tcp:192.168.1.22:6641 --ovnsb-db=tcp:192.168.1.20:6642,tcp:192.168.1.21:6642,tcp:192.168.1.22:6642 --no-chdir ->
May 29 21:25:01 pinehost1 systemd[1]: Starting Open Virtual Network central control daemon...
May 29 21:25:02 pinehost1 ovn-ctl[7348]: Starting ovn-northd.
May 29 21:25:02 pinehost1 systemd[1]: Started Open Virtual Network central control daemon.
● ovn-host.service - Open Virtual Network host components
Loaded: loaded (/lib/systemd/system/ovn-host.service; enabled; vendor preset: enabled)
Active: active (exited) since Sun 2022-05-29 21:25:01 +03; 16s ago
Process: 7313 ExecStart=/bin/true (code=exited, status=0/SUCCESS)
Main PID: 7313 (code=exited, status=0/SUCCESS)
CPU: 12ms
May 29 21:25:01 pinehost1 systemd[1]: Starting Open Virtual Network host components...
May 29 21:25:01 pinehost1 systemd[1]: Finished Open Virtual Network host components.
● ovn-ovsdb-server-nb.service - Open vSwitch database server for OVN Northbound database
Loaded: loaded (/lib/systemd/system/ovn-ovsdb-server-nb.service; enabled; vendor preset: enabled)
Active: active (running) since Sun 2022-05-29 21:25:01 +03; 16s ago
Main PID: 7336 (ovn-ctl)
Tasks: 4 (limit: 2218)
Memory: 3.2M
CPU: 859ms
CGroup: /system.slice/ovn-ovsdb-server-nb.service
├─7336 /bin/sh /usr/share/ovn/scripts/ovn-ctl run_nb_ovsdb --db-nb-create-insecure-remote=yes --db-sb-create-insecure-remote=yes --db-nb-addr=192.168.1.20 --db-sb-addr=192.168.1.20 --db-nb-cluster-local-addr=192.168.1.20 --d>
└─7548 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_Nort>
May 29 21:25:02 pinehost1 ovsdb-client[7572]: ovs|00001|reconnect|INFO|unix:/var/run/ovn/ovnnb_db.sock: connecting...
May 29 21:25:02 pinehost1 ovsdb-client[7572]: ovs|00002|reconnect|INFO|unix:/var/run/ovn/ovnnb_db.sock: connection attempt failed (No such file or directory)
May 29 21:25:02 pinehost1 ovsdb-server[7548]: ovs|00004|ovsdb_server|INFO|ovsdb-server (Open vSwitch) 2.15.0
May 29 21:25:03 pinehost1 ovn-ctl[7572]: 2022-05-29T18:25:03Z|00003|reconnect|INFO|unix:/var/run/ovn/ovnnb_db.sock: connecting...
May 29 21:25:03 pinehost1 ovn-ctl[7572]: 2022-05-29T18:25:03Z|00004|reconnect|INFO|unix:/var/run/ovn/ovnnb_db.sock: connected
May 29 21:25:03 pinehost1 ovsdb-client[7572]: ovs|00003|reconnect|INFO|unix:/var/run/ovn/ovnnb_db.sock: connecting...
May 29 21:25:03 pinehost1 ovsdb-client[7572]: ovs|00004|reconnect|INFO|unix:/var/run/ovn/ovnnb_db.sock: connected
May 29 21:25:03 pinehost1 ovn-ctl[7336]: Waiting for OVN_Northbound to come up.
May 29 21:25:12 pinehost1 ovsdb-server[7548]: ovs|00005|memory|INFO|9136 kB peak resident set size after 10.0 seconds
May 29 21:25:12 pinehost1 ovsdb-server[7548]: ovs|00006|memory|INFO|cells:1749 monitors:2 raft-log:215 sessions:3
● ovn-controller.service - Open Virtual Network host control daemon
Loaded: loaded (/lib/systemd/system/ovn-controller.service; static)
Active: active (running) since Sun 2022-05-29 21:25:01 +03; 15s ago
Process: 7356 ExecStart=/usr/share/ovn/scripts/ovn-ctl start_controller --ovn-manage-ovsdb=no --no-monitor $OVN_CTL_OPTS (code=exited, status=0/SUCCESS)
Main PID: 7452 (ovn-controller)
Tasks: 4 (limit: 2218)
Memory: 2.1M
CPU: 321ms
CGroup: /system.slice/ovn-controller.service
└─7452 ovn-controller unix:/var/run/openvswitch/db.sock -vconsole:emer -vsyslog:err -vfile:info --no-chdir --log-file=/var/log/ovn/ovn-controller.log --pidfile=/var/run/ovn/ovn-controller.pid --detach
May 29 21:25:01 pinehost1 systemd[1]: Starting Open Virtual Network host control daemon...
May 29 21:25:01 pinehost1 ovn-ctl[7356]: Starting ovn-controller.
May 29 21:25:01 pinehost1 systemd[1]: Started Open Virtual Network host control daemon.