Hi I am facing issue on Cloudstack 4.15. KVM, (ubuntu 20) agent, i am assigning 4000M RAM to a VM ,however inside the VM , only it is getting 240M RAM.
Other of the hypervisor I am running Cloudstack on Ubuntu 18,and it has no such issue. Those VM that previously ran fine , transfer over here, it seems to have this issue. following is running at hypervisor , and seem statement 4000M is correct /usr/bin/qemu-system-x86_64 -name guest=i-2-9735-VM,debug-threads=on -S -object secret,id=masterKey0,format=raw,file=/var/lib/libvirt/qemu/domain-2-i-2-9735-VM/master-key.aes -machine pc-i440fx-4.2,accel=kvm,usb=off,dump-guest-core=off -cpu qemu64 -m 4000 -overcommit mem-lock=off -smp 2,sockets=2,cores=1,threads=1 -uuid 18eb1d52-1887-4d4d-94ae-7ba9916f06de -smbios type=1,manufacturer=Apache Software Foundation,product=CloudStack KVM Hypervisor,uuid=18eb1d52-1887-4d4d-94ae-7ba9916f06de -no-user-config -nodefaults -chardev socket,id=charmonitor,fd=34,server,nowait -mon chardev=charmonitor,id=monitor,mode=control -rtc base=utc -no-shutdown -boot strict=on -device piix3-usb-uhci,id=usb,bus=pci.0,addr=0x1.0x2 -device virtio-serial-pci,id=virtio-serial0,bus=pci.0,addr=0x4 -blockdev {"driver":"file","filename":"/mnt/bfb5965d-b463-3111-84a2-3f1609ffe81a/b4120a39-7a5a-47a7-a2b0-ecb850a46858","node-name":"libvirt-3-storage","cache":{"direct":true,"no-flush":false},"auto-read-only":true,"discard":"unmap"} -blockdev {"node-name":"libvirt-3-format","read-only":true,"cache":{"direct":true,"no-flush":false},"driver":"qcow2","file":"libvirt-3-storage","backing":null} -blockdev {"driver":"file","filename":"/mnt/bfb5965d-b463-3111-84a2-3f1609ffe81a/d2a84eb3-50c3-4928-8927-b40edebb3195","node-name":"libvirt-2-storage","cache":{"direct":true,"no-flush":false},"auto-read-only":true,"discard":"unmap"} -blockdev {"node-name":"libvirt-2-format","read-only":false,"cache":{"direct":true,"no-flush":false},"driver":"qcow2","file":"libvirt-2-storage","backing":"libvirt-3-format"} -device virtio-blk-pci,scsi=off,bus=pci.0,addr=0x5,drive=libvirt-2-format,id=virtio-disk0,bootindex=2,write-cache=on,serial=d2a84eb350c349288927 -device ide-cd,bus=ide.1,unit=0,id=ide0-1-0,bootindex=1 -netdev tap,fd=36,id=hostnet0,vhost=on,vhostfd=37 -device virtio-net-pci,netdev=hostnet0,id=net0,mac=1e:00:0b:00:19:49,bus=pci.0,addr=0x3 -chardev pty,id=charserial0 -device isa-serial,chardev=charserial0,id=serial0 -chardev socket,id=charchannel0,fd=38,server,nowait -device virtserialport,bus=virtio-serial0.0,nr=1,chardev=charchannel0,id=channel0,name=org. qemu.guest_agent.0 -device usb-tablet,id=input0,bus=usb.0,port=1 -vnc 172.20.236.42:0,password -device cirrus-vga,id=video0,bus=pci.0,addr=0x2 -device i6300esb,id=watchdog0,bus=pci.0,addr=0x7 -watchdog-action none -device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x6 -sandbox on,obsolete=deny,elevateprivileges=deny,spawn=deny,resourcecontrol=deny -msg timestamp=on -- Regards, Hean Seng