]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
pybind/mgr/dashboard: add pglog_hardlimit flags
authorNeha Ojha <nojha@redhat.com>
Thu, 20 Dec 2018 17:56:39 +0000 (09:56 -0800)
committerNeha Ojha <nojha@redhat.com>
Fri, 4 Jan 2019 22:25:52 +0000 (14:25 -0800)
Note: Tested using vstart

Signed-off-by: Neha Ojha <nojha@redhat.com>
src/pybind/mgr/dashboard/controllers/osd.py
src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-flags-modal/osd-flags-modal.component.ts

index 08c141c8842c8246042d9d8c5c661c980557dea7..e2bb83665510945e8c4d4d11306b12580c10f196 100644 (file)
@@ -199,7 +199,7 @@ class OsdFlagsController(RESTController):
 
     def bulk_set(self, flags):
         """
-        The `recovery_deletes` and `sortbitwise` flags cannot be unset.
+        The `recovery_deletes`, `sortbitwise` and `pglog_hardlimit` flags cannot be unset.
         `purged_snapshots` cannot even be set. It is therefore required to at
         least include those three flags for a successful operation.
         """
index c78b49137a0891413e7bd100011a71e34c95c92d..b6fd5775afa5b101900c7b05d9091396bc884413 100644 (file)
@@ -98,6 +98,13 @@ export class OsdFlagsModalComponent implements OnInit {
       value: false,
       description: this.i18n('Deletes performed during recovery instead of peering'),
       disabled: true
+    },
+    pglog_hardlimit: {
+      code: 'pglog_hardlimit',
+      name: this.i18n('PG Log Hard Limit'),
+      value: false,
+      description: this.i18n('Puts a hard limit on pg log length'),
+      disabled: true
     }
   };
   flags: any[];