]> git-server-git.apps.pok.os.sepia.ceph.com Git - teuthology.git/commitdiff
ceph.conf.template: add cluster name to paths 841/head
authorJosh Durgin <jdurgin@redhat.com>
Thu, 31 Mar 2016 06:01:37 +0000 (23:01 -0700)
committerJosh Durgin <jdurgin@redhat.com>
Mon, 11 Apr 2016 21:36:42 +0000 (14:36 -0700)
This is more like the defaults, and makes non-osd daemons from
multiple clusters work on the same host.

Signed-off-by: Josh Durgin <jdurgin@redhat.com>
teuthology/ceph.conf.template

index 666be464e5e5b3ef484fbd6105b5d4608fc8f37c..8f052963c392b9af651a81157558eeaedcca221c 100644 (file)
@@ -1,6 +1,6 @@
 [global]
        chdir = ""
-       pid file = $name.pid
+       pid file = /var/run/ceph/$cluster-$name.pid
         auth supported = cephx
 
        filestore xattr use omap = true
@@ -67,8 +67,8 @@
         rgw cache enabled = true
        rgw enable ops log = true
        rgw enable usage log = true
-       log file = /var/log/ceph/ceph-$name.$pid.log
-       admin socket = /var/run/ceph/ceph-$name.$pid.asok
+       log file = /var/log/ceph/$cluster-$name.$pid.log
+       admin socket = /var/run/ceph/$cluster-$name.$pid.asok
 
 
        client mount timeout = 600