Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1500161 - With vhostuser_mode set to 'client', qemu is not able to connect to the vhostuser socket.
With vhostuser_mode set to 'client', qemu is not able to connect to the vhost...
Status: CLOSED ERRATA
Product: Red Hat OpenStack
Classification: Red Hat
Component: puppet-neutron (Show other bugs)
12.0 (Pike)
Unspecified Unspecified
urgent Severity high
: ga
: 12.0 (Pike)
Assigned To: Tim Rozet
Itzik Brown
: Triaged
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2017-10-10 01:56 EDT by yogananth subramanian
Modified: 2018-10-18 03:22 EDT (History)
8 users (show)

See Also:
Fixed In Version: puppet-neutron-11.3.0-2.el7ost
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
N/A
Last Closed: 2017-12-13 17:13:08 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Launchpad 1722917 None None None 2017-10-11 17:08 EDT
OpenStack gerrit 511337 None None None 2017-10-11 17:09 EDT
Red Hat Product Errata RHEA-2017:3462 normal SHIPPED_LIVE Red Hat OpenStack Platform 12.0 Enhancement Advisory 2018-02-15 20:43:25 EST

  None (edit)
Description yogananth subramanian 2017-10-10 01:56:42 EDT
Description of problem:
With vhostuser_mode set to 'client', qemu is not able to connect to the vhostuser socket.

There is path mismatch between the vhostuser socket path created by qemu and openvswitch.
qemu:
/var/run/openvswitch/vhu_6c1313cf-1: Failed to connect socket: No such file or directory
ovs:
netdev_dpdk|INFO|Socket /var/run/openvswitch/vhu6c1313cf-18 created for vhost-user port vhu6c1313cf-18

From the above output it can be noticed that, the qemu expects prefix "vhu_" while openvswitch just "vhu" and the last character ('8') in the openvswitch vhostuser socket name is missing from qemu,i.e., "vhu_6c1313cf-1" instead of "vhu_6c1313cf-18"

Version-Release number of selected component (if applicable):
Puddle used 2017-09-27.3

How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:
Comment 1 Tim Rozet 2017-10-11 09:23:14 EDT
Can you please provide the output of 'ovs-vsctl list open_vswitch' on your ovs dpdk compute node?
Comment 2 yogananth subramanian 2017-10-11 11:40:24 EDT
[root@overcloud-computeovsdpdk-0 heat-admin]# ovs-vsctl list open_vswitch
_uuid               : 88465d32-ff7a-4d03-b20d-958e45f06779
bridges             : [6df07e87-ec38-4ec9-b91d-cbf6fd09a451, 8ca492cc-c239-4793-8b28-9f9910decf7a]
cur_cfg             : 21
datapath_types      : [netdev, system]
db_version          : "7.15.0"
external_ids        : {hostname="overcloud-computeovsdpdk-0", "odl_os_hostconfig_config_odl_l2"="{  \"supported_vnic_types\": [{    \"vnic_type\": \"normal\",    \"vif_type\": \"vhostuser\",    \"vif_details\": {      \"uuid\": \"88465d32-ff7a-4d03-b20d-958e45f06779\",      \"has_datapath_type_netdev\": true,      \"port_prefix\": \"vhu_\",      \"vhostuser_socket_dir\": \"/var/lib/vhost_sockets\",      \"vhostuser_ovs_plug\": true,      \"vhostuser_mode\": \"client\",      \"vhostuser_socket\": \"/var/lib/vhost_sockets/vhu_$PORT_ID\"    }  }],  \"allowed_network_types\": [\"local\",\"vlan\",\"vxlan\",\"gre\"],  \"bridge_mappings\": {\"dpdknet\":\"br-link\"}}", odl_os_hostconfig_hostid="overcloud-computeovsdpdk-0.localdomain", system-id="e03f63f3-b7e7-409c-b645-a180b03fe6f5"}
iface_types         : [dpdk, dpdkr, dpdkvhostuser, dpdkvhostuserclient, geneve, gre, internal, lisp, patch, stt, system, tap, vxlan]
manager_options     : [340a8ef1-5313-4168-9694-fb08d809fa43, 3c976efb-0126-4899-b3e0-8cf8a7225dfc]
next_cfg            : 21
other_config        : {dpdk-extra="-n 4", dpdk-init="true", dpdk-lcore-mask="3ff", dpdk-socket-mem="4096,4096", local_ip="10.10.84.29", pmd-cpu-mask="c00c00", provider_mappings="dpdknet:br-link"}
ovs_version         : "2.7.2"
ssl                 : []
statistics          : {}
system_type         : rhel
system_version      : "7.4"
Comment 3 Nir Yechiel 2017-10-17 06:21:20 EDT
Merged and cherry picked to stable/pike
Comment 9 errata-xmlrpc 2017-12-13 17:13:08 EST
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHEA-2017:3462

Note You need to log in before you can comment on or make changes to this bug.