[Bug 1952225] [NEW] Allow setting vswitchd opts

Edward Hope-Morley 1952225 at bugs.launchpad.net
Thu Nov 25 12:58:19 UTC 2021


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
OpenStack, which is subscribed to openvswitch in Ubuntu.
https://bugs.launchpad.net/bugs/1952225

Title:
  Allow setting vswitchd opts

Status in openvswitch package in Ubuntu:
  New

Bug description:
  /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

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




More information about the Ubuntu-openstack-bugs mailing list