-
Bug
-
Resolution: Done
-
Critical
-
None
-
CNV v4.20.0
-
None
-
Quality / Stability / Reliability
-
0.42
-
False
-
-
False
-
None
-
-
None
Description of problem:
VM with memory limit fails to start if memoryOvercommitPercentage is set in HCO
Version-Release number of selected component (if applicable):
4.20 (started in build v4.20.0.rhel9-183)
How reproducible:
100%
Steps to Reproduce:
1.Set memoryOvercommitPercentage: 50 in HCO
2.Create VM with
memory:
guest: 1Gi
resources:
limits:
memory: 1Gi
3.Start VM
Actual results:
VM fails to start with error
spec.containers[0].resources.requests: Invalid value: "2418Mi":
must be less than or equal to memory limit of 1394Mi'
Expected results:
VM starts OK
Additional info:
Seems like change in this PR https://github.com/kubevirt/kubevirt/pull/15736 causes the issue
- duplicates
-
CNV-70704 memoryOvercommit should be ignored when memory.requests is used in VM spec
-
- Closed
-