Hello,
I followed the incus instructions page to setup the OVN, but when I try to create the OVN network with the command: incus network create ovntest --type=ovn network=<parent_network> , with the appropriate parent interface, I receive this message: Error: Failed loading network: OVN isn’t currently available
This is a physical server, but I tried also with a Ubuntu 22.04.3 LTS virtual machine in other server and I was able to create a OVN network.
PS: I followed also the incus webpage for installation in Ubuntu 24 and 22.
Thank you.
Hello, I rebooted the server several times, but still had the same error (should this be the same as restarting the incus service I think). On ubuntu 22 I don’t have to restart the incus service. Would you like to share some output of any logs?
I’m not sure about this issue, if is because I have 4 physical network interfaces. I installed Ubuntu 22 in my physical server, and I received the same message when I was trying to create a new OVN network. But after doing the command: systemctl restart incus I was able to create the network.
However, once I rebooted my server (I don’t have a display connected to it), my server took so long to boot that I just powered off and connected a display to understand why iss tooking too long to boot.
With all network cables disconnected the server boot succesfully and I configured in netplan all the interfaces with dhcp: false and one interface with static IP.
With this I was able to boot quicker and incus works fine.
root@testvm:~#ip -br a s
lo UNKNOWN 127.0.0.1/8 ::1/128
enp5s0 UP 10.32.64.254/24 metric 100 fd42:c84d:c751:e196:216:3eff:fe18:a69d/64 fe80::216:3eff:fe18:a69d/64
ovs-system DOWN
br-int DOWN
incusbr0 DOWN 10.2.180.1/24 fd42:15dd:ff8b:60a::1/64
/1.0/profiles/default
managed: true
status: Created
locations:
none
systemctl list-units ovn-*
UNIT LOAD ACTIVE SUB DESCRIPTION
ovn-central.service loaded active exited Open Virtual Network central components
ovn-controller.service loaded active running Open Virtual Network host control daemon
ovn-host.service loaded active exited Open Virtual Network host components
ovn-northd.service loaded active running Open Virtual Network central control daemon
ovn-ovsdb-server-nb.service loaded active running Open vSwitch database server for OVN Northbound database
ovn-ovsdb-server-sb.service loaded active running Open vSwitch database server for OVN Southbound database
root@testvm:~# ovn-nbctl show
root@testvm:~#
root@testvm:~# incus network create ovntest --type=ovn network=incusbr0
Error: Failed loading network: OVN isn’t currently available
2024-07-26T20:31:17.471Z|00001|vlog|INFO|opened log file /var/log/ovn/ovn-controller.log
2024-07-26T20:31:17.480Z|00002|reconnect|INFO|unix:/var/run/openvswitch/db.sock: connecting…
2024-07-26T20:31:17.480Z|00003|reconnect|INFO|unix:/var/run/openvswitch/db.sock: connected
2024-07-26T20:31:17.489Z|00004|main|INFO|OVN internal version is : [24.03.2-20.33.0-72.6]
2024-07-26T20:31:17.489Z|00005|main|INFO|OVS IDL reconnected, force recompute.
2024-07-26T20:31:17.489Z|00006|main|INFO|OVNSB IDL reconnected, force recompute.
2024-07-26T20:31:51.706Z|00007|memory|INFO|8200 kB peak resident set size after 34.2 seconds
2024-07-26T20:31:51.706Z|00008|memory|INFO|idl-cells-Open_vSwitch:101
2024-07-26T20:31:51.706Z|00009|reconnect|INFO|unix:/var/run/ovn/ovnsb_db.sock: connecting…
2024-07-26T20:31:51.706Z|00010|reconnect|INFO|unix:/var/run/ovn/ovnsb_db.sock: connected
2024-07-26T20:31:51.711Z|00011|features|INFO|unix:/var/run/openvswitch/br-int.mgmt: connecting to switch
2024-07-26T20:31:51.711Z|00012|rconn|INFO|unix:/var/run/openvswitch/br-int.mgmt: connecting…
2024-07-26T20:31:51.711Z|00013|features|INFO|OVS Feature: ct_zero_snat, state: supported
2024-07-26T20:31:51.711Z|00014|features|INFO|OVS Feature: ct_flush, state: supported
2024-07-26T20:31:51.711Z|00015|features|INFO|OVS Feature: dp_hash_l4_sym_support, state: supported
2024-07-26T20:31:51.711Z|00016|main|INFO|OVS feature set changed, force recompute.
2024-07-26T20:31:51.711Z|00017|ofctrl|INFO|unix:/var/run/openvswitch/br-int.mgmt: connecting to switch
2024-07-26T20:31:51.711Z|00018|rconn|INFO|unix:/var/run/openvswitch/br-int.mgmt: connecting…
2024-07-26T20:31:51.713Z|00019|rconn|INFO|unix:/var/run/openvswitch/br-int.mgmt: connected
2024-07-26T20:31:51.713Z|00020|rconn|INFO|unix:/var/run/openvswitch/br-int.mgmt: connected
2024-07-26T20:31:51.713Z|00021|main|INFO|OVS OpenFlow connection reconnected,force recompute.
2024-07-26T20:31:51.714Z|00022|main|INFO|OVS feature set changed, force recompute.
2024-07-26T20:31:51.714Z|00001|pinctrl(ovn_pinctrl1)|INFO|unix:/var/run/openvswitch/br-int.mgmt: connecting to switch
2024-07-26T20:31:51.714Z|00002|rconn(ovn_pinctrl1)|INFO|unix:/var/run/openvswitch/br-int.mgmt: connecting…
2024-07-26T20:31:51.715Z|00001|statctrl(ovn_statctrl0)|INFO|unix:/var/run/openvswitch/br-int.mgmt: connecting to switch
2024-07-26T20:31:51.715Z|00002|rconn(ovn_statctrl0)|INFO|unix:/var/run/openvswitch/br-int.mgmt: connecting…
2024-07-26T20:31:51.715Z|00003|rconn(ovn_pinctrl1)|INFO|unix:/var/run/openvswitch/br-int.mgmt: connected
2024-07-26T20:31:51.715Z|00003|rconn(ovn_statctrl0)|INFO|unix:/var/run/openvswitch/br-int.mgmt: connected
ovn-northd.log
2024-07-26T20:31:13.801Z|00002|ovn_northd|INFO|OVN internal version is : [24.03.2-20.33.0-72.6]
2024-07-26T20:31:13.804Z|00003|reconnect|INFO|unix:/var/run/ovn/ovnnb_db.sock: connecting…
2024-07-26T20:31:13.804Z|00004|reconnect|INFO|unix:/var/run/ovn/ovnnb_db.sock: connected
2024-07-26T20:31:13.804Z|00005|ovn_northd|INFO|OVN NB IDL reconnected, force recompute.
2024-07-26T20:31:13.805Z|00006|reconnect|INFO|unix:/var/run/ovn/ovnsb_db.sock: connecting…
2024-07-26T20:31:13.805Z|00007|reconnect|INFO|unix:/var/run/ovn/ovnsb_db.sock: connected
2024-07-26T20:31:13.805Z|00008|ovn_northd|INFO|OVN SB IDL reconnected, force recompute.
2024-07-26T20:31:13.812Z|00009|ovn_northd|INFO|ovn-northd lock acquired. This ovn-northd instance is now active.
2024-07-26T20:31:13.824Z|00010|memory_trim|INFO|Detected inactivity (last active 0 ms ago): trimming memory
2024-07-26T20:31:43.859Z|00011|memory|INFO|7212 kB peak resident set size after 30.1 seconds
2024-07-26T20:31:43.859Z|00012|memory|INFO|idl-cells-OVN_Northbound:12 idl-cells-OVN_Southbound:185
2024-07-26T20:31:43.859Z|00013|memory_trim|INFO|Detected inactivity (last active 30030 ms ago): trimming memory
2024-07-26T20:32:21.722Z|00014|memory_trim|INFO|Detected inactivity (last active 30009 ms ago): trimming memory