def detect_components(args, distro):
"""
- Since the package split, now there are various different ceph components to
+ Since the package split, now there are various different Ceph components to
install like:
* ceph
continue
rlogger = logging.getLogger(hostname)
- rlogger.info('installing ceph on %s' % hostname)
+ rlogger.info('installing Ceph on %s' % hostname)
cd_conf = getattr(args, 'cd_conf', None)
def install_repo(args):
"""
For a user that only wants to install the repository only (and avoid
- installing ceph and its dependencies).
+ installing Ceph and its dependencies).
"""
cd_conf = getattr(args, 'cd_conf', None)
distro = hosts.get(
hostname,
username=args.username,
- # XXX this should get removed once ceph packages are split for
+ # XXX this should get removed once Ceph packages are split for
# upstream. If default_release is True, it means that the user is
# trying to install on a RHEL machine and should expect to get RHEL
# packages. Otherwise, it will need to specify either a specific
use_rhceph=True)
LOG.info('Distro info: %s %s %s', distro.name, distro.release, distro.codename)
rlogger = logging.getLogger(hostname)
- rlogger.info('uninstalling ceph on %s' % hostname)
+ rlogger.info('uninstalling Ceph on %s' % hostname)
distro.uninstall(distro)
distro.conn.exit()
distro.conn.exit()
if installed_hosts:
- LOG.error("ceph is still installed on: %s", installed_hosts)
- raise RuntimeError("refusing to purge data while ceph is still installed")
+ LOG.error("Ceph is still installed on: %s", installed_hosts)
+ raise RuntimeError("refusing to purge data while Ceph is still installed")
for hostname in args.host:
distro = hosts.get(hostname, username=args.username)
'--all',
dest='install_all',
action='store_true',
- help='install all ceph components (e.g. mon,osd,mds,rgw). This is the default',
+ help='install all Ceph components (e.g. mon,osd,mds,rgw). This is the default',
)
repo = parser.add_mutually_exclusive_group()
'--repo-url',
nargs='?',
dest='repo_url',
- help='specify a repo URL that mirrors/contains ceph packages',
+ help='specify a repo URL that mirrors/contains Ceph packages',
)
parser.add_argument(