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 AEC7684D0B for ; Wed, 15 Dec 2021 16:57:26 +0100 (CET) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id A4A2615F21 for ; Wed, 15 Dec 2021 16:57:26 +0100 (CET) Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.126.133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by firstgate.proxmox.com (Proxmox) with ESMTPS id 162A515F12 for ; Wed, 15 Dec 2021 16:57:26 +0100 (CET) Received: from [10.137.0.23] ([37.214.32.154]) by mrelayeu.kundenserver.de (mreue010 [212.227.15.167]) with ESMTPSA (Nemesis) id 1MNc5b-1n8K5w0CHD-00P27y for ; Wed, 15 Dec 2021 16:52:11 +0100 Message-ID: <332e8099-faee-8be3-515a-d8af7bf937b5@open-e.com> Date: Wed, 15 Dec 2021 10:51:33 -0500 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.3.0 Content-Language: en-US To: pbs-devel@lists.proxmox.com From: Andrei Perapiolkin Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K1:Xf7sWufkKE8hwbsKzQgjbBWmDvZQHWhlogN7MeQGnrA9cPSrDrK TRpWsmkf2AMaIw5fu780oF2kSeF+lcYC+21UWstDpJk/KTlb0egNFMGO/dOM8K+8dfMkGXE prAPzNIF6ItaMPNzb0dyj1R1e5MUdlr3tTMF03/KCGgLOV8Dm7XACJToa+SfHSXKNxdiDqh H3l1Q/hEgAzvrFVfe4o+w== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:Ra2uPvCaohc=:BFxPfs3Eqv4/WN+72pvYcF 42ovBYXkVpHcIOvTde7mK1zxxUIkzH3+fnWqvuLU/8s3yZVEq9MTB5N9rCyILtD7p4uJHNkrk pj1Vwplqf1q0QRO8o6u67R8lAryiHJ4vkoUQQdZ7AxRxM8ssEidnLf7iHpLWdUsYVT+AcdmiP 2yTc/2y1bwQSDZFNUQJYzdbsWdoKz2JhJp+kXNf8b9WZpCWPqAw8WjNzmw/Y688PxyBHPNNBq ldS+vM6wuvvAJIje3hchf2vFttdmHKsQW6/BZRnkfaHIrD2bKiE2vRtINlwmZW7oUE5r+lp+x lR4BEpemn1IB91uQU+2cJ9sOg2yoM9ZhxxGxcZJ90tllrKV5bIuzqjQJRebj0Xok5LAYgwmYn RvLQIqxRCMppTaieUJLZdT0ZygMgnV1E9vdp/qaI1XC4cjvShjkc3NGK27sGbomChgfaqpgpf 7edlmegnh/+3LgBn9c1wkoVxDpAx64mhiYQxZrHetfTcqp2IQwYSL9YCYvtE5MreFsVU7mB8J fElRb+7P2xBpT5Ua76doljg5xPWgryIkcNC3FJZv6B+I2uPIx9hsPxb6jIgx634kK2Gm5Tltl DiTPceNs3M2wFZgXsKeqd1FQ7Hy/wKkt8ijvZpyq7Qfo588FINp8OGx+3hkJtPUYmIX+atJb6 IfZM3blpSFKEM5ZYeF1kPTitgha49tnmYCMLG7wHBS8TIXeZRpQpU7TlG2YM0a+I6wvDO2gnz li72rwGYpfrMz9YF X-SPAM-LEVEL: Spam detection results: 0 AWL 0.715 Adjusted score from AWL reputation of From: address 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 RCVD_IN_DNSWL_NONE -0.0001 Sender listed at https://www.dnswl.org/, no trust RCVD_IN_MSPIKE_H3 0.001 Good reputation (+3) RCVD_IN_MSPIKE_WL 0.001 Mailspike good senders SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record Subject: [pbs-devel] [pve-devel][storage][ui] Debugging UI for storage X-BeenThere: pbs-devel@lists.proxmox.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Proxmox Backup Server development discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Dec 2021 15:57:26 -0000 Hi, Im working plugin for a proxmox so it can use third party data storage system. And Im having a hard time with implementing `list_images` method for my plugin(/usr/share/perl5/PVE/Storage/Plugin.pm) Periodically proxmox web UI fails to show list of specific volumes/images/backups using my plugin. One out of 3 or 4 calls are failing with "Too many redirections (599)" error. This happens while `pvesh` and `pvesm` works perfectly fine and deliver correct list on every call. What am I missing? Is there any test sets that I can run to verify correctness of `list_images` output? Or is there any efficient way to debug UI issues like this? Many thanks for your time and concern, Andrei Perepiolkin