]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
ceph-volume simple.activate enable the osd when activating
authorAlfredo Deza <adeza@redhat.com>
Wed, 8 Nov 2017 22:23:41 +0000 (17:23 -0500)
committerAlfredo Deza <adeza@redhat.com>
Thu, 9 Nov 2017 17:02:16 +0000 (12:02 -0500)
Signed-off-by: Alfredo Deza <adeza@redhat.com>
src/ceph-volume/ceph_volume/devices/simple/activate.py

index 06dbff4d21a1e64339e23fe4f5ae79b81ed9ac0e..f3e7559f812561862b44e26e8c23e0d1894b2cee 100644 (file)
@@ -71,6 +71,9 @@ class Activate(object):
             # disable any/all ceph-disk units
             systemctl.mask_ceph_disk()
 
+        # enable the OSD
+        systemctl.enable_osd(osd_id)
+
         # start the OSD
         systemctl.start_osd(osd_id)