-
Bug
-
Resolution: Done-Errata
-
Major
-
None
-
None
-
Quality / Stability / Reliability
-
2
-
False
-
-
False
-
CNV v4.16.8.rhel9-13
-
-
CNV Infra 271
-
Important
-
None
Description of problem:
https://github.com/kubevirt/kubevirt/issues/14315
Preferences provide preferred values for parts of the VirtualMachineInstanceSpec that should only be used when a user has not provided their own values within the original VirtualMachine. However for VirtualMachineInstanceSpec attributes like spec.domain.devices.tpm this becomes awkward as we can only implicitly express that the device is disabled by setting nil. At present this results in any PreferredTPM value from an associated preference being used in the eventual VirtualMachineInstance with no way for a user to override this behaviour.
Version-Release number of selected component (if applicable):
<= v4.20.0
How reproducible:
Always
Steps to Reproduce:
1. Create a VM using a preference that provides PreferredTPM
Actual results:
No way of disabling the TPM device from the VM
Expected results:
A user should be able to override the value of PreferredTPM from the VM
Additional info:
- blocks
-
MTV-2014 MTV should not request a VM with vTPM enabled if the original one did not had vTPM
-
- Closed
-
- clones
-
CNV-58447 No way of overriding the preference value of PreferredTPM from within a VirtualMachine
-
- Verified
-
-
CNV-60468 [v4.17.7] No way of overriding the preference value of PreferredTPM from within a VirtualMachine
-
- Closed
-
- is duplicated by
-
CNV-55375 Persistent vTPM is added by default for win2022 bios VM after migration - OCP4.16
-
- Closed
-
- links to
-
RHEA-2025:148291 OpenShift Virtualization 4.16.8 Images