From: Alfredo Deza Date: Wed, 21 May 2014 12:58:34 +0000 (-0400) Subject: refuse to install with custom cluster names on sysvinit hosts X-Git-Tag: v1.5.3~8^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=8084f5780dd6ca730f86a319dac8227af338ce44;p=ceph-deploy.git refuse to install with custom cluster names on sysvinit hosts Signed-off-by: Alfredo Deza --- diff --git a/ceph_deploy/install.py b/ceph_deploy/install.py index 21dd507..2605568 100644 --- a/ceph_deploy/install.py +++ b/ceph_deploy/install.py @@ -41,6 +41,16 @@ def install(args): distro.release, distro.codename ) + + if distro.init == 'sysvinit' and args.cluster != 'ceph': + LOG.error('refusing to install on host: %s, with custom cluster name: %s' % ( + hostname, + args.cluster, + ) + ) + LOG.error('custom cluster names are not supported on sysvinit hosts') + continue + rlogger = logging.getLogger(hostname) rlogger.info('installing ceph on %s' % hostname)