Hardware offload is not disabled when setting "enable-hardware-offload=false" after having it on
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Neutron Open vSwitch Charm |
Triaged
|
Medium
|
Unassigned |
Bug Description
If you have enable-
Specifically the following openvswitch settings are not reverted:
ovs-vsctl set Open_vSwitch . other_config:
ovs-vsctl set Open_vSwitch . other_config:
There appears to be no code to handle the inverse case.
Workaround:
ovs-vsctl remove Open_vSwitch . other_config max-idle=30000 hw-offload=true
systemctl restart openvswitch-switch
Note:
Restarting openvswitch-switch will trigger a neutron bug blocking all outbound traffic from compute hosts in DVR that is not fixed in 15.1.0 (current release), but is fixed in 15.2.0 (proposed):
https:/
Hi Trent, thanks for reporting. Indeed we have a code path for enabling [0] but not for disabling and it doesn't seem to be a known limitation. So this seems like a valid bug to me.
0: https:/ /opendev. org/openstack/ charm-neutron- openvswitch/ src/branch/ master/ hooks/neutron_ ovs_utils. py#L558