Cannot create a VM with more vCPU than the NUMA zone with CPU pinning enabled

Solution In Progress - Updated -

Issue

  • Cannot create a VM with more vCPU than the NUMA zone when CPU pinning is enabled

  • The following error message is displayed in a nova show:

[root@hostname01 ~(openstack_az-admin01)]# nova show efe74acd-8c20-4b9a-beaf-1561cc3e541e
+--------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| Property                             | Value                                                                                                                                                                                                                                                                                                                                    |
+--------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| OS-DCF:diskConfig                    | MANUAL                                                                                                                                                                                                                                                                                                                                   |
| OS-EXT-AZ:availability_zone          | az                                                                                                                                                                                                                                                                                                                                |
| OS-EXT-SRV-ATTR:host                 | -                                                                                                                                                                                                                                                                                                                                        |
| OS-EXT-SRV-ATTR:hypervisor_hostname  | -                                                                                                                                                                                                                                                                                                                                        |
| OS-EXT-SRV-ATTR:instance_name        | instance-0000005d                                                                                                                                                                                                                                                                                                                        |
| OS-EXT-STS:power_state               | 0                                                                                                                                                                                                                                                                                                                                        |
| OS-EXT-STS:task_state                | -                                                                                                                                                                                                                                                                                                                                        |
| OS-EXT-STS:vm_state                  | error                                                                                                                                                                                                                                                                                                                                    |
| OS-SRV-USG:launched_at               | -                                                                                                                                                                                                                                                                                                                                        |
| OS-SRV-USG:terminated_at             | -                                                                                                                                                                                                                                                                                                                                        |
| accessIPv4                           |                                                                                                                                                                                                                                                                                                                                          |
| accessIPv6                           |                                                                                                                                                                                                                                                                                                                                          |
| config_drive                         |                                                                                                                                                                                                                                                                                                                                          |
| created                              | 2015-09-04T10:21:50Z                                                                                                                                                                                                                                                                                                                     |
| fault                                | {"message": "Build of instance efe74acd-8c20-4b9a-beaf-1561cc3e541e was re-scheduled: Insufficient compute resources: Requested instance NUMA topology cannot fit the given host NUMA topology.", "code": 500, "details": "  File \"/usr/lib/python2.7/site-packages/nova/compute/manager.py\", line 2075, in _do_build_and_run_instance |
|                                      |     filter_properties)                                                                                                                                                                                                                                                                                                                   |
|                                      |   File \"/usr/lib/python2.7/site-packages/nova/compute/manager.py\", line 2169, in _build_and_run_instance                                                                                                                                                                                                                               |
|                                      |     instance_uuid=instance.uuid, reason=e.format_message())                                                                                                                                                                                                                                                                              |
|                                      | ", "created": "2015-09-04T10:21:50Z"}                                                                                                                                                                                                                                                                                                    |
| flavor                               | flavor.hosting.19.1 (67)                                                                                                                                                                                                                                                                                                                 |
| hostId                               |                                                                                                                                                                                                                                                                                                                                          |
| id                                   | efe74acd-8c20-4b9a-beaf-1561cc3e541e                                                                                                                                                                                                                                                                                                     |
| image                                | mininet (4f7713b4-70b3-4119-bc5f-ac5e644e5c2c)                                                                                                                                                                                                                                                                                           |
| key_name                             | -                                                                                                                                                                                                                                                                                                                                        |
| metadata                             | {}                                                                                                                                                                                                                                                                                                                                       |
| name                                 | instance.hosting.19                                                                                                                                                                                                                                                                                                                      |
| os-extended-volumes:volumes_attached | []                                                                                                                                                                                                                                                                                                                                       |
| status                               | ERROR                                                                                                                                                                                                                                                                                                                                    |
| tenant_id                            | 6fb1f24e311949eaaf1cac9d8483a92c                                                                                                                                                                                                                                                                                                         |
| updated                              | 2015-09-04T10:21:50Z                                                                                                                                                                                                                                                                                                                     |
| user_id                              | 84a8d0e1dd8c48a8b6fcacafad378bb1                                                                                                                                                                                                                                                                                                         |
+--------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+

Environment

  • Red Hat OpenStack 6.0 (RHOS)

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content