openvswitch will delete vhost-user-client socket file if vhostuser_socket_dir=/var/run/openvswitch

Bug #1733522 reported by Lv Jiawei
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Expired
Undecided
Unassigned

Bug Description

I used ocata version neutron and ovs-dpdk with vhost-user-client mode. When I restart ovs, I found the vhost-user-client socket file disappear and 'vhuc' interface link_state is down。
The vhostuser_socket_dir in /etc/neutron/plugins/ml2/openvswitch_agent.ini was set as default value: /var/run/openvswitch. And I found ovs would recreate this directory. As a result, the socket file would be deleted. So I think the default value of vhostuser_socket_dir is not appropriate.

Lv Jiawei (zhangoic)
description: updated
description: updated
affects: fuel-plugin-contrail → neutron
Revision history for this message
zhaobo (zhaobo6) wrote :

For [1], this function had been merged in ocata. The ovs version and qemu version met the requirement if you want to use the vhost_user_client mode. Because this socket will be managed by qemu, it will still exist when the ovs crashes or restart.

Also I think a better approach is to use a separate directory for the vhost_user socket by configure the agent.conf

Please show/verify the configure of vm xml and ovs port.

[1] https://bugs.launchpad.net/neutron/+bug/1604924

Changed in neutron:
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for neutron because there has been no activity for 60 days.]

Changed in neutron:
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.