2 Replies Latest reply on Jan 27, 2014 8:37 PM by nishant80

    Need help on openstack mellanox quantum plugin

      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