MCPcopy Create free account
hub / github.com/ceph/ceph / _shell

Function _shell

qa/tasks/cephadm.py:39–54  ·  view source on GitHub ↗
(ctx, cluster_name, remote, args, extra_cephadm_args=[], **kwargs)

Source from the content-addressed store, hash-verified

37
38
39def _shell(ctx, cluster_name, remote, args, extra_cephadm_args=[], **kwargs):
40 teuthology.get_testdir(ctx)
41 return remote.run(
42 args=[
43 'sudo',
44 ctx.cephadm,
45 '--image', ctx.ceph[cluster_name].image,
46 'shell',
47 '-c', '/etc/ceph/{}.conf'.format(cluster_name),
48 '-k', '/etc/ceph/{}.client.admin.keyring'.format(cluster_name),
49 '--fsid', ctx.ceph[cluster_name].fsid,
50 ] + extra_cephadm_args + [
51 '--',
52 ] + args,
53 **kwargs
54 )
55
56
57def _cephadm_remotes(ctx, log_excluded=False):

Callers 15

deploy_nvmeofMethod · 0.90
teardownMethod · 0.90
ceph_bootstrapFunction · 0.70
ceph_monsFunction · 0.70
ceph_mgrsFunction · 0.70
ceph_osdsFunction · 0.70
check_enable_crimsonFunction · 0.70
ceph_mdssFunction · 0.70
ceph_monitoringFunction · 0.70
ceph_rgwFunction · 0.70
ceph_iscsiFunction · 0.70
ceph_clientsFunction · 0.70

Calls 2

runMethod · 0.45
formatMethod · 0.45

Tested by

no test coverage detected