Updated Incus cluster tonight and after the usual go around a few times getting all the nodes back online, all the ovn networks had disappeared from incus network ls
When trying to create new ovn networks or (re)set incus config set network.ovn.northbound_connection <ovn-northd-nb-db> the following error is displayed:
Error: failed to notify peer 192.168.1.11:8443: unable to connect to any endpoints: failed to connect to tcp:192.168.1.10:6641: database OVN_Northbound validation error (6): database model contains a model for table Static_MAC_Binding that does not exist in schema. database model contains a model for table Chassis_Template_Var that does not exist in schema. Mapper Error. Object type ovsmodel.NAT contains field GatewayPort (*string) ovs tag gateway_port: Column does not exist in schema. database model contains a model for table Mirror that does not exist in schema. Mapper Error. Object type ovsmodel.LogicalSwitchPort contains field MirrorRules ([]string) ovs tag mirror_rules: Column does not exist in schema. database model contains a client index for table Logical_Switch_Port that does not exist in schema. failed to connect to tcp:192.168.1.12:6641: database OVN_Northbound validation error (1): database model name () does not match schema (OVN_Northbound). failed to connect to tcp:192.168.1.11:6641: database OVN_Northbound validation error (1): database model name () does not match schema (OVN_Northbound)
# incus version
Client version: 6.15
Server version: 6.15
# ovn-nbctl --version
ovn-nbctl 22.03.3
Open vSwitch Library 2.17.9
DB Schema 6.1.0
If I’m unable to find a workaround I will probably resort to removing all the ovn networks from each instances and start the ovn setup again from scratch… however figured I would post here first!
Your OVN installation is too old for Incus. we have a baseline of OVN 23.03.0.
Your version is consistent with running Ubuntu 22.04. An Ubuntu 24.04 system would have a sufficient version. Alternatively I have some backported package in Stéphane Graber - OVN stable : Stéphane Graber though those will not be maintained for much longer.