Skip to content
Snippets Groups Projects
Commit fe0e2f5a 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 5a8a69f1
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment