Uploaded image for project: 'OpenShift Virtualization'
  1. OpenShift Virtualization
  2. CNV-18038

[2083135] VM fails to schedule with vTPM in spec

XMLWordPrintable

    • Critical
    • No

      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

              jelejosne Jed Lejosne
              vsibirsk Vasiliy Sibirskiy
              Kedar Bidarkar Kedar Bidarkar
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: