[Bug 1952225] Re: Allow setting vswitchd opts
Frode Nordahl
1952225 at bugs.launchpad.net
Tue Oct 18 09:42:34 UTC 2022
Thank you for your bug report.
Extending the OVS/OVN knobs the charm can manage does indeed have merit,
however the proposed change would require the Open vSwitch instance to
be restarted, with subsequent data plane interruption, in order to apply
the changes.
The options used in the example above can be set at runtime through
calls to `ovs-appctl vlog/set`, which does not require a restart of Open
vSwitch.
Most of the configuration and debug toggles Open vSwitch can either be
applied through `ovs-appctl` or by manipulating the database through
appropriate tools.
I wonder if it would be more appropriate if the charms grew the
capability of managing OVS/OVN runtime vlog state through a charm
configuration option?
--
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 OpenStack Neutron Open vSwitch Charm:
New
Status in charm-ovn-chassis:
New
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/charm-neutron-openvswitch/+bug/1952225/+subscriptions
More information about the Ubuntu-openstack-bugs
mailing list