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 71C7169EF1 for ; Thu, 21 Jan 2021 08:38:20 +0100 (CET) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id 64148EC4E for ; Thu, 21 Jan 2021 08:38:20 +0100 (CET) Received: from nsmtp.uni-koblenz.de (nsmtp.uni-koblenz.de [141.26.64.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by firstgate.proxmox.com (Proxmox) with ESMTPS id BA471EC41 for ; Thu, 21 Jan 2021 08:38:18 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by nsmtp.uni-koblenz.de (Postfix) with ESMTP id A2B412212AC for ; Thu, 21 Jan 2021 08:38:09 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=uni-koblenz.de; h=content-transfer-encoding:content-language:content-type :content-type:mime-version:user-agent:date:date:message-id :subject:subject:from:from:received:received:received; s=mail; t=1611214689; x=1613029090; bh=IQeW5mG4zb9AwYNJGRoFF9NGYdHeCxXm cLScoigJ3Pg=; b=Wr0M/zjoj5rT/lXsNINg+LBm/s6FTbzswdtDyM8h2zGIANOY RMQrjz+2aCec9y6j6C6iT7LkON2aO9pxtMTVn6zdVZxGzC3hYqyXnpCO2IiFg9ha QptRPbRbXIhIH0RfZksUwh/MUPMttbfyASpEikiOEbDcowwrtCLASPX9OG0= X-Virus-Scanned: Debian amavisd-new at uni-koblenz.de Received: from nsmtp.uni-koblenz.de ([127.0.0.1]) by localhost (nsmtp.uni-koblenz.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 2TAFQzgDkyRV for ; Thu, 21 Jan 2021 08:38:09 +0100 (CET) Received: from mailproxy.uni-koblenz.de (mailproxy.uni-koblenz.de [141.26.64.230]) by nsmtp.uni-koblenz.de (Postfix) with ESMTPS for ; Thu, 21 Jan 2021 08:38:09 +0100 (CET) Received: from [IPv6:2001:4c80:50:127::506] (mavpn-vlan1.uni-koblenz.de [IPv6:2001:4c80:50:1::40db]) by mailproxy.uni-koblenz.de (Postfix) with ESMTPSA id 36719101B8D for ; Thu, 21 Jan 2021 08:38:09 +0100 (CET) To: PVE User List From: Rainer Krienke Message-ID: <74b67460-f17a-940f-5210-8a7c482e40f8@uni-koblenz.de> Date: Thu, 21 Jan 2021 08:38:08 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.6.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Language: de-DE Content-Transfer-Encoding: 8bit X-SPAM-LEVEL: Spam detection results: 0 AWL 0.400 Adjusted score from AWL reputation of From: address 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 RCVD_IN_DNSWL_MED -2.3 Sender listed at https://www.dnswl.org/, medium trust SPF_HELO_PASS -0.001 SPF: HELO matches 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. [uni-koblenz.de] Subject: [PVE-User] Error deleting VM-templates 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: Thu, 21 Jan 2021 07:38:20 -0000 Hello, I have a 5 host PVE cluster version 6.3-3/eee5f901 (running kernel: 5.4.78-2-pve) community edition. The storage backend is an external ceph-nautilus 14.2.15 cluster. Everything works fine exept for this: whenever I try to remove a VM *template* (without any children) I get and error no matter if I do it via GUI (More->Remove -menu) or qm: root@pxsrv:~# qm destroy 174 # id 174 is a vm template Removing all snapshots: 0% complete...failed. Could not remove disk 'ceph-pxa:base-174-disk-0', check manually: error during cfs-locked 'storage-ceph-pxa' operation: rbd snap purge 'base-174-disk-0' error: Removing all snapshots: 0% complete...failed. Afterwards in pve the template has vanished but on ceph the "base-174-disk-0" rbd with the protected "__base__" snapshot is still there. I can however easily and successfully remove these remains manually even from the pve host where I ran qm destroy using exactly the same cephx-client as configured in pve simply by running rbd commands: rbd -m -n client.rz --conf /etc/pve/priv/ceph/ceph-pxa.conf --keyring /etc/pve/priv/ceph/ceph-pxa.keyring --auth_supported cephx snap unprotect pxa-rbd/base-174-disk-0@__base__ rbd -m -n client.rz --conf /etc/pve/priv/ceph/ceph-pxa.conf --keyring /etc/pve/priv/ceph/ceph-pxa.keyring --auth_supported cephx snap purge pxa-rbd/base-174-disk-0 rbd -m -n client.rz --conf /etc/pve/priv/ceph/ceph-pxa.conf --keyring /etc/pve/priv/ceph/ceph-pxa.keyring --auth_supported cephx rm pxa-rbd/base-183-disk-0 This works without any problem. So the question is if I can do it manually on a pve host why does proxmox throw an error doing the very same on the same host? For me this looks like a pve bug. I no idea how to find out more. Anyone else with some fresh ideas? Thanks Rainer -- Rainer Krienke, Uni Koblenz, Rechenzentrum, A22, Universitaetsstrasse 1 56070 Koblenz, Web: http://www.uni-koblenz.de/~krienke, Tel: +49261287 1312 PGP: http://www.uni-koblenz.de/~krienke/mypgp.html, Fax: +49261287 1001312