Recently, ovn-k8s started using the new OVN Northbound database table
Chassis_Template_Var that was added in v22.12.0.  Unfortunately,
ovn-k8s (libovsdb) became incompatible with OVN 22.09 as it doesn't
support connecting to servers that don't contain this table in their
schema.

It's still important to check that we don't introduce regressions on
stable branches so, instead of completely removing the ovn-k8s CI jobs,
we now pin ovn-k8s to a version that's known to work with OVN 22.09.

NOTE: This is not really a permanent solution, it's just a way to
unblock and still run some of the ovn-k8s CI on branches older than
22.09.  The ideal solution would be to ensure that ovn-k8s can work with
older OVN versions (maybe it's enough to ensure compatibility with LTS).
Until then we will have to keep pinning ovn-kubernetes on stable
branches every time a new table is used by the CMS.

Signed-off-by: Dumitru Ceara <[email protected]>
---
NOTE: this should be applied to branches 22.09, 22.06 and 22.03 (LTS).
---
 .ci/ovn-kubernetes/Dockerfile        | 2 +-
 .github/workflows/ovn-kubernetes.yml | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/.ci/ovn-kubernetes/Dockerfile b/.ci/ovn-kubernetes/Dockerfile
index 1884724ec8..2b65c0420f 100644
--- a/.ci/ovn-kubernetes/Dockerfile
+++ b/.ci/ovn-kubernetes/Dockerfile
@@ -1,4 +1,4 @@
-ARG OVNKUBE_COMMIT=master
+ARG OVNKUBE_COMMIT=b79d290a7ee7
 ARG LIBOVSDB_COMMIT=a6a173993830
 
 FROM fedora:35 AS ovnbuilder
diff --git a/.github/workflows/ovn-kubernetes.yml 
b/.github/workflows/ovn-kubernetes.yml
index c96916f192..37fb0b33ad 100644
--- a/.github/workflows/ovn-kubernetes.yml
+++ b/.github/workflows/ovn-kubernetes.yml
@@ -15,7 +15,7 @@ concurrency:
 env:
   GO_VERSION: "1.18.4"
   K8S_VERSION: v1.24.0
-  OVNKUBE_COMMIT: "master"
+  OVNKUBE_COMMIT: "b79d290a7ee7"
   LIBOVSDB_COMMIT: "a6a173993830"
   KIND_CLUSTER_NAME: ovn
   KIND_INSTALL_INGRESS: true
-- 
2.31.1

_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to