]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
test: create asok files in a temp directory under $TMPDIR 16445/head
authorKefu Chai <kchai@redhat.com>
Thu, 20 Jul 2017 11:20:04 +0000 (19:20 +0800)
committerKefu Chai <kchai@redhat.com>
Fri, 21 Jul 2017 17:05:29 +0000 (01:05 +0800)
commit10b88b5d821b85fe4e61b130c241656fd79cf50c
treeb2d3a09486f05a791a2c2e7b8d16da2b7be2a3b7
parent9fdd2455d3edb842d4b0cc9bffef66253172e5d3
test: create asok files in a temp directory under $TMPDIR

to shorten the pathname of unix domain socket created for admin socket,
so it does not exceed the limit of 107 on GNU/Linux:

* ceph-helper.sh: the temp directory is named ${TMPDIR:-/tmp}/ceph-asok.$$
* vstart.sh: the temp directory is named `mktemp -u -d "${TMPDIR:-/tmp}/ceph-asok.XXXXXX"`

Fixes: http://tracker.ceph.com/issues/16895
Signed-off-by: Kefu Chai <kchai@redhat.com>
15 files changed:
qa/workunits/ceph-helpers.sh
qa/workunits/cephtool/test.sh
run-make-check.sh
src/ceph.in
src/mrgw.sh
src/stop.sh
src/test/erasure-code/test-erasure-code-plugins.sh
src/test/erasure-code/test-erasure-code.sh
src/test/erasure-code/test-erasure-eio.sh
src/test/mon/mon-handle-forward.sh
src/test/mon/osd-crush.sh
src/test/osd/osd-config.sh
src/test/osd/osd-scrub-repair.sh
src/test/vstart_wrapper.sh
src/vstart.sh