From: Alfredo Deza Date: Tue, 23 Sep 2014 15:31:04 +0000 (-0400) Subject: enable the ceph service when creating an mds X-Git-Tag: v1.5.16~8^2~3 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=bba395070eb0dbb915e0a5d4682b86ad0afdbedd;p=ceph-deploy.git enable the ceph service when creating an mds Signed-off-by: Alfredo Deza --- diff --git a/ceph_deploy/mds.py b/ceph_deploy/mds.py index 49fee94..776dc39 100644 --- a/ceph_deploy/mds.py +++ b/ceph_deploy/mds.py @@ -6,6 +6,7 @@ import os from ceph_deploy import conf from ceph_deploy import exc from ceph_deploy import hosts +from ceph_deploy.util import system from ceph_deploy.lib import remoto from ceph_deploy.cliutil import priority @@ -107,6 +108,9 @@ def create_mds(conn, name, cluster, init): timeout=7 ) + if distro.is_el: + system.enable_service(distro.conn) + def mds_create(args): cfg = conf.ceph.load(args)