My current hack just to continue the other part of the testing is the following. It's with good old days of Juju-wait to detect a charm hook failure then downgrading the charm :-)
# LP: #2066540
sunbeam cluster bootstrap --manifest manifest.yaml &
snap install --classic juju-wait
until juju status -m controller; do
sleep 10
done
if ! juju-wait -m controller -w; then
juju refresh -m controller sunbeam-clusterd --revision 16 --force-units
fi
wait
My current hack just to continue the other part of the testing is the following. It's with good old days of Juju-wait to detect a charm hook failure then downgrading the charm :-)
# LP: #2066540
sunbeam cluster bootstrap --manifest manifest.yaml &
snap install --classic juju-wait
until juju status -m controller; do
sleep 10
done
if ! juju-wait -m controller -w; then
juju refresh -m controller sunbeam-clusterd --revision 16 --force-units
fi
wait
sunbeam cluster deploy --manifest manifest.yaml