From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from firstgate.proxmox.com (firstgate.proxmox.com [212.224.123.68]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.proxmox.com (Postfix) with ESMTPS id D027A70E54 for ; Tue, 7 Sep 2021 14:07:32 +0200 (CEST) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id C15CB1BA2F for ; Tue, 7 Sep 2021 14:07:32 +0200 (CEST) Received: from mx0.konsec.net (hbase53.h.konsec.com [88.99.94.78]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by firstgate.proxmox.com (Proxmox) with ESMTPS id C20A01BA23 for ; Tue, 7 Sep 2021 14:07:31 +0200 (CEST) Received: from kolab.konsec.com (unknown [10.21.1.190]) by mx0.konsec.net (Postfix) with ESMTPS id EFA43860D9E for ; Tue, 7 Sep 2021 14:00:16 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsec.com; s=201809; t=1631016017; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=va3aec0+edoiWMRYbt5aBC5cMRP34SeLb9vRYMg2DEc=; b=xAMtx0h7SBWnqz054vP26BlMghgCxKqZosPpgbAJ3B9tHt/444OnG08ErOGzYzng8dAPqx qn06MoSpHxNSKXr8uwbJmxoOusO3RgoZ3Qcf8fbvGQn0/SlAOhW10YOW6HPjdydD4IEu7Z wcVs/fmhKZNs4dte+GDOmFSi6rGJ4+loqkV90ffvtLcLVQmAm6hgdGn2zE3pOB7aAyOBOL zVteRXXdF7ooYFOolmEyr01cpfDk/6MP4BvyaeTNsNFEc88clijcwtXir1A/IS6mCyQVJX v7wcsjKE5rdYktlfWppG2EhDp51p97UNHQrjjVa4JbdL8B5oYY/a3ZFlsQEskQ== Sender: martin.konold@konsec.com MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Date: Tue, 07 Sep 2021 14:00:16 +0200 From: "Konold, Martin" To: pve-user@lists.proxmox.com Reply-To: martin.konold@konsec.com Message-ID: <0512086cc7b65670681424f95773841a@konsec.com> X-Sender: martin.konold@konsec.com Organization: KONSEC GmbH Content-Transfer-Encoding: quoted-printable X-SPAM-LEVEL: Spam detection results: 0 AWL 0.867 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DKIM_SIGNED 0.1 Message has a DKIM or DK signature, not necessarily valid DKIM_VALID -0.1 Message has at least one valid DKIM or DK signature DKIM_VALID_AU -0.1 Message has a valid DKIM or DK signature from author's domain DKIM_VALID_EF -0.1 Message has a valid DKIM or DK signature from envelope-from domain JMQ_SPF_NEUTRAL 0.5 SPF set to ?all SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record URIBL_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [konsec.com, cloudinit.pm] Subject: [PVE-User] Backup to PBS fails X-BeenThere: pve-user@lists.proxmox.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Proxmox VE user list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Sep 2021 12:07:32 -0000 Hi there, I have a test setup investigating the migration from oVirt to Proxmox=20 which used to work nicely but now only creates single byte length=20 entries on PBS datastores. Firstly backup to a cephfs storage works as expected: root@hbase01 ~ # vzdump 100 --mode snapshot --node hbase01 --compress=20 zstd --all 0 --storage cephfs01 --mailnotification always INFO: starting new backup job: vzdump 100 --mode snapshot=20 --mailnotification always --node hbase01 --storage cephfs01 --all 0=20 --compress zstd INFO: Starting Backup of VM 100 (qemu) INFO: Backup started at 2021-09-07 13:38:10 INFO: status =3D stopped INFO: backup mode: stop INFO: ionice priority: 7 INFO: VM Name: CentOS-8-100.h.konsec.com INFO: include disk 'scsi0' 'pool01:base-100-disk-0' 10G INFO: creating vzdump archive=20 '/mnt/pve/cephfs01/dump/vzdump-qemu-100-2021_09_07-13_38_10.vma.zst' INFO: starting template backup INFO: /usr/bin/vma create -v -c=20 /mnt/pve/cephfs01/dump/vzdump-qemu-100-2021_09_07-13_38_10.tmp/qemu-serve= r.conf=20 exec:zstd --rsyncable --threads=3D1 >=20 /mnt/pve/cephfs01/dump/vzdump-qemu-100-2021_09_07-13_38_10.vma.dat=20 drive-scsi0=3D/dev/rbd/pool01/base-100-disk-0 INFO: progress 0% 0/10737418240 0 INFO: progress 1% 107413504/10737418240 64716800 .... Backup to a Proxmox Backup Server PBS fails though root@hbase01 ~ # vzdump 100 --mode snapshot --node hbase01 --compress=20 zstd --all 0 --storage PVE-FE-3 --mailnotification always INFO: starting new backup job: vzdump 100 --all 0 --node hbase01=20 --mailnotification always --storage PVE-FE-3 --mode snapshot --compress=20 zstd INFO: Starting Backup of VM 100 (qemu) INFO: Backup started at 2021-09-07 13:38:31 INFO: status =3D stopped INFO: backup mode: stop INFO: ionice priority: 7 INFO: VM Name: CentOS-8-100.h.konsec.com INFO: include disk 'scsi0' 'pool01:base-100-disk-0' 10G INFO: creating Proxmox Backup Server archive=20 'vm/100/2021-09-07T11:38:31Z' INFO: starting kvm to execute backup task Use of uninitialized value in split at=20 /usr/share/perl5/PVE/QemuServer/Cloudinit.pm line 100. /dev/rbd45 generating cloud-init ISO ERROR: VM 100 qmp command 'backup' failed - backup connect failed:=20 command error: EACCES: Permission denied INFO: aborting backup job INFO: stopping kvm after backup task trying to acquire lock... OK ERROR: Backup of VM 100 failed - VM 100 qmp command 'backup' failed -=20 backup connect failed: command error: EACCES: Permission denied INFO: Failed at 2021-09-07 13:38:33 INFO: Backup job finished with errors job errors The target storage exists and is known to PVE. root@hbase01 ~ # pvesm status Name Type Status Total Used =20 Available % PVE-FE pbs active 59826418816 1498314752 =20 58328104064 2.50% PVE-FE-2 pbs active 58345629568 17525504 =20 58328104064 0.03% PVE-FE-3 pbs active 58345629568 17525504 =20 58328104064 0.03% cephfs01 cephfs active 1128591360 39051264 =20 1089540096 3.46% local dir active 15718400 10359288 =20 5359112 65.91% pool01 rbd active 1485625252 396081828 =20 1089543424 26.66% pool12 rbd active 4253993533 2619678397 =20 1634315136 61.58% Is this a problem introduced with an update of PBS? I tried adding backup users to PBS and using API-tokens to no avail. Both PVE and PBS are most uptodate (no-subscription) --=20 Regards ppa. Martin Konold -- Martin Konold - Prokurist, CTO KONSEC GmbH -=E2=81=A0 make things real Amtsgericht Stuttgart, HRB 23690 Gesch=C3=A4ftsf=C3=BChrer: Andreas Mack Im K=C3=B6ller 3, 70794 Filderstadt, Germany