]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr/dashboard: NoRebalance flag is added to the Dashboard 33862/head
authorNizamudeen <nia@redhat.com>
Tue, 10 Mar 2020 16:32:41 +0000 (22:02 +0530)
committerNizamudeen <nia@redhat.com>
Tue, 10 Mar 2020 16:51:48 +0000 (22:21 +0530)
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 <nia@redhat.com>
src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-flags-modal/osd-flags-modal.component.ts

index 60b374c0070dc95bec4f234bfba432968a458eb6..12520e41b4e68b8d1b199ce686bfb6a9e841a321 100644 (file)
@@ -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'),