Comment 0 for bug 2012028

Revision history for this message
Andrea Righi (arighi) wrote : secure boot: TPM version '2.0' is not supported

[Impact]

Trying to create a VM with secure boot enabled in lunar always returns the following error:

  ERROR unsupported configuration: TPM version '2.0' is not supported

[Test case]

$ virt-install --name lunar_secure --arch x86_64 --feature smm=on --boot loader=/usr/share/OVMF/OVMF_CODE_4M.ms.fd,loader_ro=yes,loader_type=pflash --import --disk path=lunar_secure.img --disk path=lunar_secure-seed.img --memory 2048 --vcpus 2 --osinfo ubuntu22.10 --graphics none --console pty,target_type=serial --network network:default

Starting install...
ERROR unsupported configuration: TPM version '2.0' is not supported
Domain installation does not appear to have been successful.
If it was, you can restart your domain by running:
  virsh --connect qemu:///system start lunar_secure
otherwise, please restart your installation.

ProblemType: Bug
DistroRelease: Ubuntu 23.04
Package: libvirt-daemon 9.0.0-2ubuntu1
ProcVersionSignature: Ubuntu 6.2.0-17.17-generic 6.2.6
Uname: Linux 6.2.0-17-generic x86_64
ApportVersion: 2.26.0-0ubuntu2
Architecture: amd64
CasperMD5CheckResult: pass
Date: Fri Mar 17 07:31:37 2023
InstallationDate: Installed on 2022-07-25 (234 days ago)
InstallationMedia: Ubuntu 22.10 "Kinetic Kudu" - Alpha amd64 (20220724)
SourcePackage: libvirt
UpgradeStatus: Upgraded to lunar on 2023-02-11 (33 days ago)
modified.conffile..etc.libvirt.qemu.conf: [inaccessible: [Errno 13] Permission denied: '/etc/libvirt/qemu.conf']