From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from firstgate.proxmox.com (firstgate.proxmox.com [212.224.123.68]) by lore.proxmox.com (Postfix) with ESMTPS id 2748D20EC91 for ; Tue, 30 Apr 2024 17:28:50 +0200 (CEST) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id B8DB23D7; Tue, 30 Apr 2024 17:29:00 +0200 (CEST) From: Max Carrara To: pve-devel@lists.proxmox.com Date: Tue, 30 Apr 2024 17:28:49 +0200 Message-Id: <20240430152857.659326-1-m.carrara@proxmox.com> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 X-SPAM-LEVEL: Spam detection results: 0 AWL 0.028 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DMARC_MISSING 0.1 Missing DMARC policy 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 URIBL_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [tools.pm, osd.pm, services.pm] Subject: [pve-devel] [PATCH v1 pve-manager 0/8] Ceph Build Commit in UI 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: , Reply-To: Proxmox VE development discussion Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: pve-devel-bounces@lists.proxmox.com Sender: "pve-devel" Ceph Build Commit in UI - Version 1 =================================== This series adds Ceph's build commit to the UI and lets the user know if a service is running an outdated build and therefore ought to be restarted. The build commit is now displayed next to the version for all Ceph services like so: 18.2.2 (abcd1234) Should a service run an outdated build, the new build commit is also displayed: 18.2.2 (abcd1234 -> 5678fedc) (Icons are omitted here). See the individual patches for more in-depth information. Additionally, some of the code was also cleaned up and refactored a little along the way. I'm not 100% sure if the design I've opted for here is the best, so it would be great to get some opinions on this. The OSD tree/list view especially can get a little noisy if there are a lot of outdated OSDs running. Summary of Changes ------------------ Max Carrara (8): ceph: tools: refactor installation check as guard clause ceph: tools: update Ceph version regex ceph: services: remove old cluster broadcast ceph: services: refactor version existence check as guard clause utils: align regex of parse_ceph_version with Perl equivalent ui: ceph: services: parse and display build commit api: ceph: add build commit of host to Ceph osd index endpoint data ui: ceph: osd: rework rendering of version field & show build commit PVE/API2/Ceph/OSD.pm | 1 + PVE/Ceph/Services.pm | 38 +++++++++++----------- PVE/Ceph/Tools.pm | 48 +++++++++++++++++----------- www/manager6/Utils.js | 17 +++++++++- www/manager6/ceph/OSD.js | 55 ++++++++++++++++++++++++++------ www/manager6/ceph/ServiceList.js | 34 +++++++++++++++----- www/manager6/ceph/Services.js | 14 +++++++- 7 files changed, 149 insertions(+), 58 deletions(-) -- 2.39.2 _______________________________________________ pve-devel mailing list pve-devel@lists.proxmox.com https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel