Couldn't write file for clearing /dev/pve/base-203-disk-1: Operation not permitted

fpausp

Renowned Member
Aug 31, 2010
676
50
93
Austria near Vienna
Kann ein VM-Template nicht zum PBS sichern, via NFS funktioniert das Backup.
Die anderen Templates haben das Problem nicht, hat das schon mal jemand gesehen?

Code:
INFO: starting new backup job: vzdump 203 --storage PBS --node pve1 --mode snapshot --remove 0
INFO: Starting Backup of VM 203 (qemu)
INFO: Backup started at 2022-03-24 18:53:57
INFO: status = stopped
INFO: backup mode: stop
INFO: ionice priority: 7
INFO: VM Name: win10ent---syspreped
INFO: exclude disk 'scsi0' 'VM:base-203-disk-0' (backup=no)
INFO: include disk 'efidisk0' 'local-lvm:base-203-disk-0' 4M
INFO: include disk 'tpmstate0' 'local-lvm:base-203-disk-1' 4M
INFO: creating Proxmox Backup Server archive 'vm/203/2022-03-24T17:53:57Z'
INFO: starting kvm to execute backup task
Couldn't write file for clearing /dev/pve/base-203-disk-1: Operation not permitted
ERROR: Backup of VM 203 failed - start failed: command 'swtpm_setup --tpmstate file:///dev/pve/base-203-disk-1 --createek --create-ek-cert --create-platform-cert --lock-nvram --config /etc/swtpm_setup.conf --runas 0 --not-overwrite --tpm2 --ecc' failed: exit code 1
INFO: Failed at 2022-03-24 18:53:59
INFO: Backup job finished with errors
TASK ERROR: job errors
 
can you file a bug entry at bugzilla.proxmox.com ? we need to not start the software TPM for such template VMs..