-
Bug
-
Resolution: Done-Errata
-
Undefined
-
CNV v4.17.0
-
None
-
Quality / Stability / Reliability
-
2
-
False
-
-
False
-
CNV v4.18.0.rhel9-242
-
-
2
-
CNV Infra Next, CNV Infra 262
-
None
Description of problem:
The spreadOption.ration field is blocking the creation of the requirements.cpu field
Version-Release number of selected component (if applicable):
4.18
How reproducible:
100%
Steps to Reproduce:
1.Create a VM with dpdk preference with the same value of CPU as requirements.cpi.guest
Actual results:
The VM gives an error that the CPU number can't be divided in the spreadOption ratio
Expected results:
The VM should be running
Additional info:
A dpdk preference example where 2 / 4 = 0.5
spec:
annotations:
vm.kubevirt.io/os: linux
cpu:
preferredCPUTopology: preferSpread
spreadOptions:
across: SocketsCoresThreads
ratio: 4
devices:
preferredDiskBus: virtio
preferredInterfaceModel: virtio
preferredNetworkInterfaceMultiQueue: true
requirements:
cpu:
guest: 2
memory:
guest: 1536Mi
Setting the VM with values such as those:
memory guest: perference.spec.require.memory.guest cpu guest: perference.spec.require.cpu.guest
- links to
-
RHEA-2024:139653
OpenShift Virtualization 4.18.0 Images