summaryrefslogtreecommitdiff
path: root/docker
diff options
context:
space:
mode:
authorSamYaple <sam@yaple.net>2016-01-17 23:19:34 +0000
committerSamYaple <sam@yaple.net>2016-01-17 23:20:54 +0000
commitaf0d73ea384aad8bdd306fc2e1c0a29dfa5fb9e3 (patch)
tree6905fa366b560f5f9d785544b0f5f5ac1e4f85c1 /docker
parentc531338fef2b0d904bc9c8a85416806c77fd3cb1 (diff)
downloadkolla-af0d73ea384aad8bdd306fc2e1c0a29dfa5fb9e3.tar.gz
kolla-af0d73ea384aad8bdd306fc2e1c0a29dfa5fb9e3.zip
Rename ceph-mon bootstrap container to avoid conflict
Ceph-mon bootstrap container shares the same name of `ceph_mon` with real ceph-mon service. When bootstrapping, it will sleep forever for the purpose of distribute rings. Later on, when starting real `ceph_mon` service, kolla_docker module will take bootstrap container as real one because bootstrap container has a super set of env variables and kolla_docker doesn't do strict comparing of env variable items. This change follows the pattern of other bootstrap containers and rename to use `bootstrap_ceph_mon` to avoid conflict. Co-Authored-By: Sam Yaple <sam@yaple.net> Change-Id: I0082820900928c42f9cc778ffd705980fea9ad1c Closes-Bug: #1535140
Diffstat (limited to 'docker')
-rw-r--r--docker/ceph/ceph-mon/extend_start.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/docker/ceph/ceph-mon/extend_start.sh b/docker/ceph/ceph-mon/extend_start.sh
index 3b8246e37..fd17de511 100644
--- a/docker/ceph/ceph-mon/extend_start.sh
+++ b/docker/ceph/ceph-mon/extend_start.sh
@@ -21,8 +21,7 @@ if [[ "${!KOLLA_BOOTSTRAP[@]}" ]]; then
ceph-authtool "${KEYRING_MON}" --import-keyring "${KEYRING_RGW}"
monmaptool --create --add "$(hostname)" "${MON_IP}" --fsid "${FSID}" "${MONMAP}"
- echo "Sleeping until keys are fetched"
- /bin/sleep infinity
+ exit 0
fi
# This section runs on every mon that does not have a keyring already.