SRIOV instance getting failed with "Insufficient compute resources: Claim pci failed"
Issue
-
SRIOV instance getting failed with "Insufficient compute resources: Claim pci failed" while using compute node name in boot command.
-
Following messages reported in
/var/log/nova/nova-compute.log
file of compute node while trying to spawn explicitly mentioning compute node name in boot command.
2017-03-24 10:33:13.852 16430 DEBUG oslo_concurrency.lockutils [req-bd1ebcce-c405-4f69-96a2-5da880d934d7 07028d75792746dcba8247295d927066 108a66cdda004403afd589400fa68e0b - - -] Lock "b2a1ed23-de1a-4537-88bb-e7182d7e2cba" acquired by "nova.compute.manager._locked_do_build_and_run_instance" :: waited 0.000s inner /usr/lib/python2.7/site-packages/oslo_concurrency/lockutils.py:270
2017-03-24 10:33:13.853 16430 DEBUG oslo_messaging._drivers.amqpdriver [req-bd1ebcce-c405-4f69-96a2-5da880d934d7 07028d75792746dcba8247295d927066 108a66cdda004403afd589400fa68e0b - - -] CALL msg_id: 5027464e8dad4db38459bbe5464988fd exchange 'nova' topic 'conductor' _send /usr/lib/python2.7/site-packages/oslo_messaging/_drivers/amqpdriver.py:448
2017-03-24 10:33:13.866 16430 DEBUG oslo_messaging._drivers.amqpdriver [-] received reply msg_id: 5027464e8dad4db38459bbe5464988fd __call__ /usr/lib/python2.7/site-packages/oslo_messaging/_drivers/amqpdriver.py:296
2017-03-24 10:33:13.867 16430 DEBUG nova.compute.manager [req-bd1ebcce-c405-4f69-96a2-5da880d934d7 07028d75792746dcba8247295d927066 108a66cdda004403afd589400fa68e0b - - -] [instance: b2a1ed23-de1a-4537-88bb-e7182d7e2cba] Starting instance... _do_build_and_run_instance /usr/lib/python2.7/site-packages/nova/compute/manager.py:1750
2017-03-24 10:33:13.984 16430 INFO nova.compute.claims [req-bd1ebcce-c405-4f69-96a2-5da880d934d7 07028d75792746dcba8247295d927066 108a66cdda004403afd589400fa68e0b - - -] [instance: b2a1ed23-de1a-4537-88bb-e7182d7e2cba] Attempting claim: memory 4096 MB, disk 40 GB, vcpus 2 CPU
2017-03-24 10:33:13.984 16430 INFO nova.compute.claims [req-bd1ebcce-c405-4f69-96a2-5da880d934d7 07028d75792746dcba8247295d927066 108a66cdda004403afd589400fa68e0b - - -] [instance: b2a1ed23-de1a-4537-88bb-e7182d7e2cba] Total memory: 262014 MB, used: 2048.00 MB
2017-03-24 10:33:13.985 16430 INFO nova.compute.claims [req-bd1ebcce-c405-4f69-96a2-5da880d934d7 07028d75792746dcba8247295d927066 108a66cdda004403afd589400fa68e0b - - -] [instance: b2a1ed23-de1a-4537-88bb-e7182d7e2cba] memory limit not specified, defaulting to unlimited
2017-03-24 10:33:13.985 16430 INFO nova.compute.claims [req-bd1ebcce-c405-4f69-96a2-5da880d934d7 07028d75792746dcba8247295d927066 108a66cdda004403afd589400fa68e0b - - -] [instance: b2a1ed23-de1a-4537-88bb-e7182d7e2cba] Total disk: 50275 GB, used: 0.00 GB
2017-03-24 10:33:13.985 16430 INFO nova.compute.claims [req-bd1ebcce-c405-4f69-96a2-5da880d934d7 07028d75792746dcba8247295d927066 108a66cdda004403afd589400fa68e0b - - -] [instance: b2a1ed23-de1a-4537-88bb-e7182d7e2cba] disk limit not specified, defaulting to unlimited
2017-03-24 10:33:13.985 16430 INFO nova.compute.claims [req-bd1ebcce-c405-4f69-96a2-5da880d934d7 07028d75792746dcba8247295d927066 108a66cdda004403afd589400fa68e0b - - -] [instance: b2a1ed23-de1a-4537-88bb-e7182d7e2cba] Total vcpu: 56 VCPU, used: 0.00 VCPU
2017-03-24 10:33:13.985 16430 INFO nova.compute.claims [req-bd1ebcce-c405-4f69-96a2-5da880d934d7 07028d75792746dcba8247295d927066 108a66cdda004403afd589400fa68e0b - - -] [instance: b2a1ed23-de1a-4537-88bb-e7182d7e2cba] vcpu limit not specified, defaulting to unlimited
2017-03-24 10:33:13.989 16430 DEBUG nova.compute.manager [req-bd1ebcce-c405-4f69-96a2-5da880d934d7 07028d75792746dcba8247295d927066 108a66cdda004403afd589400fa68e0b - - -] [instance: b2a1ed23-de1a-4537-88bb-e7182d7e2cba] Insufficient compute resources: Claim pci failed.. _build_and_run_instance /usr/lib/python2.7/site-packages/nova/compute/manager.py:1930
2017-03-24 10:33:13.989 16430 DEBUG nova.compute.utils [req-bd1ebcce-c405-4f69-96a2-5da880d934d7 07028d75792746dcba8247295d927066 108a66cdda004403afd589400fa68e0b - - -] [instance: b2a1ed23-de1a-4537-88bb-e7182d7e2cba] Insufficient compute resources: Claim pci failed.. notify_about_instance_usage /usr/lib/python2.7/site-packages/nova/compute/utils.py:313
- Instance was getting with "no valid host error" message when compute node was not mentioned in boot command.
Environment
- Red Hat Openstack Platform 10.0
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.