summaryrefslogtreecommitdiffstats
path: root/extraconfig/tasks/major_upgrade_ceph_mon.sh
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2016-09-27 02:04:27 +0000
committerGerrit Code Review <review@openstack.org>2016-09-27 02:04:27 +0000
commitfb8338ec245954d3f707173f34053ed50ac5d994 (patch)
tree3e1e9f801c9167213623183cb3a5430e5280f56b /extraconfig/tasks/major_upgrade_ceph_mon.sh
parent9df19caa5c14c4c450eabe8577ab36eab6331fe2 (diff)
parentdef3801fcb4feadd30d9a858b8a543ab8ce923b7 (diff)
Merge "Fix ignore warning on ceph major upgrade."
Diffstat (limited to 'extraconfig/tasks/major_upgrade_ceph_mon.sh')
-rwxr-xr-xextraconfig/tasks/major_upgrade_ceph_mon.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/extraconfig/tasks/major_upgrade_ceph_mon.sh b/extraconfig/tasks/major_upgrade_ceph_mon.sh
index 21a2b5bc..b633e658 100755
--- a/extraconfig/tasks/major_upgrade_ceph_mon.sh
+++ b/extraconfig/tasks/major_upgrade_ceph_mon.sh
@@ -24,7 +24,7 @@ if [ ${CEPH_STATUS} = HEALTH_ERR ]; then
fi
# Useful when upgrading with OSDs num < replica size
-if [ ${ignore_ceph_upgrade_warnings:-false} != "true" ]; then
+if [[ ${ignore_ceph_upgrade_warnings:-False} != [Tt]rue ]]; then
timeout 300 bash -c "while [ ${CEPH_STATUS} != HEALTH_OK ]; do
echo WARNING: Waiting for Ceph cluster status to go HEALTH_OK;
sleep 30;