From db6ef51c75cd2eeb73b460c5eb506979d54da06a Mon Sep 17 00:00:00 2001 From: Gal Zaidman Date: Mon, 6 Apr 2020 18:58:09 +0300 Subject: [PATCH] ovirt: fix disable tx checksum offload for workers On PR [1] we added a workaround for Bug [2], this fails when the worker starts for the first time since openshift-sdn is created only when the sdn pod is starting. Instead we will disable by default leave as is only when running with OVNkubernetes [1] On PR https://github.com/openshift/machine-config-operator/pull/1606, [2] https://bugzilla.redhat.com/show_bug.cgi?id=1794714 Signed-off-by: Gal Zaidman --- .../ovirt/files/ovirt-disable-tx-checksum-offload.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/worker/00-worker/ovirt/files/ovirt-disable-tx-checksum-offload.yaml b/templates/worker/00-worker/ovirt/files/ovirt-disable-tx-checksum-offload.yaml index 912186717d..dac73629aa 100644 --- a/templates/worker/00-worker/ovirt/files/ovirt-disable-tx-checksum-offload.yaml +++ b/templates/worker/00-worker/ovirt/files/ovirt-disable-tx-checksum-offload.yaml @@ -5,6 +5,6 @@ contents: inline: | #!/bin/bash # This is a workaround for BZ#1794714 - if [[ -e /var/lib/cni/bin/openshift-sdn ]]; then + if [[ ! -e /var/lib/cni/bin/ovn-k8s-cni-overlay ]]; then nmcli con modify ${CONNECTION_UUID} ethtool.feature-tx-checksum-ip-generic off; fi