From 7e30c261c0c57ccb26097e56ee442f3d6bf08e4a Mon Sep 17 00:00:00 2001 From: Nizamudeen Date: Tue, 10 Mar 2020 22:02:41 +0530 Subject: [PATCH] mgr/dashboard: NoRebalance flag is added to the Dashboard This commit will add a norebalance flag into the Cluster-wide Flags in the OSDs which can be set/unset. Fixes: https://tracker.ceph.com/issues/44543 Signed-off-by: Nizamudeen --- .../osd/osd-flags-modal/osd-flags-modal.component.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-flags-modal/osd-flags-modal.component.ts b/src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-flags-modal/osd-flags-modal.component.ts index 60b374c0070..12520e41b4e 100644 --- a/src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-flags-modal/osd-flags-modal.component.ts +++ b/src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-flags-modal/osd-flags-modal.component.ts @@ -76,6 +76,12 @@ export class OsdFlagsModalComponent implements OnInit { value: false, description: this.i18n('Backfilling of PGs is suspended') }, + norebalance: { + code: 'norebalance', + name: this.i18n('No Rebalance'), + value: false, + description: this.i18n('OSD will choose not to backfill unless PG is also degraded') + }, norecover: { code: 'norecover', name: this.i18n('No Recover'), -- 2.39.5