Rebuild server with NUMATopologyFilter enabled fails (in some cases)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Medium
|
sean mooney | ||
Queens |
In Progress
|
Low
|
sean mooney | ||
Rocky |
Fix Released
|
Medium
|
Lee Yarwood | ||
Stein |
Fix Committed
|
Medium
|
sean mooney | ||
Train |
Fix Committed
|
Medium
|
sean mooney |
Bug Description
Description
===========
server rebuild will fail in nova scheduler on NUMATopologyFilter if the computes do not have enough capacity (even though clearly the running server is already accounted into that calculation)
to resolve the issue a fix is required in NUMATopologyFilter to not perform the rebuild operation in the case that the request is due to rebuild.
the result of such a case will be that server rebuild will fail with error of "no valid host found"
(do not mix resize with rebuild functions...)
Steps to reproduce
==================
1. create a flavor that contain metadata that will point to a specific compute (use host aggregate with same key:value metadata
make sure flavor contain topology related metadata:
hw:cpu_cores='1', hw:cpu_
2. create a server on that compute (preferably using heat stack)
3. (try to) rebuild the server using stack update
4. issue reproduced
Expected result
===============
server in an active running state (if image was replaced in the rebuild command than with a reference to the new image in the server details.
Actual result
=============
server in error state with error of no valid host found.
Message
No valid host was found. There are not enough hosts available.
Code
500
Details
File "/usr/lib/
Environment
===========
detected in Rocky release
KVM hypervisor
Ceph storage
Neutron networks
Logs & Configs
==============
in nova.conf:
enabled_
logs: tbd
Changed in nova: | |
assignee: | nobody → Inbar Stolberg (inbarsto) |
description: | updated |
tags: | added: numa scheduler |
description: | updated |
Changed in nova: | |
status: | New → Confirmed |
Changed in nova: | |
status: | Confirmed → In Progress |
Changed in nova: | |
status: | In Progress → Confirmed |
tags: | added: rebuild |
Changed in nova: | |
status: | In Progress → Confirmed |
Changed in nova: | |
assignee: | David Hill (david-hill-ubisoft) → nobody |
importance: | Undecided → Medium |
Fix proposed to branch: master /review. openstack. org/629646
Review: https:/