Skip to content

Commit

Permalink
debug commit: to be removed
Browse files Browse the repository at this point in the history
Signed-off-by: Nahshon Unna-Tsameret <[email protected]>
  • Loading branch information
nunnatsa committed Mar 5, 2025
1 parent 6646f34 commit 4e33703
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion cluster-sync/sync.sh
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,15 @@ function wait_aaq_available {
fix_failed_sdn_pods
done
else
_kubectl wait aaqs.aaq.kubevirt.io/${CR_NAME} --for=condition=Available --timeout=${AAQ_AVAILABLE_TIMEOUT}s
if ! _kubectl wait aaqs.aaq.kubevirt.io/${CR_NAME} --for=condition=Available --timeout=${AAQ_AVAILABLE_TIMEOUT}s; then
echo "timeout while waiting to AAQ CR to be available"
_kubectl get aaqs.aaq.kubevirt.io/${CR_NAME} -o yaml
_kubectl get deployment -n aaq aaq-operator -o yaml
_kubectl get pod -n aaq
_kubectl describe pod -n aaq -l name=aaq-operator
_kubectl logs -n aaq -l name=aaq-operator
exit 1
fi
fi
}

Expand Down

0 comments on commit 4e33703

Please sign in to comment.