-
Bug
-
Resolution: Done-Errata
-
Major
-
None
-
5
-
False
-
-
False
-
virt-launcher-rhel9-container-v4.16.0-227
-
---
-
---
-
-
CNV Virtualization Sprint 251
-
No
Description of problem:
[memory hotplug] failed to update guest memory after migration
Version-Release number of selected component (if applicable):
cnv 4.16.0: registry-proxy.engineering.redhat.com/rh-osbs/iib:685982 ocp 4.16.0-ec.3
How reproducible:
100%
Steps to Reproduce:
1. Enable 'VMLiveUpdateFeatures' and 'vmRolloutStrategy'. kubevirt.kubevirt.io/jsonpatch: |- [{ "op": "add", "path": "/spec/configuration/developerConfiguration/featureGates", "value": ["VMLiveUpdateFeatures"] }, { "op": "add", "path": "/spec/configuration/vmRolloutStrategy", "value": "LiveUpdate" }] 2. Create a VM and set memory->maxGuest value. apiVersion: kubevirt.io/v1 kind: VirtualMachine metadata: labels: kubevirt.io/vm: vm-cirros name: vm-cirros spec: running: false template: metadata: labels: kubevirt.io/vm: vm-cirros spec: domain: cpu: sockets: 2 cores: 4 threads: 2 maxSockets: 8 # optional memory: guest: 2Gi maxGuest: 8Gi # optional 3. Increase the memory->guest value by 2Gi. Wait the VM can be live migrated successfully. 4. Login the VM and check the new memory.
Actual results:
The guest failed to update memory. Warning server error. command SyncVirtualMachineMemory failed: "LibvirtError(Code=67, Domain=10, Message='unsupported configuration: cannot modify memory address from '0x100000000' to '0x0'')" virtualmachineinstance/example failed to update guest memory
Expected results:
The memory should be updated successfully.
Additional info: