Ask Your Question
0

Need help on openstack mellanox quantum plugin [closed]

asked 2014-01-27 01:56:39 -0500

nishant80 gravatar image

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

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by koolhead17
close date 2014-02-17 14:23:01.864054

1 answer

Sort by » oldest newest most voted
0

answered 2014-01-27 22:48:49 -0500

nishant80 gravatar image

I got a response from a mellanox community user. He suggested to follow this doc: http://community.mellanox.com/docs/DOC-1317 And do this after installation: Set 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.

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2014-01-27 01:56:39 -0500

Seen: 88 times

Last updated: Feb 17 '14