]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/dashboard: osd form preselect db/wal device filters 50122/head
authorNizamudeen A <nia@redhat.com>
Fri, 12 Aug 2022 15:34:23 +0000 (21:04 +0530)
committerNizamudeen A <nia@redhat.com>
Wed, 15 Feb 2023 10:46:43 +0000 (16:16 +0530)
commit16eb3c963b1f599ed1f28800a136e7363b7dc92d
tree2a0dbd8741376ac8ddfa1cb87a6558b14f1e5c71
parent2463c44b5aae5bc3c60bd4757df97b24108e5463
mgr/dashboard: osd form preselect db/wal device filters

If the hostname is selected for the primary devices, then we can
preselect the hostname filter for the db/wal devices because osds will
be deployed only on the hostname of the primary device. If preselected
it'll be clear that only this devices will be used to deploy.

Addition to this, usually ssd devices are used for db/wal devices. So I
am preselecting these too in the filters.

Fixes: https://tracker.ceph.com/issues/57118
Signed-off-by: Nizamudeen A <nia@redhat.com>
(cherry picked from commit 5f8eff3beff7b8aa0066811dedf0024b76001a6e)
src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/inventory/inventory-devices/inventory-devices.component.ts
src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-devices-selection-groups/osd-devices-selection-groups.component.ts
src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-devices-selection-modal/osd-devices-selection-modal.component.html
src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-devices-selection-modal/osd-devices-selection-modal.component.ts
src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-form/osd-form.component.html
src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-form/osd-form.component.ts