mirror of
https://github.com/ceph/ceph
synced 2025-02-19 00:47:49 +00:00
ceph.conf: use default locations for admin socket; fix client log file
Signed-off-by: Sage Weil <sage@inktank.com>
This commit is contained in:
parent
2574d87562
commit
e1573ea181
@ -2,7 +2,6 @@
|
||||
chdir = ""
|
||||
pid file = $name.pid
|
||||
auth supported = cephx
|
||||
admin socket = {testdir}/asok.$name
|
||||
|
||||
filestore xattr use omap = true
|
||||
|
||||
@ -30,4 +29,5 @@
|
||||
rgw cache enabled = true
|
||||
rgw enable ops log = true
|
||||
rgw enable usage log = true
|
||||
log dir = /var/log/ceph/ceph.$name.$pid.log
|
||||
log dir = /var/log/ceph/ceph-$name.$pid.log
|
||||
admin socket = /var/run/ceph/ceph-$name.$pid.asok
|
||||
|
@ -89,7 +89,7 @@ def _run_tests(ctx, client, tests):
|
||||
testdir = teuthology.get_testdir(ctx)
|
||||
log.debug('Running admin socket tests on %s', client)
|
||||
(remote,) = ctx.cluster.only(client).remotes.iterkeys()
|
||||
socket_path = '{tdir}/asok.{name}'.format(tdir=testdir, name=client)
|
||||
socket_path = '/var/run/ceph/ceph-{name}.asok'.format(name=client)
|
||||
|
||||
try:
|
||||
tmp_dir = os.path.join(
|
||||
|
@ -816,7 +816,6 @@ def cluster(ctx, config):
|
||||
keyring_path,
|
||||
'{tdir}/data'.format(tdir=testdir),
|
||||
'{tdir}/monmap'.format(tdir=testdir),
|
||||
run.Raw('{tdir}/asok.*'.format(tdir=testdir))
|
||||
],
|
||||
wait=False,
|
||||
),
|
||||
|
@ -275,7 +275,7 @@ class CephManager:
|
||||
'{tdir}/archive/coverage'.format(tdir=testdir),
|
||||
'ceph',
|
||||
'--admin-daemon',
|
||||
"%s/asok.osd.%s"%(testdir,str(osdnum),)]
|
||||
"/var/run/ceph/ceph-osd.%s.asok"%(testdir,str(osdnum),)]
|
||||
args.extend(command)
|
||||
return remote.run(
|
||||
args=args,
|
||||
|
Loading…
Reference in New Issue
Block a user