Fixes: http://tracker.ceph.com/issues/39066
Signed-off-by: Kefu Chai <kchai@redhat.com>
Conflicts:
src/ceph-disk/tests/ceph-disk.sh: this change is not
cherry-picked from master. because ceph-disk was removed in nautilus. and
we need to run multiple luminous tests in parallel, hence the change.
CEPH_DISK_ARGS+=" --statedir=$dir"
CEPH_DISK_ARGS+=" --sysconfdir=$dir"
- export CEPH_MON="127.0.0.1:7451" # git grep '\<7451\>' : there must be only one
+ export CEPH_MON="127.0.0.1:$(get_unused_port)"
export CEPH_ARGS
CEPH_ARGS+=" --fsid=$(uuidgen)"
CEPH_ARGS+=" --auth-supported=none"