Setting mem_stats_period_seconds=0 should prevent the “Virtio memory balloon” driver from loading
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Expired
|
Undecided
|
Unassigned |
Bug Description
Setting mem_stats_
We are running Rocky installed with openstack-ansible. To reproduce the error:
1. In nova.conf set "mem_stats_
2. Restart nova services on controllers and hypervisors
3. Build VM
4. Log into VM and type: lspci
5. lspci output will include "Red Hat, Inc. Virtio memory balloon"
For more information please see mailing list thread:
http://
The problem this causes is that the Virtio memory balloon driver is not able to address large amounts of RAM. We encountered the problem when we built VMs with 1.4T RAM. The VM cannot boot because the driver fails:
"BUG: unable to handle kernel paging request at ffff988b19478000"
root@us01odc-
ii nova-api 2:18.2.
ii nova-common 2:18.2.
ii nova-conductor 2:18.2.
ii nova-novncproxy 2:18.2.
ii nova-placement-api 2:18.2.
ii nova-scheduler 2:18.2.
ii python-nova 2:18.2.
ii python-novaclient 2:11.0.
root@us01odc-
4.0.0
root@us01odc-
QEMU emulator version 2.11.1(Debian 1:2.11+
root@us01odc-
11.0.0
root@us01odc-
openstack 3.16.1
I cannot reproduce the issue on master and the relevant code patch haven't change since rocky. Did you configure mem_stats_ period_ seconds = 0 config in the [libvirt] section of your nova.conf used by the nova-compute service? Did you restarted the nova-compute service after the reconfiguration? Also please note that such configuration change does not apply to the already running nova instances.