-
Bug
-
Resolution: Done-Errata
-
Major
-
CNV v4.16.0
-
None
-
0.42
-
False
-
-
False
-
None
-
---
-
---
-
-
High
-
No
Description of problem:
VM with CPU requests/limits is simply rejected
Version-Release number of selected component (if applicable):
CNV v4.16.0.rhel9-2638
How reproducible:
100%
Steps to Reproduce:
1. Create VM described below 2. 3.
Actual results:
Rejected
Expected results:
Success
Additional info:
This happens because downstream kubevirt has drifted for 2 weeks compared to upstream's release-1.2. Fixed with https://gitlab.cee.redhat.com/cpaas-midstream/openshift-virtualization/kubevirt/-/merge_requests/3972 $ cat vm.yaml apiVersion: kubevirt.io/v1 kind: VirtualMachine metadata: name: simple-vm namespace: default spec: running: true template: metadata: labels: {kubevirt.io/domain: simple-vm, kubevirt.io/vm: simple-vm} spec: domain: devices: disks: - disk: {bus: virtio} name: dv-disk - disk: {bus: virtio} name: cloudinitdisk resources: requests: {memory: 2048M, cpu: 250m} volumes: - dataVolume: {name: simple-dv} name: dv-disk - cloudInitNoCloud: userData: | #cloud-config password: fedora chpasswd: { expire: False } name: cloudinitdisk $ oc create -f vm.yaml The request is invalid: spec.template.spec.domain.resources: Configuration of CPU resource requirements is not allowed when CPU live update is enabled
- links to
-
RHEA-2023:122979 OpenShift Virtualization 4.16.0 Images