ceph-volume lvm.activate pass no_systemd args when detecting objectstore 24355/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 15:54:19 +0000 (11:54 -0400)
Signed-off-by: Alfredo Deza <adeza@redhat.com>
src/ceph-volume/ceph_volume/devices/lvm/activate.py

index 28b81dda6115d85818b2cf0a17327118bcff4e57..acebfe123b6bb8a92a1b8baadf6820a14c2826b9 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: