-
Bug
-
Resolution: Unresolved
-
Undefined
-
None
-
None
-
Quality / Stability / Reliability
-
2
-
False
-
-
False
-
CNV v4.99.0.rhel9-2279
-
-
CNV Infra 269
-
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
-
-
MTV-2049 vTPM is added by default for win2022 bios VM after migration
-
- Closed
-
- duplicates
-
CNV-55729 [RFE] allow to request a VM to have vTPM explicitly disabled
-
- Closed
-
- is cloned by
-
CNV-60467 [v4.18.3] No way of overriding the preference value of PreferredTPM from within a VirtualMachine
-
- Closed
-
-
CNV-60468 [v4.17.7] No way of overriding the preference value of PreferredTPM from within a VirtualMachine
-
- Closed
-
-
CNV-60469 [v4.16.7] No way of overriding the preference value of PreferredTPM from within a VirtualMachine
-
- Closed
-
-
CNV-59313 [v4.19.0] No way of overriding the preference value of PreferredTPM from within a VirtualMachine
-
- Closed
-
- links to
-
RHEA-2025:150257 OpenShift Virtualization 4.20.0 Images