Can't boot vm after put tpm state on ZFS over iSCSI

sssakuya

New Member
Jan 14, 2022
3
0
1
22
Hi, all.
I try to put tpm state on zfs over iscsi, but when I try to boot vm, it shows me these information below

Screenshot:
1642200425961.png
Code:
Code:
iscsiadm: No session found.
/bin/swtpm exit with status 256:
TASK ERROR: start failed: command 'swtpm_setup --tpmstate file://iscsi://192.168.36.254/iqn.2005-10.org.freenas.ctl:iscsitarget/0 --createek --create-ek-cert --create-platform-cert --lock-nvram --config /etc/swtpm_setup.conf --runas 0 --not-overwrite --tpm2 --ecc' failed: exit code 1

I would really appreciate someone who can help me with this.
 
Hi,
unfortunately, it's not yet implemented. So you need to use another storage type. Relevant bug tracker entry.