VM boot up failed by Insufficient compute resources
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
| StarlingX |
Medium
|
ya.wang |
Bug Description
Brief Description
-----------------
Boot up 5 or more VMs, then delete these VMs. Right after, try to Boot up another VM failed. The fault message shows "Insufficient compute resources: Requested instance NUMA topology cannot fit the given host NUMA topology".
Severity
--------
Major
Steps to Reproduce
------------------
boot up 5 VMs
delete 5 VMs
boot up VM again
TC-name:
nova/test_
Expected Behavior
------------------
Actual Behavior
----------------
Reproducibility
---------------
Intermittent (3/5)
System Configuration
-------
Multi-node system
Lab-name: WCP_3-6
Branch/Pull Time/Commit
-------
2019-11-21_20-00-00
Last Pass
---------
2019-08-23_20-59-00
Timestamp/Logs
--------------
[2019-11-23 03:21:26,350] 311 DEBUG MainThread ssh.send :: Send 'nova --os-username 'admin' --os-password 'Li69nux*' --os-project-name admin --os-auth-url http://
[2019-11-23 03:21:35,686] 311 DEBUG MainThread ssh.send :: Send 'openstack --os-username 'admin' --os-password 'Li69nux*' --os-project-name admin --os-auth-url http://
[2019-11-23 03:21:37,584] 433 DEBUG MainThread ssh.expect :: Output:
+------
| ID | Name | Status | Networks | Image | Flavor |
+------
| 85f81e5b-
| a2615cc1-
| 795fe009-
| 77a0104a-
| 145cbde0-
+------
controller-0:~$
# delete all VMs
[2019-11-23 03:21:53,271] 311 DEBUG MainThread ssh.send :: Send 'openstack --os-username 'admin' --os-password 'Li69nux*' --os-project-name admin --os-auth-url http://
[2019-11-23 03:21:54,955] 433 DEBUG MainThread ssh.expect :: Output:
controller-0:~$
[2019-11-23 03:21:55,011] 225 DEBUG MainThread table_parser.table :: No table returned
[2019-11-23 03:21:55,012] 2901 INFO MainThread vm_helper.
[2019-11-23 03:22:49,700] 476 DEBUG MainThread ssh.exec_cmd:: Executing command...
[2019-11-23 03:22:49,700] 311 DEBUG MainThread ssh.send :: Send 'nova --os-username 'tenant1' --os-password 'Li69nux*' --os-project-name tenant1 --os-auth-url http://
[2019-11-23 03:22:57,115] 433 DEBUG MainThread ssh.expect :: Output:
+------
| Property | Value |
+------
| OS-DCF:diskConfig | MANUAL |
| OS-EXT-
| OS-EXT-
| OS-EXT-
| OS-EXT-
| OS-EXT-
| OS-EXT-
| OS-EXT-
| OS-EXT-
| OS-EXT-
| OS-EXT-
| OS-EXT-
| OS-EXT-
| OS-EXT-
| OS-EXT-STS:vm_state | building |
| OS-SRV-
| OS-SRV-
| accessIPv4 | |
| accessIPv6 | |
| adminPass | 2SQ3c5u5rVZC |
| config_drive | |
| created | 2019-11-
| description | - |
| flavor:disk | 1 |
| flavor:ephemeral | 0 |
| flavor:extra_specs | {"hw:mem_
| flavor:
| flavor:ram | 1536 |
| flavor:swap | 0 |
| flavor:vcpus | 3 |
| hostId | |
| host_status | |
| id | 4ae6d555-
| image | Attempt to boot from volume - no image supplied |
| key_name | keypair-tenant1 |
| locked | False |
| metadata | {} |
| name | tenant1-
| os-extended-
| progress | 0 |
| security_groups | default |
| server_groups | [] |
| status | BUILD |
| tags | [] |
| tenant_id | e6eda99366be449
| trusted_
| updated | 2019-11-
| user_id | 6ba2a9882ccb476
+------
Server building... 0% complete
Error building server
ERROR (ResourceInErro
controller-0:~$
[2019-11-23 03:22:57,172] 311 DEBUG MainThread ssh.send :: Send 'openstack --os-username 'admin' --os-password 'Li69nux*' --os-project-name admin --os-auth-url http://
| created | 2019-11-
| fault | {u'message': u'Insufficient compute resources: Requested instance NUMA topology cannot fit the given host NUMA topology.', u'code': 500, u'details': u' File "/var/lib/
| flavor | pve_flavor_0 (f52b4a9d-
Test Activity
-------------
Regression Testing
Peng Peng (ppeng) wrote : | #1 |
Peng Peng (ppeng) wrote : | #2 |
tags: | added: stx.distro.openstack |
Changed in starlingx: | |
assignee: | nobody → yong hu (yhu6) |
tags: | added: stx.retestneeded |
Ghada Khalil (gkhalil) wrote : | #3 |
yong hu (yhu6) wrote : | #4 |
@shuquan, could you help assign someone working on this LP?
Changed in starlingx: | |
assignee: | yong hu (yhu6) → Shuquan Huang (shuquan) |
tags: | added: stx.3.0 |
Changed in starlingx: | |
importance: | Undecided → Medium |
Changed in starlingx: | |
assignee: | Shuquan Huang (shuquan) → ya.wang (ya.wang) |
ya.wang (ya.wang) wrote : | #5 |
1. From L85-88 of log "ALL_NODES_
2. From L329098 and L332060 of log "TIS_AUTOMATION
All flavors above have attribute "hw:mem_
3. When nova create NUMA instance, it will try to generate a suitable NUMA topology for the instance.[2] In this scene the topology should match the requested page size. It needs that the free memory of the suitable page size large than instance memory(flavor ram), and the instance memory can be divided by the page size.[3][4]
The attribute "hw:mem_
Suggestion: Set the flavor ram to 2^n(n>=0) GiB, which can be divided by 1 GiB.
[1]: https:/
[2]: https:/
[3]: https:/
[4]: https:/
ya.wang (ya.wang) wrote : | #6 |
In fact, nova will check NUMA topology during schedule and filter the mismatched compute nodes.
But in this case, you specified '--availability
[1] https:/
[2] https:/
@Yong, please triage and decide whether this is gating for stx.3.0 or not.