[Bug 1910209] Re: "systemctl stop openvswitch-switch" will remove /var/run/openvswitch
Christian Ehrhardt
1910209 at bugs.launchpad.net
Fri Jan 8 07:47:19 UTC 2021
This is uploaded to Ubuntu 21.04 already.
Just needs some builds and tests to complete.
I'm slightly unsure if this should be SRUed or if - for older releases
we'd ask users to adapt the configuration if affected. I'm slightly
leaning to an SRU but look at James/Frode for a decsion.
** Also affects: openvswitch (Ubuntu Groovy)
Importance: Undecided
Status: New
** Also affects: dpdk (Ubuntu Groovy)
Importance: Undecided
Status: New
** Also affects: openvswitch (Ubuntu Bionic)
Importance: Undecided
Status: New
** Also affects: dpdk (Ubuntu Bionic)
Importance: Undecided
Status: New
** Also affects: openvswitch (Ubuntu Focal)
Importance: Undecided
Status: New
** Also affects: dpdk (Ubuntu Focal)
Importance: Undecided
Status: New
** No longer affects: dpdk (Ubuntu Bionic)
** No longer affects: dpdk (Ubuntu Focal)
** No longer affects: dpdk (Ubuntu Groovy)
** Changed in: openvswitch (Ubuntu Bionic)
Status: New => Confirmed
** Changed in: openvswitch (Ubuntu Focal)
Status: New => Confirmed
** Changed in: openvswitch (Ubuntu Groovy)
Status: New => Confirmed
** Changed in: openvswitch (Ubuntu)
Status: Confirmed => In Progress
--
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/1910209
Title:
"systemctl stop openvswitch-switch" will remove /var/run/openvswitch
Status in Ubuntu Server Guide:
Fix Released
Status in dpdk package in Ubuntu:
Invalid
Status in openvswitch package in Ubuntu:
In Progress
Status in openvswitch source package in Bionic:
Confirmed
Status in openvswitch source package in Focal:
Confirmed
Status in openvswitch source package in Groovy:
Confirmed
Bug description:
TL;DR:
- stoping/restarting OVS clears /var/run/openvswitch
- out of the "vhostuser" connection times a common socket path used
was at /var/run/openvswitch
- if that path used with "vhostuserclient" that removes the sockets
on OVS stop/restart
- Since qemu in server mode only creates this sockets once (as by
the client/server design makes sense) that breaks the guests until
restarted which is what the tech of vhostuserclient wanted to avoid.
+ Workaround: do use a different path like e.g.
"/var/run/vhostuserclient/vhost-user-client-1"
+ Solution: let us think if we could keep the path around on stop/restart
--- vv original report vv ---
My system is Ubuntu 18.04, I installed ovs DPDK by apt-get and used
ovs-vswitchd DPDK version, but when I stop openvswitch-switch (sudo
systemctl stop openvswitch-switch), /var/run/openvswitch is removed,
so the exisitng VMs can't be accessed any more. I don't know why it is
removed and who removed it.
To manage notifications about this bug go to:
https://bugs.launchpad.net/serverguide/+bug/1910209/+subscriptions
More information about the Ubuntu-openstack-bugs
mailing list