From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <martin.konold@konsec.com>
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))
 (No client certificate requested)
 by lists.proxmox.com (Postfix) with ESMTPS id D40AB70F13
 for <pve-user@lists.proxmox.com>; Tue,  7 Sep 2021 17:48:12 +0200 (CEST)
Received: from firstgate.proxmox.com (localhost [127.0.0.1])
 by firstgate.proxmox.com (Proxmox) with ESMTP id C4A271E152
 for <pve-user@lists.proxmox.com>; Tue,  7 Sep 2021 17:48:12 +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 8ECAA1E145
 for <pve-user@lists.proxmox.com>; Tue,  7 Sep 2021 17:48:11 +0200 (CEST)
Received: from kolab.konsec.com (unknown [10.21.1.190])
 by mx0.konsec.net (Postfix) with ESMTPS id 0EC4F860D95;
 Tue,  7 Sep 2021 17:48:11 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsec.com; s=201809; 
 t=1631029691;
 h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date:
 message-id:message-id:to:to:cc:cc:mime-version:mime-version:
 content-type:content-type:
 content-transfer-encoding:content-transfer-encoding:
 in-reply-to:in-reply-to:references:references;
 bh=HkyeCUsI5pkLhVOV2GLzzJWyp2gNmN+WO5BuXi0qWRY=;
 b=Q9jAM0+hkcILoLtyyKrcb16PPpptoxZQbLjoTa4GpN89KodOIeVawKbJxrOv3In922cEuK
 8rodklBoxw9kMgvq/T394ZeF5g+C4RkoRSi0rmWIXEkwEDfmvG+EUW73SXYDbxqMjaaBWC
 wRDmHbnyHA/j0POUX8D+yFegR1qcAwYaDv3nN2z/xFxSIFD3N2ir3fDJq/iGrmL0DM5SY9
 xX+9PQxxcJpTl0DxOBVhOQaIvYrK2Q06QYbMk7QybHmZ2LoOozHoqPhi3EYBuzS2qG1OLC
 1zN6eQd8z8N+hgn0xQTYsscX0yW0rRGWMyCeuWY8Lw2fRQZkGC4iQU9AfB95nQ==
Sender: martin.konold@konsec.com
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8;
 format=flowed
Date: Tue, 07 Sep 2021 17:48:10 +0200
From: "Konold, Martin" <martin.konold@konsec.com>
To: Dietmar Maurer <dietmar@proxmox.com>
Cc: Proxmox VE user list <pve-user@lists.proxmox.com>
Reply-To: martin.konold@konsec.com
In-Reply-To: <1813553277.3101.1631028123799@webmail.proxmox.com>
References: <1813553277.3101.1631028123799@webmail.proxmox.com>
Message-ID: <2b9f52da0e78f625fe548a33ce89a93c@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.650 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. [cloudinit.pm, konsec.com]
Subject: Re: [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 <pve-user.lists.proxmox.com>
List-Unsubscribe: <https://lists.proxmox.com/cgi-bin/mailman/options/pve-user>, 
 <mailto:pve-user-request@lists.proxmox.com?subject=unsubscribe>
List-Archive: <http://lists.proxmox.com/pipermail/pve-user/>
List-Post: <mailto:pve-user@lists.proxmox.com>
List-Help: <mailto:pve-user-request@lists.proxmox.com?subject=help>
List-Subscribe: <https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-user>, 
 <mailto:pve-user-request@lists.proxmox.com?subject=subscribe>
X-List-Received-Date: Tue, 07 Sep 2021 15:48:12 -0000

Hi Dietmar,

vm100 is a template.
vm102 is up and running but shows the same error.

root@hbase01 ~ # vzdump 102 --mode snapshot --node hbase01 --compress=20
zstd --all 0 --storage PVE-FE --mailnotification always
INFO: starting new backup job: vzdump 102 --mode snapshot --compress=20
zstd --storage PVE-FE --mailnotification always --all 0 --node hbase01
INFO: Starting Backup of VM 102 (qemu)
INFO: Backup started at 2021-09-07 17:47:03
INFO: status =3D running
INFO: VM Name: rtnl-102.h.konsec.com
INFO: backup mode: snapshot
INFO: ionice priority: 7
INFO: skip unused drive 'pool01:vm-102-disk-1' (not included into=20
backup)
INFO: creating Proxmox Backup Server archive=20
'vm/102/2021-09-07T15:47:03Z'
INFO: issuing guest-agent 'fs-freeze' command
INFO: enabling encryption
INFO: issuing guest-agent 'fs-thaw' command
ERROR: VM 102 qmp command 'backup' failed - backup connect failed:=20
command error: EACCES: Permission denied
INFO: aborting backup job
INFO: resuming VM again
ERROR: Backup of VM 102 failed - VM 102 qmp command 'backup' failed -=20
backup connect failed: command error: EACCES: Permission denied
INFO: Failed at 2021-09-07 17:47:04
INFO: Backup job finished with errors
job errors

---
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

Am 2021-09-07 17:22, schrieb Dietmar Maurer:
>> > Backup to a Proxmox Backup Server PBS fails though
>> root@hbase01 ~ # vzdump 100 --mode snapshot --node hbase01 --compress
>> zstd --all 0 --storage PVE-FE-3 --mailnotification always
>> INFO: starting new backup job: vzdump 100 --all 0 --node hbase01
>> --mailnotification always --storage PVE-FE-3 --mode snapshot=20
>> --compress
>> 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
>> 'vm/100/2021-09-07T11:38:31Z'
>> INFO: starting kvm to execute backup task
>> Use of uninitialized value in split at
>> /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:
>> command error: EACCES: Permission denied
>=20
> This error is not related to backup. Seems the VM is stopped and does
> not have a correctly initialize cloud-init ISO.
>=20
> Please can you try if it is possible to start this VM at all?