charm doesn't disable mlnx-switchdev-mode when enable-hardware-offload is false
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
charm-ovn-chassis |
New
|
Undecided
|
Unassigned |
Bug Description
While working on a conversion of a node to support SRIOV, I removed ovn-chassis from the machine and added a new app ovn-chassis-sriov with this configuration:
ovn-chassis-
charm: cs:ovn-chassis-10
options:
bridge-
enable-
enable-sriov: true
ovn-
sriov-
sriov-numvfs: enp129s0f0:32 enp129s0f1:32
But sriov port creation was failing with error:
2021-04-13 12:54:02.468 8249 ERROR nova.compute.
We found that the issue was with having mlnx-switchdev-mode service enabled.
Once disabled it and rebooted the node, sriov worked.
Charm should disable this service if enable-
description: | updated |