<html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:10pt"><div>Hi there!<br><br>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.<br><br>I created network, subnet and ports successfully by following this doc:<br>http://www.mellanox.com/related-docs/applications/Mellanox-OpenStack-Solution-for-Red-Hat.pdf<br><br>I created an instance using following command:<br>nova boot --flavor 1 --image 7f8460fd-6928-49ae-bef8-055a1de3e39a cirrOS --nic port-id=98f537b2-27dc-4583-ad1a-85edbd74987a<br><br>The instance was in error state and eswitchd.log shows this:<br>2014-01-26 09:41:36,549 DEBUG PF eth4, eths=['eth6', 'eth7', 'eth8', 'eth9'], vfs=[]<br>- - - -
 - - - - - - - - truncated - - - - - - - - - - - -<br>2014-01-26 10:43:13,320 DEBUG vnics are {}<br>2014-01-26 10:43:13,746 DEBUG Handling message - {u'action': u'get_vnics', u'fabric': u'*'}<br>2014-01-26 10:43:13,746 DEBUG fabrics =['default']<br>2014-01-26 10:43:13,747 DEBUG vnics are {}<br>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'}<br>2014-01-26 10:43:14,565 ERROR exception on device allocation on dev  None - No available resources.<br>2014-01-26 10:43:14,566 ERROR Create port operation failed<br><br>My queries are:<br>    - Does my setup look ok?<br>    - I guess since I am using SR-IOV, the adapter is presenting VFs as PFs to OS. Is this understanding correct?<br>    - vfs list is empty (Log says vfs=[]). Is
 this OK?<br><br>Please comment/advise on what could be the issue.<br><br>Thanks,<br>Nishant<span><br></span></div></div></body></html>