diff options
author | Sage Weil <sage@redhat.com> | 2018-02-01 00:41:24 +0100 |
---|---|---|
committer | Sage Weil <sage@redhat.com> | 2018-03-06 21:44:50 +0100 |
commit | 4a3243dfe387ecafbb331d8460b1a0656fb5663f (patch) | |
tree | 648880c51a6f2fedf2aa57719c9462041b44a4ce /src/test | |
parent | global/global_init: apply_changes() for config fetch session (diff) | |
download | ceph-4a3243dfe387ecafbb331d8460b1a0656fb5663f.tar.xz ceph-4a3243dfe387ecafbb331d8460b1a0656fb5663f.zip |
test/mgr/mgr-dashboard-smoke: don't clobber CEPH_ARGS for other daemons
Signed-off-by: Sage Weil <sage@redhat.com>
Diffstat (limited to '')
-rwxr-xr-x | src/test/mgr/mgr-dashboard-smoke.sh | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/src/test/mgr/mgr-dashboard-smoke.sh b/src/test/mgr/mgr-dashboard-smoke.sh index f94c02aab8a..edd24711422 100755 --- a/src/test/mgr/mgr-dashboard-smoke.sh +++ b/src/test/mgr/mgr-dashboard-smoke.sh @@ -21,18 +21,17 @@ function run() { setup $dir || return 1 MON=127.0.0.1:7150 # git grep '\<7150\>' : there must be only one - ( - FSID=$(uuidgen) - export CEPH_ARGS - CEPH_ARGS+="--fsid=$FSID --auth-supported=none " - CEPH_ARGS+="--mon-initial-members=a --mon-host=$MON " - CEPH_ARGS+="--mgr-initial-modules=dashbaord " - CEPH_ARGS+="--mon-host=$MON" - run_mon $dir a --public-addr $MON || return 1 - ) + + FSID=$(uuidgen) + CEPH_ARGS+="--fsid=$FSID --auth-supported=none " + CEPH_ARGS+="--mon-initial-members=a --mon-host=$MON " + CEPH_ARGS+="--mgr-initial-modules=dashbaord " + CEPH_ARGS+="--mon-host=$MON" + export CEPH_ARGS + + run_mon $dir a --public-addr $MON || return 1 timeout 360 ceph --mon-host $MON mon stat || return 1 - export CEPH_ARGS="--mon_host $MON " ceph config-key set mgr/x/dashboard/server_port 7001 MGR_ARGS+="--mgr_module_path=${CEPH_ROOT}/src/pybind/mgr " run_mgr $dir x ${MGR_ARGS} || return 1 |