[openstack-dev] [neutron][sriov]mellanox infiniband sr-iov with openstack neutron sriov agent error

Moshe Levi moshele at mellanox.com
Wed Nov 30 07:34:17 UTC 2016


The SR-IOV agent support only Ethernet.
For InfiniBand should mlnx_ib mechanism driver.

From: Lenny Verkhovsky [mailto:lennyb at mellanox.com]
Sent: Wednesday, November 30, 2016 9:27 AM
To: OpenStack Development Mailing List (not for usage questions) <openstack-dev at lists.openstack.org>
Subject: Re: [openstack-dev] [neutron][sriov]mellanox infiniband sr-iov with openstack neutron sriov agent error

Yang,
Please try following WikiPage[1].

[1] https://wiki.openstack.org/wiki/Mellanox-Neutron-Liberty-Redhat-InfiniBand


From: 李阳 [mailto:yang.li at easystack.cn]
Sent: Wednesday, November 30, 2016 6:55 AM
To: openstack-dev at lists.openstack.org<mailto:openstack-dev at lists.openstack.org>
Subject: [openstack-dev] [neutron][sriov]mellanox infiniband sr-iov with openstack neutron sriov agent error


Hi all;
I got an issue for sriov-nic-agent .
environment :
OpenStack:liberty
OS:CentOS 7.2,3.10.0-327.20.1.es2.el7.x86_64
Mellanox type:Mellanox MT27500 Family [ConnectX-3]
Mellanox driver:OFED_LINUX-3.4-1.0.0.0-rhel7.2-x86_64
what I need:
  With sriov configuration on mellanox ib with infiniband mode,use neutron sriov agent to attache vf port to VMs。
issue :
  the Mellanox ib SR-IOV has been configured:
  [cid:image001.png at 01D24AEC.E9368F90]

  and neutron sriov nic agent is also running ,bug the log showed like this:
  [cid:image002.png at 01D24AEC.E9368F90]

after reading the code of sriov nic agent, the agent use ip link show ib0 to get vfs, but in infiniband mode, it doesn't work
  [cid:image003.png at 01D24AEC.E9368F90]
  when the mode is Ethernet, it worked well:
  [cid:image004.png at 01D24AEC.E9368F90]
It seems the sriov nic agent doesn't support infiniband mode.
But according to openstack wiki, the infiniband should be supported.
https://wiki.openstack.org/wiki/Mellanox-OpenStack
https://wiki.openstack.org/wiki/SR-IOV-Passthrough-For-Networking

so I don't what's wrong with my environment, can someone answer me ?


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20161130/8147569b/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 30125 bytes
Desc: image001.png
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20161130/8147569b/attachment-0004.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.png
Type: image/png
Size: 44838 bytes
Desc: image002.png
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20161130/8147569b/attachment-0005.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image003.png
Type: image/png
Size: 6832 bytes
Desc: image003.png
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20161130/8147569b/attachment-0006.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image004.png
Type: image/png
Size: 56932 bytes
Desc: image004.png
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20161130/8147569b/attachment-0007.png>


More information about the OpenStack-dev mailing list