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:
Sage Weil 2013-02-21 11:35:36 -08:00
parent 2574d87562
commit e1573ea181
4 changed files with 4 additions and 5 deletions

View File

@ -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

View File

@ -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(

View File

@ -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,
),

View File

@ -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,