Created attachment 1878081 [details] VMI yaml Description of problem: After enabling vTPM feature in VM spec, it fails to schedule Version-Release number of selected component (if applicable): HCO image: brew.registry.redhat.io/rh-osbs/iib:228430 How reproducible: 100% Steps to Reproduce: 1.create a VM with tpm: {} in spec.template.spec.domain.devices 2.start a VM Actual results: VMI fails to schedule with error: message: 'server error. command SyncVMI failed: "LibvirtError(Code=1, Domain=0, Message=''internal error: Could not run ''/usr/bin/swtpm_setup'' to create config files. exitstatus: 1;\nError: Could not write to /var/run/swtpm_setup.conf: No such file or directory\n'')"' Expected results: VMI scheduled successfully Additional info: attached VMI yaml
This bug prevents Windows 11 guests from running in NonRoot mode which is the default mode for CNV 4.11.
Verified with hco-operator v4.11.0-69 After adding tpm: {} in spec.template.spec.domain.devices and starting VM, VM starts and schedules OK
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Important: OpenShift Virtualization 4.11.0 Images security and bug fix update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2022:6526