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 075D4F1A3 for ; Wed, 14 Dec 2022 13:43:16 +0100 (CET) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id E13122A57B for ; Wed, 14 Dec 2022 13:43:15 +0100 (CET) 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) server-digest SHA256) (No client certificate requested) by firstgate.proxmox.com (Proxmox) with ESMTPS for ; Wed, 14 Dec 2022 13:43:15 +0100 (CET) Received: from proxmox-new.maurer-it.com (localhost.localdomain [127.0.0.1]) by proxmox-new.maurer-it.com (Proxmox) with ESMTP id 1025E44D2B for ; Wed, 14 Dec 2022 13:43:15 +0100 (CET) From: Stefan Hrdlicka To: pve-devel@lists.proxmox.com Date: Wed, 14 Dec 2022 13:43:05 +0100 Message-Id: <20221214124307.2589355-1-s.hrdlicka@proxmox.com> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SPAM-LEVEL: Spam detection results: 0 AWL 0.056 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 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] [PATCH V7 manager 0/2] fix #2822: add iscsi, lvm, lvmthin & zfs 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, 14 Dec 2022 12:43:16 -0000 V6 -> V7: # pve-manager(1/2) * remove initially selected scan node * add node restriction always when a scan node is selected V5 -> V6: # pve-manager (1/2) * set default value of "Scan node" to Proxmox.NodeName * don't allow empty "Scan node" V4 -> V5: # pve-manager (1/2) * s/lookupReference/lookup/ * move ComboBoxSetStoreNode & StrageScanNodeSelector to www/manager6/form * move array pushes to initialization of array V3 -> V4: # pve-manager (1/2) * "localhost" is set for "Scan Node" * if another node is selcted and the "X" (clear) is used, localhost is set as the value again * use lookupReference * moved used template literals for building path strings V2 -> V3: # pve-manager (1/2) * fix broken interface (broken in V2 ) * improve tooltip * replace jNodeSelector function with class object (PVE.panel.StorageBaseWithNodeSelector) # other things: * removed very optional cleanup * nothing changed for "Base storage" selector. It is still possible to select for example an iSCSI device only availabe on one node that isn't availabe on the other ones. I wasn't sure if this should be changed in this context as well. V1 -> V2: # pve-storage * removed because patch is not needed # pve-manager (1/3) * remove storage controller from V1 * added custom ComboBox with API URL & setNodeName function * added scan node selection for iSCSI * scan node selection field no longer send to server ## (optional) pve-manager (2/3): cleanup related files * var to let statement change * some indentation ## ((very) optional) pve-manager (3/3): cleanup all var statements * replaces all var with let statements Stefan Hrdlicka (2): fix #2822: add iscsi, lvm, lvmthin & zfs storage for all cluster nodes cleanup: "var" to "let", fix some indentation in related files www/manager6/Makefile | 2 + www/manager6/form/ComboBoxSetStoreNode.js | 16 +++++ www/manager6/form/StorageScanNodeSelector.js | 31 +++++++++ www/manager6/storage/Base.js | 11 ++-- www/manager6/storage/IScsiEdit.js | 34 +++++++--- www/manager6/storage/LVMEdit.js | 42 +++++++++--- www/manager6/storage/LvmThinEdit.js | 69 ++++++++++++++------ www/manager6/storage/ZFSPoolEdit.js | 50 +++++++++----- 8 files changed, 195 insertions(+), 60 deletions(-) create mode 100644 www/manager6/form/ComboBoxSetStoreNode.js create mode 100644 www/manager6/form/StorageScanNodeSelector.js -- 2.30.2