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)) (No client certificate requested) by lists.proxmox.com (Postfix) with ESMTPS id 21CF26977F for ; Tue, 27 Jul 2021 14:43:14 +0200 (CEST) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id 0CB6319E5E for ; Tue, 27 Jul 2021 14:42:44 +0200 (CEST) Received: from mxb.4t2.com (mxb.4t2.com [178.63.148.195]) by firstgate.proxmox.com (Proxmox) with ESMTP id 8995D19E50 for ; Tue, 27 Jul 2021 14:42:43 +0200 (CEST) X-Spam-Status: No X-4t2Systems-MailScanner-Watermark: 1627994155.62931@XVJtL8r/fsRJe2kunnRQ2g X-4t2Systems-MailScanner-From: pve@junkyard.4t2.com X-4t2Systems-MailScanner: Found to be clean X-4t2Systems-MailScanner-ID: 52A4A4EBD.AF107 X-4t2Systems-MailScanner-Information: processed at mxb.4t2.com Received: from mailrelay.abyss.4t2.com (mailrelay.abyss.4t2.com [192.168.1.11]) by mxb.4t2.com (Postfix) with ESMTP id 52A4A4EBD for ; Tue, 27 Jul 2021 14:35:54 +0200 (CEST) Received: from mailserv.abyss.4t2.com (mailserv.abyss.4t2.com [192.168.1.12]) by mailrelay.abyss.4t2.com (Postfix) with ESMTP id 373BA2AB for ; Tue, 27 Jul 2021 14:35:54 +0200 (CEST) Received: from [10.8.1.14] (remotefuzzy.abyss.4t2.com [192.168.1.101]) (Authenticated sender: x) by mailserv.abyss.4t2.com (Postfix) with ESMTPSA id 222DD2034B for ; Tue, 27 Jul 2021 14:35:54 +0200 (CEST) From: Tom Weber To: PVE development discussion Message-ID: <3fe0a1fb-1184-554b-c464-96915c987a24@junkyard.4t2.com> Date: Tue, 27 Jul 2021 14:35:53 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: de-DE Content-Transfer-Encoding: 7bit X-SPAM-LEVEL: Spam detection results: 0 BAYES_00 -1.9 Bayes spam probability is 0 to 1% KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment SPF_HELO_PASS -0.001 SPF: HELO matches SPF record SPF_PASS -0.001 SPF: sender matches SPF record Subject: [pve-devel] Race with PBS Backup of GW running as VM in PVE X-BeenThere: pve-devel@lists.proxmox.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Proxmox VE development discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Jul 2021 12:43:14 -0000 Hi, with a Setup like PBS <--->| GW VM |<--> PVE Host where the GW VM is running on the PVE Host and connecting the PVE Host with the PBSever, I seem to run into a race condition when trying to snapshot-backup the GW VM to the PBS Server. The snapshot appears to freeze the GW VM just the moment the PVE Host tries to establish the connection to the PBS: INFO: starting new backup job: vzdump 121001254 --storage pbs-XXX --remove 0 --node XXX-01 --mode snapshot INFO: Starting Backup of VM 121001254 (qemu) INFO: Backup started at 2021-07-27 13:48:12 INFO: status = running INFO: VM Name: XXX.gw-XXX INFO: backup mode: snapshot INFO: ionice priority: 7 INFO: creating Proxmox Backup Server archive 'vm/121001254/2021-07-27T11:48:12Z' ERROR: VM 121001254 qmp command 'backup' failed - backup connect failed: command error: error trying to connect: tcp connect error: No route to host (os error 113) ERROR: Backup of VM 121001254 failed - VM 121001254 qmp command 'backup' failed - backup connect failed: command error: error trying to connect: tcp connect error: No route to host (os error 113) INFO: Failed at 2021-07-27 13:48:47 INFO: Backup job finished with errors TASK ERROR: job errors on a "Fast" Setup meaning fast Hosts and LAN, it works sometimes, sometimes it fails. on a "Slow" Setup meaning non powerfull Host Hardware and VPNs via LTE, this always fails. This is with PVE 6 and PBS 1.1 Any ideas to work around this? Not sure if I'd consider this a bug. Regards, Tom