-
Bug
-
Resolution: Done-Errata
-
Critical
-
CNV v4.16.0
-
None
-
8
-
False
-
-
False
-
virt-launcher-rhel9-container-v4.16.0-292
-
CNV-33617 - Dynamic VM reconfiguration
-
---
-
---
-
-
CNV Virtualization Sprint 255
-
No
Description of problem:
A VM with 4GB of memory fails to launch
Version-Release number of selected component (if applicable):
4.16 nightly
How reproducible:
Always
Steps to Reproduce:
1. {{oc apply -f vm.yaml}} (see attachment) 2. {{oc get vm}} 3.
Actual results:
{"component":"virt-launcher","level":"info","msg":"2024-06-13T09:32:33.203522Z qemu-kvm: -device {\"driver\":\"virtio-mem-pci\",\"node\":0,\"block-size\":2097152,\"memdev\":\"memvirtiomem0\",\"id\":\"virtiomem0\",\"bus\":\"pci.10\",\"addr\":\"0x0\"}: not enough space, currently 0x0 in use of total space for memory devices 0x2cb400000","subcomponent":"libvirt","timestamp":"2024-06-13T09:32:33.204272Z"} when switched to 1GB memory, the following error appears: {"component":"virt-launcher","level":"error","msg":"XML error: maximum memory size must be equal or greater than the actual memory size","pos":"virDomainDefPostParseMemory:83","subcomponent":"libvirt","thread":"35","timestamp":"2024-06-13T12:23:41.937000Z"} {"component":"virt-launcher","kind":"","level":"error","msg":"Defining the VirtualMachineInstance failed.","name":"fedora-0","namespace":"fabiand","pos":"libvirt_helper.go:136","reason":"virError(Code=27, Domain=20, Message='XML error: maximum memory size must be equal or greater than the actual memory size')","timestamp":"2024-06-13T12:23:41.937970Z","uid":"196f6489-782f-4bc0-a465-2795e7073170"} {"component":"virt-launcher","kind":"","level":"error","msg":"Failed to sync vmi","name":"fedora-0","namespace":"fabiand","pos":"server.go:202","reason":"virError(Code=27, Domain=20, Message='XML error: maximum memory size must be equal or greater than the actual memory size')","timestamp":"2024-06-13T12:23:41.937996Z","uid":"196f6489-782f-4bc0-a465-2795e7073170"}
Expected results:
VM running
Additional info:
VM with 4GB fails to run VM with 1GB fails to run as well
- is triggering
-
CNV-43054 Invalid time parsing
- New
- links to
-
RHEA-2023:122979 OpenShift Virtualization 4.16.0 Images