I have a backup job that backs up the entire Proxmox server. So far I have 3 VM's and a template. ID's 100, 101, 102, and 901 respectively.
All three machines are backing up fine, but the template (901) is failing.
Running the failed command manually on the proxmox server doesn't seem to yield anything useful:
All three machines are backing up fine, but the template (901) is failing.
Code:
INFO: ionice priority: 7
INFO: VM Name: WindowsServer2022
INFO: include disk 'scsi0' 'vmstorage:901/base-901-disk-2.qcow2' 40G
INFO: include disk 'efidisk0' 'vmstorage:901/base-901-disk-0.qcow2' 528K
INFO: include disk 'tpmstate0' 'vmstorage:901/base-901-disk-1.raw' 4M
INFO: creating Proxmox Backup Server archive 'vm/901/2022-02-11T14:52:51Z'
INFO: starting kvm to execute backup task
ERROR: Backup of VM 901 failed - start failed: command 'swtpm_setup --tpmstate file:///mnt/vmstorage/images/901/base-901-disk-1.raw --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-02-11 09:52:51
INFO: Backup job finished with errors
TASK ERROR: job errors
Running the failed command manually on the proxmox server doesn't seem to yield anything useful:
Code:
root@proxmox1:~# swtpm_setup --tpmstate file:///mnt/vmstorage/images/901/base-901-disk-1.raw --createek --create-ek-cert --create-platform-cert --lock-nvram --config /etc/swtpm_setup.conf --runas 0 --not-overwrite --tpm2 --ecc
root@proxmox1:~#
Code:
root@proxmox1:~# pveversion -v
proxmox-ve: 7.1-1 (running kernel: 5.13.19-4-pve)
pve-manager: 7.1-10 (running version: 7.1-10/6ddebafe)
pve-kernel-helper: 7.1-10
pve-kernel-5.13: 7.1-7
pve-kernel-5.13.19-4-pve: 5.13.19-9
pve-kernel-5.13.19-2-pve: 5.13.19-4
ceph-fuse: 15.2.15-pve1
corosync: 3.1.5-pve2
criu: 3.15-1+pve-1
glusterfs-client: 9.2-1
ifupdown2: 3.1.0-1+pmx3
ksm-control-daemon: 1.4-1
libjs-extjs: 7.0.0-1
libknet1: 1.22-pve2
libproxmox-acme-perl: 1.4.1
libproxmox-backup-qemu0: 1.2.0-1
libpve-access-control: 7.1-6
libpve-apiclient-perl: 3.2-1
libpve-common-perl: 7.1-2
libpve-guest-common-perl: 4.0-3
libpve-http-server-perl: 4.1-1
libpve-storage-perl: 7.1-1
libspice-server1: 0.14.3-2.1
lvm2: 2.03.11-2.1
lxc-pve: 4.0.11-1
lxcfs: 4.0.11-pve1
novnc-pve: 1.3.0-1
proxmox-backup-client: 2.1.5-1
proxmox-backup-file-restore: 2.1.5-1
proxmox-mini-journalreader: 1.3-1
proxmox-widget-toolkit: 3.4-5
pve-cluster: 7.1-3
pve-container: 4.1-3
pve-docs: 7.1-2
pve-edk2-firmware: 3.20210831-2
pve-firewall: 4.2-5
pve-firmware: 3.3-5
pve-ha-manager: 3.3-3
pve-i18n: 2.6-2
pve-qemu-kvm: 6.1.1-1
pve-xtermjs: 4.16.0-1
qemu-server: 7.1-4
smartmontools: 7.2-1
spiceterm: 3.2-2
swtpm: 0.7.0~rc1+2
vncterm: 1.7-1
zfsutils-linux: 2.1.2-pve1
Last edited: