]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
ceph-volume/ activate: add seastore support.
authorRongqi Sun <sunrongqi@huawei.com>
Fri, 24 Feb 2023 06:00:55 +0000 (14:00 +0800)
committerRongqi Sun <sunrongqi@huawei.com>
Fri, 24 Feb 2023 06:00:55 +0000 (14:00 +0800)
Signed-off-by: Rongqi Sun <sunrongqi@huawei.com>
src/ceph-volume/ceph_volume/activate/main.py

index 1cef038b62fe734e86e62d3f0964867e439b83f9..e13def81d21b9784a469beb385d7b0855c024ba9 100644 (file)
@@ -29,6 +29,16 @@ class Activate(object):
             '--osd-uuid',
             help='OSD UUID to activate'
         )
+        parser.add_argument(
+            '--bluestore',
+            action='store_true',
+            help='force bluestore objectstore activation',
+        )
+        parser.add_argument(
+            '--seastore',
+            action='store_true',
+            help='force seastore objectstore activation',
+        )
         parser.add_argument(
             '--no-systemd',
             dest='no_systemd',
@@ -61,6 +71,8 @@ class Activate(object):
                 argparse.Namespace(
                     osd_id=self.args.osd_id,
                     osd_fsid=self.args.osd_uuid,
+                    seastore=self.args.seastore,
+                    bluestore=self.args.bluestore,
                     no_tmpfs=self.args.no_tmpfs,
                     no_systemd=self.args.no_systemd,
                 )