]> git.proxmox.com Git - pve-manager.git/commit
fix #2515: ui: ceph pool create: use configured defaults for size and min_size
authorAaron Lauterer <a.lauterer@proxmox.com>
Fri, 29 Sep 2023 13:02:02 +0000 (15:02 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 21 Nov 2023 13:39:25 +0000 (14:39 +0100)
commitb555a412089fbbc6864d0577cc0d012a251223ce
tree1f4a8a5556e5821cb08d357e34af0c412b76013e
parent1572e9735863103bb525b16b8e0a2af95ce11dd2
fix #2515: ui: ceph pool create: use configured defaults for size and min_size

Instead of hard coded defaults for the size and min_size parameter,
check if we have defaults configured in the ceph.conf or config db and
use those.

There are clusters where different defaults are needed. For example if
the cluster spans two rooms and needs to survive the loss of one. A
size/min_size of 4/2 are common defaults in such a situation.

Signed-off-by: Aaron Lauterer <a.lauterer@proxmox.com>
Tested-by: Maximiliano Sandoval <m.sandoval@proxmox.com>
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
www/manager6/ceph/Pool.js