public inbox for pve-devel@lists.proxmox.com
 help / color / mirror / Atom feed
* [pve-devel] [PATCH manager 0/2] fix #5570 ceph mds: allow custom MDS IDs from the UI
@ 2024-07-10 12:42 Aaron Lauterer
  2024-07-10 12:42 ` [pve-devel] [PATCH manager 1/2] api: ceph mds: avoid creating MDS when ID starts with number Aaron Lauterer
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: Aaron Lauterer @ 2024-07-10 12:42 UTC (permalink / raw)
  To: pve-devel

The ID for the MDS cannot start with a number [0]. The first patch adds
a check for this.

The second patch is the actual fix, by reworking the edit window when
adding new MDS'.

By allowing the users to set the name of the MDS directly, we can catch
the situation where the hostname starts with a number and let the user
decide how it should be named. Similar to what they can already do on
the CLI.


Another approach would be to leave the UI as is and catch the situation
in the backend. If an ID that starts with a number is detected, we could
prepend it with a default string.

[0] https://docs.ceph.com/en/latest/man/8/ceph-mds/

Aaron Lauterer (2):
  api: ceph mds: avoid creating MDS when ID starts with number
  fix#5570 ui: ceph: make MDS ID configurable

 PVE/API2/Ceph/MDS.pm             |  2 ++
 www/manager6/ceph/ServiceList.js | 21 +++++++++++----------
 2 files changed, 13 insertions(+), 10 deletions(-)

-- 
2.39.2



_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2024-07-23  6:51 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-07-10 12:42 [pve-devel] [PATCH manager 0/2] fix #5570 ceph mds: allow custom MDS IDs from the UI Aaron Lauterer
2024-07-10 12:42 ` [pve-devel] [PATCH manager 1/2] api: ceph mds: avoid creating MDS when ID starts with number Aaron Lauterer
2024-07-10 12:43 ` [pve-devel] [PATCH manager 2/2] fix#5570 ui: ceph: make MDS ID configurable Aaron Lauterer
2024-07-10 13:59   ` Christoph Heiss
2024-07-10 14:18     ` Aaron Lauterer
2024-07-10 14:24       ` Christoph Heiss
2024-07-10 13:59 ` [pve-devel] [PATCH manager 0/2] fix #5570 ceph mds: allow custom MDS IDs from the UI Christoph Heiss
2024-07-22 16:57 ` [pve-devel] applied-series: " Thomas Lamprecht
2024-07-23  6:52   ` Aaron Lauterer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal