[SOLVED] cannot allocate more than 1GB of ram after ram hotplug enabled

lethargos

Well-Known Member
Jun 10, 2017
134
6
58
74
I'm trying to assign 4GB of ram to a virtual machine, but after I enabled hotplug for memory and cpu, the ram that the vm sees is not 991 (actually 1GB). Before enabling the hotplug, it worked as as expected.
Any ideas what's going on?
I'm running proxmox 5.1-41 and the vm is running Ubuntu 16.04.5
qemu-guest-agent is installed. I'm using a fixed value of 4096MB without ballooning checked (it doesn't work if even I check it and even if I set a dynamic range). The VM is up to update.
Code:
NUMA is also enabled and there are 4 cores and 1 slot allocated.
qm config 486
agent: 1
balloon: 0
bootdisk: scsi0
cores: 4
description: 10.10.10.231%0A2a00%3Aff0%3A8888%3A2%3A%3A3%0A+ 2a00%3Aff0%3A8888%3A2%3A%3A4 2a00%3Aff0%3A8888%3A2%3A%3A83/64
hotplug: disk,network,memory,cpu
ide2: local:iso/ubuntu-16.04.3-server-amd64.iso,media=cdrom
memory: 4096
name: al-vm
net0: rtl8139=4E:20:2F:C8:9C:31,bridge=vmbr2
numa: 1
onboot: 1
ostype: l26
scsi0: local-lvm:vm-486-disk-1,size=50G
scsihw: virtio-scsi-pci
smbios1: uuid=27cec0b9-0895-4eba-989d-79332fc951cb
sockets: 1


Any ideas what's going on?
 
Last edited:
  • Like
Reactions: lethargos

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!