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 1999372495 for ; Mon, 12 Apr 2021 14:49:02 +0200 (CEST) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id 017D51EE22 for ; Mon, 12 Apr 2021 14:48:32 +0200 (CEST) Received: from proxmox-new.maurer-it.com (proxmox-new.maurer-it.com [212.186.127.180]) (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 firstgate.proxmox.com (Proxmox) with ESMTPS id 503831EE13 for ; Mon, 12 Apr 2021 14:48:30 +0200 (CEST) Received: from proxmox-new.maurer-it.com (localhost.localdomain [127.0.0.1]) by proxmox-new.maurer-it.com (Proxmox) with ESMTP id 17A3E43692 for ; Mon, 12 Apr 2021 14:48:30 +0200 (CEST) Message-ID: <3453bc44-ebf2-d186-6b40-c335a231c9d8@proxmox.com> Date: Mon, 12 Apr 2021 14:48:29 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:88.0) Gecko/20100101 Thunderbird/88.0 Content-Language: en-US To: Proxmox VE development discussion , Aaron Lauterer References: <20210407142218.29156-1-a.lauterer@proxmox.com> <20210407142218.29156-4-a.lauterer@proxmox.com> From: Thomas Lamprecht In-Reply-To: <20210407142218.29156-4-a.lauterer@proxmox.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-SPAM-LEVEL: Spam detection results: 0 AWL -0.043 Adjusted score from AWL reputation of From: address KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment RCVD_IN_DNSWL_MED -2.3 Sender listed at https://www.dnswl.org/, medium trust SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record Subject: [pve-devel] applied: [PATCH v2 storage 3/3] rbd: add integration test for namespace handling 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: Mon, 12 Apr 2021 12:49:02 -0000 On 07.04.21 16:22, Aaron Lauterer wrote: > This test is intended to be run on a hyperconverged PVE cluster to test > the most common operations of VMs using a namespaced Ceph RBD pool. > > Signed-off-by: Aaron Lauterer > --- > v1 -> v2: > reworked the test from the feedback I got [0]. > > * tests are now defined in deeper hashes/arrays and can contain testing > steps as well as preparation and cleanup steps where needed. > * command calls don't use fixed paths > * command calls use arrays > * a new Ceph pool will be created and removed at the end by default. Can > be overriden with the '--use_existing' parameter. Most likely in > combination with the '--pool' parameter. > * debug flag has been introduced to be used if some debug printing via > the `jp` sub is needed. Currenctly not used but might be useful when > tinkering with the test in the future. Thx @Thomas for the hint > > > [0] https://lists.proxmox.com/pipermail/pve-devel/2021-April/047472.html > > test/rbd_namespace.pl | 370 ++++++++++++++++++++++++++++++++++++++++++ > 1 file changed, 370 insertions(+) > create mode 100755 test/rbd_namespace.pl > > applied, thanks! I made three small follow-ups though: * switched --use_existing to --use-existing * exit cleanly on --help, its not an error after all! * allow also the short-opt version for help, -h