]> git.proxmox.com Git - pve-manager.git/commit
fix #3451 ui: ceph create osd: show custom device classes
authorAaron Lauterer <a.lauterer@proxmox.com>
Tue, 25 Jan 2022 08:51:53 +0000 (09:51 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 28 Jan 2022 11:31:39 +0000 (12:31 +0100)
commite7ec42ff45dfc10bba9bde764779227a7052da8d
tree2415bcf11e93307c399a9b2100073784fc622144
parente39843e9446a7f93c928a05c7e8fe1a86ec1a9fd
fix #3451 ui: ceph create osd: show custom device classes

Showing already configured custom device classes makes it easier to
create new OSDs with custom device classes.

The Crush map contains a list of all OSDs in the cluster, including
their device class.
This means we can create a list of used device classes from it, avoiding
adding another API endpoint.

Fetching the crushmap should also be quite a bit less data that needs to
be transferred, compared to the other possible nodes/<node>/ceph/osd
endpoint, especially in larger clusters.

Signed-off-by: Aaron Lauterer <a.lauterer@proxmox.com>
www/manager6/ceph/OSD.js