Commit e081e84b authored by Julien Leduc's avatar Julien Leduc
Browse files

A filesystem is accessible when it is `booted` checking for `online`

was not enough.
parent 4415fd66
......@@ -187,7 +187,7 @@ fi
eos chmod 777 ${EOS_TMP_DIR}
echo "Waiting for the EOS disk filesystem using /fst to come on-line"
while test 1 != `eos fs ls /fst | grep online | wc -l`; do
while test 1 != `eos fs ls /fst | grep booted | wc -l`; do
echo "Sleeping 1 second"
sleep 1
done
......
......@@ -47,7 +47,7 @@ kubectl -n ${NAMESPACE} exec ctaeos -- systemctl status eos@*
kubectl -n ${NAMESPACE} exec ctaeos -- eos version
echo "Waiting for the EOS disk filesystem using /fst to come on-line"
while test 1 != `kubectl -n ${NAMESPACE} exec ctaeos -- eos fs ls /fst | grep online | wc -l`; do
while test 1 != `kubectl -n ${NAMESPACE} exec ctaeos -- eos fs ls /fst | grep booted | wc -l`; do
echo "Sleeping 1 second"
sleep 1
done
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment