Public bug reported:

/etc/default/openvswitch allows setting OVS_CTL_OPTS but that gets
applies to all daemons. If we want to set ovs-vswitchd specific options
we need a way to pass them through. ovs-ctl [1] has variables like
OVS_VSWITCHD_OPTIONS that get set to '' with no regard for globals so
cannot currently be set in /etc/default/openvswitch. We propose the
following change to [1] to allow these overrides to be set in
/etc/default/openvswitch:

340c340
<     OVS_VSWITCHD_OPTIONS=
---
>     OVS_VSWITCHD_OPTIONS=${OVS_VSWITCHD_OPTIONS:-''}

This will allow us to do e.g.

OVS_VSWITCHD_OPTIONS="-vnetdev_offload:dbg -vnetdev_offload_tc:dbg"

in /etc/default/openvswitch.

[1] /usr/share/openvswitch/scripts/ovs-ctl

** Affects: openvswitch (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1952225

Title:
  Allow setting vswitchd opts

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openvswitch/+bug/1952225/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to