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

Lenny Verkhovsky lennyb at mellanox.com
Wed Nov 30 07:27:22 UTC 2016


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
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 01D24AEB.F0B1A670]

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

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 01D24AEB.F0B1A670]
  when the mode is Ethernet, it worked well:
  [cid:image004.png at 01D24AEB.F0B1A670]
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/b18fbe86/attachment.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/b18fbe86/attachment.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/b18fbe86/attachment-0001.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/b18fbe86/attachment-0002.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/b18fbe86/attachment-0003.png>


More information about the OpenStack-dev mailing list