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 D016271177 for ; Wed, 8 Sep 2021 13:07:05 +0200 (CEST) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id C75E525557 for ; Wed, 8 Sep 2021 13:07:05 +0200 (CEST) Received: from proxmox-new.maurer-it.com (proxmox-new.maurer-it.com [94.136.29.106]) (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 520D225549 for ; Wed, 8 Sep 2021 13:07:05 +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 25C5743429 for ; Wed, 8 Sep 2021 13:07:05 +0200 (CEST) Message-ID: <47056631-ffd7-98cf-38a0-3c81178d56b7@proxmox.com> Date: Wed, 8 Sep 2021 13:06:34 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:92.0) Gecko/20100101 Thunderbird/92.0 Content-Language: en-US To: Proxmox VE development discussion , Fabian Ebner References: <20210906113231.61790-1-f.ebner@proxmox.com> <20210906113231.61790-7-f.ebner@proxmox.com> From: Thomas Lamprecht In-Reply-To: <20210906113231.61790-7-f.ebner@proxmox.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-SPAM-LEVEL: Spam detection results: 0 AWL 1.467 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 NICE_REPLY_A -2.332 Looks like a legit reply (A) SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record Subject: Re: [pve-devel] [PATCH manager 6/6] ui: cluster backup: use cluster-wide storage selector 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: Wed, 08 Sep 2021 11:07:05 -0000 On 06.09.21 13:32, Fabian Ebner wrote: > adapted from the existing storage selector. > > Previously, only the storages for the local node would be shown, which > prevented configuring a job for remote nodes when the storage is not > available on the local node. > > In contrast to the existing storage selector, no usage information is > displayed. It's not readily available, and while it could be extracted > from the global resource store, that's a bit messy, and in case a > local storage is available on multiple nodes, there are multiple > values to deal with. Instead, show the list of nodes where the storage > is available and whether it is shared, which is relevant when seen > from a cluster perspective. > > Signed-off-by: Fabian Ebner > --- > www/manager6/Makefile | 1 + > www/manager6/dc/Backup.js | 5 +- > www/manager6/form/ClusterStorageSelector.js | 96 +++++++++++++++++++++ > 3 files changed, 99 insertions(+), 3 deletions(-) > create mode 100644 www/manager6/form/ClusterStorageSelector.js > not to happy with that one in regards to code reuse. We either need to make this the parent of the node-specific one and hide combo-grid columns depending on settings, or vice versa (this extends from the single one). The former seems a bit more intuitive to me from a quick check, but no hard feelings on that..