[PVE-User] Issues with CPU and Memory HotPlug

Gilberto Nunes gilberto.nunes32 at gmail.com
Wed Jul 26 23:26:45 CEST 2017


Hi list

I am using PVE 5.0, and try to hotplug Memory and CPU.
I set the file
 /lib/udev/rules.d/80-hotplug-cpu-mem.rules, with

SUBSYSTEM=="cpu", ACTION=="add", TEST=="online", ATTR{online}=="0",
ATTR{online}="1"
SUBSYSTEM=="memory", ACTION=="add", TEST=="state",
ATTR{state}=="offline", ATTR{state}="online"

I have install a VM with Ubuntu 17.04, with ZFS as storage, with 4 GB of memory.

When I try decrease the memory, I receive a kernelops:

kernel BUG at /build/linux-Fsa3B1/linux-4.10.0/mm/memory_hotplug.c:2172

And in the web interface I get:

Parameter verification failed. (400)

memory: hotplug problem - 400 parameter verification failed. dimm5:
error unplug memory

This is the conf of the vm:

agent: 1
bootdisk: scsi0
cores: 2
cpu: Conroe
hotplug: disk,network,usb,memory,cpu
ide2: STG-01:iso/mini-ubuntu-64.iso,media=cdrom
memory: 2048
name: VM-Ubuntu
net0: virtio=FE:26:B8:AC:47:0B,bridge=vmbr0
numa: 1
ostype: l26
protection: 1
scsi0: STG-ZFS-01:vm-101-disk-1,size=32G
scsihw: virtio-scsi-pci
smbios1: uuid=5794fcd3-c227-46fe-bea9-84d41f75a0d7
sockets: 2
usb0: spice
usb1: spice
usb2: spice
vga: qxl


What is wrong???

Thanks



More information about the pve-user mailing list