Template backup fails when using pigz

Yahooguntu

Member
Mar 2, 2017
1
0
6
54
Not sure if this is the right place for this...

We've got a three-node cluster that stores VMs on Ceph, and backs up to a locally-mounted CIFS share. Each node has pigz enabled in /etc/vzdump.conf, and regular VMs back up fine. When trying to back up a template, I see the following error:

Code:
INFO: Starting Backup of VM 155 (qemu)
INFO: status = stopped
INFO: update VM 155: -lock backup
INFO: backup mode: stop
INFO: ionice priority: 7
INFO: VM Name: ubuntu-16.04.1-desktop-02-23-17
INFO: include disk 'scsi0' 'ceph-volumes:base-155-disk-1'
INFO: creating archive '/mnt/pve/backup/dump/vzdump-qemu-155-2017_03_01-22_23_13.vma.gz'
INFO: starting template backup
INFO: /usr/bin/vma create -v -c /mnt/pve/backup/dump/vzdump-qemu-155-2017_03_01-22_23_13.tmp/qemu-server.conf exec:pigz -p 4>/mnt/pve/backup/dump/vzdump-qemu-155-2017_03_01-22_23_13.vma.dat drive-scsi0=rbd:volumes/base-155-disk-1:mon_host=[redacted]:id=proxmox:auth_supported=cephx:keyring=/etc/pve/priv/ceph/ceph-volumes.keyring
INFO: pigz: abort: missing parameter after -p
INFO: progress 0% 0/34359738368 0
INFO: ** (process:48832): WARNING **: vma_writer_close failed vma_queue_write: write error - Broken pipe
INFO: image drive-scsi0: size=34359738368 zeros=995328 saved=34358743040
INFO: ** (process:48832): ERROR **: creating vma archive failed
ERROR: Backup of VM 155 failed - command '/usr/bin/vma create -v -c /mnt/pve/backup/dump/vzdump-qemu-155-2017_03_01-22_23_13.tmp/qemu-server.conf 'exec:pigz -p 4>/mnt/pve/backup/dump/vzdump-qemu-155-2017_03_01-22_23_13.vma.dat' 'drive-scsi0=rbd:volumes/base-155-disk-1:mon_host=[redacted]:id=proxmox:auth_supported=cephx:keyring=/etc/pve/priv/ceph/ceph-volumes.keyring'' failed: got signal 5
INFO: Backup job finished with errors
TASK ERROR: job errors

I think the issue is pigz needs to be invoked with the -c flag, but I'm not positive. We're running Proxmox version 4.3-12/6894c9d9, pigz version 2.3.1.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!