Skip to content

Commit

Permalink
OpenStack: disable tx checksum offload for workers
Browse files Browse the repository at this point in the history
This patch adds the workaround suggested on [1]
to make nodeport work, instead of ethtool we use
NM to apply the fix for each connction before it is up.

[1] https://bugzilla.redhat.com/show_bug.cgi?id=1794714

Brings the following ovirt fixes to openstack platform:
- #1606
- #1621
  • Loading branch information
mandre committed Apr 7, 2020
1 parent a195251 commit 270bb67
Showing 1 changed file with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
filesystem: "root"
mode: 0744
path: "/etc/NetworkManager/dispatcher.d/pre-up.d/disable-tx-checksum-offload.sh"
contents:
inline: |
#!/bin/bash
# This is a workaround for BZ#1794714
if [[ ! -e /var/lib/cni/bin/ovn-k8s-cni-overlay ]]; then
nmcli con modify ${CONNECTION_UUID} ethtool.feature-tx-checksum-ip-generic off;
fi

0 comments on commit 270bb67

Please sign in to comment.