From: Nizamudeen Date: Tue, 10 Mar 2020 16:32:41 +0000 (+0530) Subject: mgr/dashboard: NoRebalance flag is added to the Dashboard X-Git-Tag: v14.2.10~194^2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=23aa4838ecc342c8eac91c1094ab172b0823c6c2;p=ceph.git 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 (cherry picked from commit 7e30c261c0c57ccb26097e56ee442f3d6bf08e4a) --- 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 60b374c0070dc..12520e41b4e68 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'),