'/tmp/cephtest/enable-coredump',
'/tmp/cephtest/binary/usr/local/bin/ceph-coverage',
coverage_dir,
- '/tmp/cephtest/binary/usr/local/bin/cauthtool',
+ '/tmp/cephtest/binary/usr/local/bin/ceph-authtool',
'--create-keyring',
'/tmp/cephtest/ceph.keyring',
],
'/tmp/cephtest/enable-coredump',
'/tmp/cephtest/binary/usr/local/bin/ceph-coverage',
coverage_dir,
- '/tmp/cephtest/binary/usr/local/bin/cauthtool',
+ '/tmp/cephtest/binary/usr/local/bin/ceph-authtool',
'--gen-key',
'--name=mon.',
'/tmp/cephtest/ceph.keyring',
'/tmp/cephtest/enable-coredump',
'/tmp/cephtest/binary/usr/local/bin/ceph-coverage',
coverage_dir,
- '/tmp/cephtest/binary/usr/local/bin/cauthtool',
+ '/tmp/cephtest/binary/usr/local/bin/ceph-authtool',
'--gen-key',
'--name=client.admin',
'--set-uid=0',
'/tmp/cephtest/enable-coredump',
'/tmp/cephtest/binary/usr/local/bin/ceph-coverage',
coverage_dir,
- '/tmp/cephtest/binary/usr/local/bin/cauthtool',
+ '/tmp/cephtest/binary/usr/local/bin/ceph-authtool',
'--create-keyring',
'--gen-key',
'--name=osd.{id}'.format(id=id_),
'/tmp/cephtest/enable-coredump',
'/tmp/cephtest/binary/usr/local/bin/ceph-coverage',
coverage_dir,
- '/tmp/cephtest/binary/usr/local/bin/cauthtool',
+ '/tmp/cephtest/binary/usr/local/bin/ceph-authtool',
'--create-keyring',
'--gen-key',
'--name=mds.{id}'.format(id=id_),
'/tmp/cephtest/enable-coredump',
'/tmp/cephtest/binary/usr/local/bin/ceph-coverage',
coverage_dir,
- '/tmp/cephtest/binary/usr/local/bin/cauthtool',
+ '/tmp/cephtest/binary/usr/local/bin/ceph-authtool',
'--create-keyring',
'--gen-key',
# TODO this --name= is not really obeyed, all unknown "types" are munged to "client"
'/tmp/cephtest/enable-coredump',
'/tmp/cephtest/binary/usr/local/bin/ceph-coverage',
coverage_dir,
- '/tmp/cephtest/binary/usr/local/bin/cauthtool',
+ '/tmp/cephtest/binary/usr/local/bin/ceph-authtool',
'/tmp/cephtest/ceph.keyring',
'--name={type}.{id}'.format(
type=type_,
'/tmp/cephtest/enable-coredump',
'/tmp/cephtest/binary/usr/local/bin/ceph-coverage',
coverage_dir,
- '/tmp/cephtest/binary/usr/local/bin/cmon',
+ '/tmp/cephtest/binary/usr/local/bin/ceph-mon',
'--mkfs',
'-i', id_,
'-c', '/tmp/cephtest/ceph.conf',
'/tmp/cephtest/enable-coredump',
'/tmp/cephtest/binary/usr/local/bin/ceph-coverage',
coverage_dir,
- '/tmp/cephtest/binary/usr/local/bin/cosd',
+ '/tmp/cephtest/binary/usr/local/bin/ceph-osd',
'--mkfs',
'-i', id_,
'-c', '/tmp/cephtest/ceph.conf',
'/tmp/cephtest/daemon-helper'
]
- run_cmd_tail = ['/tmp/cephtest/binary/usr/local/bin/cmon',
+ run_cmd_tail = ['/tmp/cephtest/binary/usr/local/bin/ceph-mon',
'-f',
'-i', id_,
'-c', '/tmp/cephtest/ceph.conf']
'/tmp/cephtest/daemon-helper'
]
proc_signal = daemon_signal
- run_cmd_tail = [ '/tmp/cephtest/binary/usr/local/bin/cosd',
+ run_cmd_tail = [ '/tmp/cephtest/binary/usr/local/bin/ceph-osd',
'-f',
'-i', id_,
'-c', '/tmp/cephtest/ceph.conf',
'/tmp/cephtest/daemon-helper'
]
proc_signal = daemon_signal
- run_cmd_tail = ['/tmp/cephtest/binary/usr/local/bin/cmds',
+ run_cmd_tail = ['/tmp/cephtest/binary/usr/local/bin/ceph-mds',
'-f',
'-i', id_,
'-c', '/tmp/cephtest/ceph.conf',
@contextlib.contextmanager
def task(ctx, config):
"""
- Mount/unmount a ``cfuse`` client.
+ Mount/unmount a ``ceph-fuse`` client.
The config is optional and defaults to mounting on all clients. If
a config is given, it is expected to be a list of clients to do
this operation on. This lets you e.g. set up one client with
- ``cfuse`` and another with ``kclient``.
+ ``ceph-fuse`` and another with ``kclient``.
Example that mounts all clients::
- interactive:
"""
- log.info('Mounting cfuse clients...')
+ log.info('Mounting ceph-fuse clients...')
cfuse_daemons = {}
if config is None:
for id_, remote in clients:
mnt = os.path.join('/tmp/cephtest', 'mnt.{id}'.format(id=id_))
- log.info('Mounting cfuse client.{id} at {remote} {mnt}...'.format(
+ log.info('Mounting ceph-fuse client.{id} at {remote} {mnt}...'.format(
id=id_, remote=remote,mnt=mnt))
client_config = config.get("client.%s" % id_)
'/tmp/cephtest/daemon-helper',
]
run_cmd_tail=[
- '/tmp/cephtest/binary/usr/local/bin/cfuse',
+ '/tmp/cephtest/binary/usr/local/bin/ceph-fuse',
'-f',
'--name', 'client.{id}'.format(id=id_),
'-c', '/tmp/cephtest/ceph.conf',
- # TODO cfuse doesn't understand dash dash '--',
+ # TODO ceph-fuse doesn't understand dash dash '--',
mnt,
]
try:
yield
finally:
- log.info('Unmounting cfuse clients...')
+ log.info('Unmounting ceph-fuse clients...')
for id_, remote in clients:
mnt = os.path.join('/tmp/cephtest', 'mnt.{id}'.format(id=id_))
remote.run(