010c3978a1
This PS tidies the Ceph scripts. In addition, it allows the chart to be removed and re-deployed without data loss, and improves robustness to rebooting nodes and/or the cluster. Change-Id: If5a65d0dcca1d049b177d9bffb654a13d56c3823
15 lines
228 B
Smarty
15 lines
228 B
Smarty
#!/bin/bash
|
|
set -ex
|
|
export LC_ALL=C
|
|
|
|
function watch_mon_health {
|
|
while [ true ]; do
|
|
echo "checking for zombie mons"
|
|
/tmp/moncheck-reap-zombies.py || true
|
|
echo "sleep 30 sec"
|
|
sleep 30
|
|
done
|
|
}
|
|
|
|
watch_mon_health
|