Find none logs when not fitting numa topology in nova-compute log
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Description
===========
When 'host_topology' can not be satified with 'requested_
nova-compute returns the msg to nova-conductor but there is no logs
in nova-compute.log. Thouth there are some debug logs, but `debug`
configuration is not be set to true in production environment. So
the warning log should be added.
Steps to reproduce
==================
* Set flavor with hugepage and total ram that exceeds the limit configured on the node
openstack flavor create --vcpus 2 --ram 3000 --disk 10 --property hw:mem_
On the node:
vm.nr_hugepages = 20480
* Create one vm with the flavor
openstack server create --image 1512209c-
Expected result
===============
Find failed logs in nova-compute.log
Actual result
=============
Find no logs, and the failed logs can be found in nova-conductor.log
Environment
===========
Libvirt + KVM
nova:
$ git log
commit 90455cdae3fae52
Merge: 97c3517e7e 5d65680095
Author: Zuul <email address hidden>
Date: Sun Jun 27 07:27:03 2021 +0000
Merge "libvirt: Set driver_iommu when attaching virtio devices to SEV instance" into stable/wallaby
Changed in nova: | |
status: | New → In Progress |
Reviewed: https:/ /review. opendev. org/c/openstack /nova/+ /798187 /opendev. org/openstack/ nova/commit/ 97a566ad9c3a6ab 059dc94d154fb74 7e4b7d9ccd
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit 97a566ad9c3a6ab 059dc94d154fb74 7e4b7d9ccd 163.com>
Author: ericxiett <eric_xiett@
Date: Sat Jun 26 09:53:27 2021 +0000
Add logs when cannot fit numa
When 'host_topology' can not be satified with 'requested_ topology' ,
nova-compute returns the msg to nova-conductor but there is no logs
in nova-compute.log. So this patch adds some info log.
Closes-Bug: #1934412 48340ffab0a6f85 bc4906738a3
Change-Id: Iff44abf002aac5