Skip tigerastatus check due to race condition
* skipping tigerastatus check due to a race condition. * kubectl wait gets called before any tigerastatus CRs are created, it fails since it doesn't wait for the resources themselves to exist * Will work on a follow-up PS for a permanent fix to check tigerastatus after the CRs are created. Change-Id: Ibde0b70658fc68500756f5e43bd43c52e00b3b99 Relates-To: #442
This commit is contained in:
parent
68b1e4ff51
commit
4066c746ef
@ -23,8 +23,9 @@ airshipctl phase run initinfra-networking-ephemeral --debug
|
||||
echo "Wait for Calico to be deployed using tigera"
|
||||
kubectl --kubeconfig $KUBECONFIG --context $KUBECONFIG_EPHEMERAL_CONTEXT wait --all-namespaces --for=condition=Ready pods --all --timeout=1000s
|
||||
|
||||
echo "Wait for Tigerastatus to be Available"
|
||||
kubectl --kubeconfig $KUBECONFIG --context $KUBECONFIG_EPHEMERAL_CONTEXT wait --for=condition=Available tigerastatus --all --timeout=1000s -A
|
||||
# Skipping this check due a race condition till a work-around is identified.
|
||||
#echo "Wait for Tigerastatus to be Available"
|
||||
#kubectl --kubeconfig $KUBECONFIG --context $KUBECONFIG_EPHEMERAL_CONTEXT wait --for=condition=Available tigerastatus --all --timeout=1000s -A
|
||||
|
||||
echo "Deploy metal3.io components to ephemeral node"
|
||||
airshipctl phase run initinfra-ephemeral --debug
|
||||
|
@ -24,8 +24,9 @@ airshipctl phase run initinfra-networking-target --debug
|
||||
echo "Wait for Calico to be deployed using tigera"
|
||||
kubectl --kubeconfig $KUBECONFIG --context $KUBECONFIG_TARGET_CONTEXT wait --all-namespaces --for=condition=Ready pods --all --timeout=600s
|
||||
|
||||
echo "Wait for Tigerastatus to be available"
|
||||
kubectl --kubeconfig $KUBECONFIG --context $KUBECONFIG_TARGET_CONTEXT wait --for=condition=Available tigerastatus --all --timeout=600s -A
|
||||
# Skipping this check due a race condition till a work-around is identified.
|
||||
#echo "Wait for Tigerastatus to be available"
|
||||
#kubectl --kubeconfig $KUBECONFIG --context $KUBECONFIG_TARGET_CONTEXT wait --for=condition=Available tigerastatus --all --timeout=600s -A
|
||||
|
||||
echo "Deploy infra to cluster"
|
||||
airshipctl phase run initinfra-target --debug
|
||||
|
Loading…
x
Reference in New Issue
Block a user