NUMATopologyFilter pagesize logs are missleading
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Low
|
Stephen Finucane |
Bug Description
When the instance request mem pages via symbolic names (e.g. "large" instead of specifying the exact size) and the instance does not fit to a NUMA cell due to the memory requirements nova logs are confusing:
./nova-
This happens because the symbolic name translated to a negative integer placeholder inside nova. So when the field is printed it should be translated back to the symbolic name instead.
tags: | added: low-hanging-fruit numa |
Changed in nova: | |
status: | New → In Progress |
Changed in nova: | |
assignee: | nobody → Stephen Finucane (stephenfinucane) |
importance: | Undecided → Low |
Reviewed: https:/ /review. opendev. org/c/openstack /nova/+ /926223 /opendev. org/openstack/ nova/commit/ 4678bcbb064da58 0500b1dbeddb0bd fdeac074ef
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit 4678bcbb064da58 0500b1dbeddb0bd fdeac074ef
Author: Stephen Finucane <email address hidden>
Date: Tue Aug 13 17:24:31 2024 +0100
hardware: Correct log
We currently get the following error message if attempting to fit a
guest with hugepages on a node that doesn't have enough:
Host does not support requested memory pagesize, or not enough free
pages of the requested size. Requested: -2 kB
Correct this, removing the kB suffix and adding a note on the meaning of
the negative values, like we have for the success path.
Change-Id: I247dc0ec03cd9e 5a7b41f5c5534bd fb1af550029
Signed-off-by: Stephen Finucane <email address hidden>
Closes-Bug: #2075959