]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
ceph-volume lvm.activate pass no_systemd args when detecting objectstore 24358/head
authorAlfredo Deza <adeza@redhat.com>
Mon, 1 Oct 2018 15:54:19 +0000 (11:54 -0400)
committerAlfredo Deza <adeza@redhat.com>
Mon, 1 Oct 2018 19:06:37 +0000 (15:06 -0400)
Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit 29de6820a9a7108c8de41036add9332f9b910359)

src/ceph-volume/ceph_volume/devices/lvm/activate.py

index a2ea234049e7c1c78da8742ea326df1c40f4b14f..852c314c2993e3d44d370a590ebe5a52c73dcdf4 100644 (file)
@@ -250,9 +250,9 @@ class Activate(object):
                 has_journal = lv.tags.get('ceph.journal_uuid')
                 if has_journal:
                     logger.info('found a journal associated with the OSD, assuming filestore')
-                    return activate_filestore(lvs)
+                    return activate_filestore(lvs, no_systemd=args.no_systemd)
             logger.info('unable to find a journal associated with the OSD, assuming bluestore')
-            return activate_bluestore(lvs)
+            return activate_bluestore(lvs, no_systemd=args.no_systemd)
         if args.bluestore:
             activate_bluestore(lvs, no_systemd=args.no_systemd)
         elif args.filestore: