[Starlingx-discuss] Integration Openstack and SRIOV - Cannotdeploy a VM
Mariano Ucha
lw2dht at gmail.com
Thu Oct 17 02:05:02 UTC 2019
Hi Chenjie!
I’m trying to deploy a CentOS VM with a SRIOV Port.
I use this section of the link:
Configure SR-IOV with OpenStack
The only difference that i used openstack command instead of neutron port….
Regards,
Mariano
De: Xu, Chenjie
Enviado: miércoles, 16 de octubre de 2019 22:48
Para: Mariano Ucha; Discussion List StarlingX
Asunto: RE: [Starlingx-discuss] Integration Openstack and SRIOV - Cannotdeploy a VM
Hi Mariano,
What are you trying to deploy?
1. Normal VM.
2. Passthrough a physical NIC to VM
3. Passthrough a VF to VM
Which configuration guide in the following link is used?
https://wiki.openstack.org/wiki/StarlingX/Networking
Best Regards,
Xu, Chenjie
From: Mariano Ucha <lw2dht at gmail.com>
Sent: Thursday, October 17, 2019 3:33 AM
To: Discussion List StarlingX <starlingx-discuss at lists.starlingx.io>
Subject: [Starlingx-discuss] Integration Openstack and SRIOV - Cannot deploy a VM
Hi guys,
I’m trying to deploy a VM on a baremetal ST 2.0 STX AIO. I have a dual nic port with SRIOV Support.
I didn’t find a documentation how to configure at openstack level in theDeployment guide. I use some config that i found in the wiki Network
https://wiki.openstack.org/wiki/StarlingX/Networking
I can configure networks, subnet and ports. But when i deploy a VM i got this error:
Message Exceeded maximum number of retries. Exhausted all hosts available for retrying build failures for instance add8e0d3-4ce0-4611-8f26-0032484fb8f8.
Code 500
Details File "/var/lib/openstack/lib/python2.7/site-packages/nova/conductor/manager.py", line 627, in build_instances raise exception.MaxRetriesExceeded(reason=msg)
Created Oct. 16, 2019, 4:06 p.m.
I found more detailed error in nova-conductor
2019-10-16 19:06:57.076 1 ERROR nova.scheduler.utils [req-7f352cf5-d9b4-4478-abfc-f68d7298ea85 bc5015570893422bb07d9292ddfa1edc 77eaa44ce5124f6685fe27ac91758427 - default default] [instance: add8e0d3-4ce0-4611-8f26-0032484fb8f8] Error from last host: controller-0 (node controller-0): [u'Traceback (most recent call last):\n', u' File "/var/lib/openstack/lib/python2.7/site-packages/nova/compute/manager.py", line 1984, in _do_build_and_run_instance\n filter_properties, request_spec)\n', u' File "/var/lib/openstack/lib/python2.7/site-packages/nova/compute/manager.py", line 2354, in _build_and_run_instance\n instance_uuid=instance.uuid, reason=six.text_type(e))\n', u'RescheduledException: Build of instance add8e0d3-4ce0-4611-8f26-0032484fb8f8 was re-scheduled: Binding failed for port 3bfaeb9c-428c-45ed-9879-14214f55a967, please check neutron logs for more information.\n']
Neutron-server logs
2019-10-16 19:06:52.161 15 ERROR neutron.plugins.ml2.managers [req-37355674-5d1f-4923-a2c4-2a6d28f6a39c 45b05cb1801d4c6e84cad7f33d37cdb5 253d07aff5f34a3caa9c4352e0e6070c - 8d7d355905a045ddaef6f8826cab5ad0 8d7d355905a045ddaef6f8826cab5ad0] Failed to bind port 3bfaeb9c-428c-45ed-9879-14214f55a967 on host controller-0 for vnic_type normal using segments [{'network_id': '8a88d512-11e8-4938-847a-c8bed1e24fe0', 'segmentation_id': 10, 'physical_network': u'physnet0', 'id': '6bf6f798-b168-4845-983c-376fbcd07a35', 'network_type': u'vlan'}]
2019-10-16 19:06:52.161 15 ERROR neutron.plugins.ml2.managers [req-37355674-5d1f-4923-a2c4-2a6d28f6a39c 45b05cb1801d4c6e84cad7f33d37cdb5 253d07aff5f34a3caa9c4352e0e6070c - 8d7d355905a045ddaef6f8826cab5ad0 8d7d355905a045ddaef6f8826cab5ad0] Failed to bind port 3bfaeb9c-428c-45ed-9879-14214f55a967 on host controller-0 for vnic_type normal using segments [{'network_id': '8a88d512-11e8-4938-847a-c8bed1e24fe0', 'segmentation_id': 10, 'physical_network': u'physnet0', 'id': '6bf6f798-b168-4845-983c-376fbcd07a35', 'network_type': u'vlan'}]
2019-10-16 19:06:52.162 15 INFO neutron.plugins.ml2.plugin [req-37355674-5d1f-4923-a2c4-2a6d28f6a39c 45b05cb1801d4c6e84cad7f33d37cdb5 253d07aff5f34a3caa9c4352e0e6070c - 8d7d355905a045ddaef6f8826cab5ad0 8d7d355905a045ddaef6f8826cab5ad0] Attempt 10 to bind port 3bfaeb9c-428c-45ed-9879-14214f55a967
2019-10-16 19:06:52.162 15 INFO neutron.plugins.ml2.plugin [req-37355674-5d1f-4923-a2c4-2a6d28f6a39c 45b05cb1801d4c6e84cad7f33d37cdb5 253d07aff5f34a3caa9c4352e0e6070c - 8d7d355905a045ddaef6f8826cab5ad0 8d7d355905a045ddaef6f8826cab5ad0] Attempt 10 to bind port 3bfaeb9c-428c-45ed-9879-14214f55a967
2019-10-16 19:06:52.186 15 ERROR neutron.plugins.ml2.managers [req-37355674-5d1f-4923-a2c4-2a6d28f6a39c 45b05cb1801d4c6e84cad7f33d37cdb5 253d07aff5f34a3caa9c4352e0e6070c - 8d7d355905a045ddaef6f8826cab5ad0 8d7d355905a045ddaef6f8826cab5ad0] Failed to bind port 3bfaeb9c-428c-45ed-9879-14214f55a967 on host controller-0 for vnic_type normal using segments [{'network_id': '8a88d512-11e8-4938-847a-c8bed1e24fe0', 'segmentation_id': 10, 'physical_network': u'physnet0', 'id': '6bf6f798-b168-4845-983c-376fbcd07a35', 'network_type': u'vlan'}]
2019-10-16 19:06:52.186 15 ERROR neutron.plugins.ml2.managers [req-37355674-5d1f-4923-a2c4-2a6d28f6a39c 45b05cb1801d4c6e84cad7f33d37cdb5 253d07aff5f34a3caa9c4352e0e6070c - 8d7d355905a045ddaef6f8826cab5ad0 8d7d355905a045ddaef6f8826cab5ad0] Failed to bind port 3bfaeb9c-428c-45ed-9879-14214f55a967 on host controller-0 for vnic_type
Anything i can check? Oror parhaps I miss some some configuration on the host.
Thanks in advance.
Regards,
Mariano
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.starlingx.io/pipermail/starlingx-discuss/attachments/20191016/f6231170/attachment.html>
More information about the Starlingx-discuss
mailing list