← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1670950] [NEW] nova can't bind to dpdk (vhostuser) socket

 

Public bug reported:

Hi everyone. I'm installing Openstack Ocata version with OVS-DPDK. 
I installed openvswitch-switch-dpdk packages from ubuntu repository. 
I setup dpdk use this tutorial: https://help.ubuntu.com/lts/serverguide/DPDK.html
And When I create a vhostuser port, It works and its socket is correct permission.
But when I launch an instance on this compute node. It has failed. 

2017-03-07 03:55:44.381 21100 ERROR nova.compute.manager [instance:
5c5c4eae-8f07-4128-9f84-0f2ed87319d9] libvirtError: internal error:
process exited while connecting to monitor: 2017-03-07T08:55:43.986446Z
qemu-system-x86_64: -chardev
socket,id=charnet0,path=/var/run/openvswitch/vhost_socket/vhufcf54d1f-
4b,server: Failed to bind socket to /var/run/openvswitch/vhost_socket
/vhufcf54d1f-4b: Permission denied

Here is full log: http://paste.ubuntu.com/24129861/
OVS_DPDK version: openvswitch-switch-dpdk   2.6.1-0ubuntu5~cloud0
DPDK Version:  dpdk  16.11-1ubuntu3~cloud0
Thanks

** Affects: nova
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1670950

Title:
  nova can't bind to dpdk (vhostuser) socket

Status in OpenStack Compute (nova):
  New

Bug description:
  Hi everyone. I'm installing Openstack Ocata version with OVS-DPDK. 
  I installed openvswitch-switch-dpdk packages from ubuntu repository. 
  I setup dpdk use this tutorial: https://help.ubuntu.com/lts/serverguide/DPDK.html
  And When I create a vhostuser port, It works and its socket is correct permission.
  But when I launch an instance on this compute node. It has failed. 

  2017-03-07 03:55:44.381 21100 ERROR nova.compute.manager [instance:
  5c5c4eae-8f07-4128-9f84-0f2ed87319d9] libvirtError: internal error:
  process exited while connecting to monitor:
  2017-03-07T08:55:43.986446Z qemu-system-x86_64: -chardev
  socket,id=charnet0,path=/var/run/openvswitch/vhost_socket/vhufcf54d1f-
  4b,server: Failed to bind socket to /var/run/openvswitch/vhost_socket
  /vhufcf54d1f-4b: Permission denied

  Here is full log: http://paste.ubuntu.com/24129861/
  OVS_DPDK version: openvswitch-switch-dpdk   2.6.1-0ubuntu5~cloud0
  DPDK Version:  dpdk  16.11-1ubuntu3~cloud0
  Thanks

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


Follow ups