Christian, thank you so much, the below solution works for me.

$ sudo systemctl edit ovsdb-server.service
[Service]
RuntimeDirectoryPreserve=yes

BTW, only one way to change vhostuser path is using ovs other_config
:vhost-sock-dir, but it is a subdir under /var/run/openvswitch, so it
can't fix this.

https://github.com/openvswitch/ovs/blob/master/lib/dpdk.c#L360.

If you create dpdkvhostuserclient port by yourself and add-port it by
yourself, you can specify full path, but for me, these are handled by
openstack, so I can't control this, other_config:vhost-sock-dir is only
one way to change this, but it is relative path, it can't be beyond
/var/run/openvswitch.

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

Title:
  "systemctl stop openvswitch-switch" will remove /var/run/openvswitch

To manage notifications about this bug go to:
https://bugs.launchpad.net/serverguide/+bug/1910209/+subscriptions

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

Reply via email to