[SOLVED] Resuming suspended VM -> TASK ERROR: NUMA needs to be enabled for memory hotplug

Feb 27, 2021
93
19
13
I've got a VM that is suspended to disk.

When I try to resume, it errors with "TASK ERROR: NUMA needs to be enabled for memory hotplug"
I cannot enable NUMA, since the VM is locked.

So I wonder how to resolve that problem.

BTW: While suspended no backups were made.

Here is the config of the VM:
Code:
# qm config 114

agent: 1
balloon: 0
boot: order=scsi0;ide2;net0
cores: 6
cpu: kvm64,flags=+ibpb;+virt-ssbd;+amd-ssbd;+aes
hotplug: disk,network,usb,memory,cpu
ide2: zdata-pve:iso/debian-live-10.8.0-amd64-xfce.iso,media=cdrom
lock: suspended
memory: 8000
name: debian-xfce
net0: virtio=8A:58:3E:B7:F7:0F,bridge=vmbr1,firewall=1
numa: 0
ostype: l26
rng0: source=/dev/urandom
runningcpu: kvm64,+aes,+amd-ssbd,enforce,+ibpb,+kvm_pv_eoi,+kvm_pv_unhalt,+lahf_lm,+sep,+virt-ssbd
runningmachine: pc-i440fx-5.1+pve0
scsi0: local-zfs:vm-114-disk-0,discard=on,size=64G,ssd=1
scsihw: virtio-scsi-pci
serial0: socket
smbios1: uuid=d2c002a3-7f12-4896-bcc3-4462b22afd8d
sockets: 1
vmgenid: 58320bb1-22d7-4dd1-b1ac-e7860195a65d
vmstate: local-zfs:vm-114-state-suspend-2021-03-26

And the pveversion:

Code:
# pveversion -v

proxmox-ve: 6.3-1 (running kernel: 5.4.106-1-pve)
pve-manager: 6.3-6 (running version: 6.3-6/2184247e)
pve-kernel-5.4: 6.3-8
pve-kernel-helper: 6.3-8
pve-kernel-5.4.106-1-pve: 5.4.106-1
pve-kernel-5.4.103-1-pve: 5.4.103-1
pve-kernel-5.4.73-1-pve: 5.4.73-1
ceph-fuse: 12.2.11+dfsg1-2.1+b1
corosync: 3.1.0-pve1
criu: 3.11-3
glusterfs-client: 5.5-3
ifupdown: residual config
ifupdown2: 3.0.0-1+pve3
ksm-control-daemon: 1.3-1
libjs-extjs: 6.0.1-10
libknet1: 1.20-pve1
libproxmox-acme-perl: 1.0.8
libproxmox-backup-qemu0: 1.0.2-1
libpve-access-control: 6.1-3
libpve-apiclient-perl: 3.1-3
libpve-common-perl: 6.3-5
libpve-guest-common-perl: 3.1-5
libpve-http-server-perl: 3.1-1
libpve-storage-perl: 6.3-7
libqb0: 1.0.5-1
libspice-server1: 0.14.2-4~pve6+1
lvm2: 2.03.02-pve4
lxc-pve: 4.0.6-2
lxcfs: 4.0.6-pve1
novnc-pve: 1.1.0-1
proxmox-backup-client: 1.0.13-1
proxmox-mini-journalreader: 1.1-1
proxmox-widget-toolkit: 2.4-9
pve-cluster: 6.2-1
pve-container: 3.3-4
pve-docs: 6.3-1
pve-edk2-firmware: 2.20200531-1
pve-firewall: 4.1-3
pve-firmware: 3.2-2
pve-ha-manager: 3.1-1
pve-i18n: 2.2-2
pve-qemu-kvm: 5.1.0-8
pve-xtermjs: 4.7.0-3
pve-zsync: 2.0-4
qemu-server: 6.3-8
smartmontools: 7.2-pve2
spiceterm: 3.1-1
vncterm: 1.6-2
zfsutils-linux: 2.0.4-pve1
 
hi,

you can try running qm unlock VMID, and then you should be able to enable numa (also try taking a snapshot or backup)
 
After qm unlock, the symbol for suspended to disk disappeared.
I enabled NUMA. The Resume button changed to start.

New error message: TASK ERROR: memory size (8000) must be aligned to 512 for hotplugging
 
I changed the memory to 8192, no error, but it did not start either. Then the resume button reappeared, and it started.
Hooray! But now I cannot unlock the encrypted disk.

OK my suspend to disk experiment has failed.

To sum it up:
It needs NUMA enabled and RAM to be a power of 2.
Anything else?
 
Last edited:
OK my suspend to disk experiment has failed.

To sum it up:
It needs NUMA enabled and RAM to be a power of 2.
Anything else?
to clarify, suspend to disk should work. numa was needed for memory hotplugging (which you had in your configuration)

you're welcome!
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!