Merge "gate: ceph; reuse fsid if it exists"

This commit is contained in:
Zuul 2018-05-04 15:23:07 +00:00 committed by Gerrit Code Review
commit ddc87f5e7d
2 changed files with 2 additions and 2 deletions

View File

@ -23,7 +23,7 @@ done
#NOTE: Deploy command
: ${OSH_EXTRA_HELM_ARGS:=""}
uuidgen > /tmp/ceph-fs-uuid.txt
[ -s /tmp/ceph-fs-uuid.txt ] || uuidgen > /tmp/ceph-fs-uuid.txt
CEPH_FS_ID="$(cat /tmp/ceph-fs-uuid.txt)"
#NOTE(portdirect): to use RBD devices with Ubuntu kernels < 4.5 this
# should be set to 'hammer'

View File

@ -17,7 +17,7 @@
set -xe
#NOTE: Deploy command
uuidgen > /tmp/ceph-fs-uuid.txt
[ -s /tmp/ceph-fs-uuid.txt ] || uuidgen > /tmp/ceph-fs-uuid.txt
CEPH_PUBLIC_NETWORK="$(./tools/deployment/multinode/kube-node-subnet.sh)"
CEPH_CLUSTER_NETWORK="$(./tools/deployment/multinode/kube-node-subnet.sh)"
CEPH_FS_ID="$(cat /tmp/ceph-fs-uuid.txt)"