Hi Nishant, Mellanox plugin supports two types of VF provisioning , as pci passthrough (hostdev) and as macvtap (mlnx_direct) vNIC. According to the log, you want to use the first flavor (hostdev).
Please follow the following instructions in: http://Community.mellanox.com/community/develop/<http://community.mellanox.com/community/develop/> - After the installation perform the following changes for setting the 'probe_vf' option in mlx4_core. In case you want all VFs to be used in pci passthrough mode, set the probe_vf = 0. In case you need further assistance, please contact us at openst...@mellanox.com<mailto:openst...@mellanox.com> Best Regards, Irena From: nishant kumar [mailto:nishantkumar...@yahoo.com] Sent: Monday, January 27, 2014 10:19 AM To: openstack@lists.openstack.org Subject: [Openstack] Need help on openstack mellanox quantum plugin setup Hi there! I have setup a compute node with openstack networking enabled by the mellanox neutron plugin on RH6.4. I have enabled SR-IOV and created 4 VFs. They all show up in ifconfig. I tried creating an instance using 'nova boot' command. However it is in error state. I created network, subnet and ports successfully by following this doc: http://www.mellanox.com/related-docs/applications/Mellanox-OpenStack-Solution-for-Red-Hat.pdf I created an instance using following command: nova boot --flavor 1 --image 7f8460fd-6928-49ae-bef8-055a1de3e39a cirrOS --nic port-id=98f537b2-27dc-4583-ad1a-85edbd74987a The instance was in error state and eswitchd.log shows this: 2014-01-26 09:41:36,549 DEBUG PF eth4, eths=['eth6', 'eth7', 'eth8', 'eth9'], vfs=[] - - - - - - - - - - - - truncated - - - - - - - - - - - - 2014-01-26 10:43:13,320 DEBUG vnics are {} 2014-01-26 10:43:13,746 DEBUG Handling message - {u'action': u'get_vnics', u'fabric': u'*'} 2014-01-26 10:43:13,746 DEBUG fabrics =['default'] 2014-01-26 10:43:13,747 DEBUG vnics are {} 2014-01-26 10:43:14,565 DEBUG Handling message - {u'fabric': u'default', u'dev_name': None, u'vnic_type': u'hostdev', u'action': u'create_port', u'vnic_mac': u'fa:16:3e:c9:c2:23', u'device_id': u'e106da24-9b10-4c4c-87a0-66276f025c6e'} 2014-01-26 10:43:14,565 ERROR exception on device allocation on dev None - No available resources. 2014-01-26 10:43:14,566 ERROR Create port operation failed My queries are: - Does my setup look ok? - I guess since I am using SR-IOV, the adapter is presenting VFs as PFs to OS. Is this understanding correct? - vfs list is empty (Log says vfs=[]). Is this OK? Please comment/advise on what could be the issue. Thanks, Nishant
_______________________________________________ Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack Post to : openstack@lists.openstack.org Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack