-
Notifications
You must be signed in to change notification settings - Fork 84
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug] Xenon postStart script loop forever #201
Comments
ACK. |
shell script while true; do
kubectl delete -f config/samples/mysql_v1alpha1_cluster.yaml;
while kubectl get pod/sample-mysql-0 -o jsonpath='{.status.containerStatuses[0].ready}' 2>/dev/null |grep -q 'true' || kubectl get pod/sample-mysql-1 -o jsonpath='{.status.containerStatuses[0].ready}' 2>/dev/null |grep -q 'true' || kubectl get pod/sample-mysql-2 -o jsonpath='{.status.containerStatuses[0].ready}' 2>/dev/null |grep -q 'true'; do
sleep 1
echo -n ^
done
kubectl apply -f config/samples/mysql_v1alpha1_cluster.yaml
until kubectl get pod/sample-mysql-0 -o jsonpath='{.status.containerStatuses[0].ready}' 2>/dev/null |grep -q 'true' && kubectl get pod/sample-mysql-1 -o jsonpath='{.status.containerStatuses[0].ready}' 2>/dev/null |grep -q 'true' && kubectl get pod/sample-mysql-2 -o jsonpath='{.status.containerStatuses[0].ready}' 2>/dev/null |grep -q 'true'; do
sleep 1
echo -n .
done
done But it do not repeat it again |
acekingke
added a commit
to acekingke/radondb-mysql-kubernetes
that referenced
this issue
Aug 30, 2021
acekingke
added a commit
to acekingke/radondb-mysql-kubernetes
that referenced
this issue
Aug 31, 2021
Long Run. |
acekingke
added a commit
to acekingke/radondb-mysql-kubernetes
that referenced
this issue
Sep 2, 2021
acekingke
added a commit
to acekingke/radondb-mysql-kubernetes
that referenced
this issue
Sep 16, 2021
acekingke
added a commit
to acekingke/radondb-mysql-kubernetes
that referenced
this issue
Sep 16, 2021
acekingke
added a commit
to acekingke/radondb-mysql-kubernetes
that referenced
this issue
Sep 16, 2021
acekingke
added a commit
to acekingke/radondb-mysql-kubernetes
that referenced
this issue
Sep 16, 2021
zhl003
pushed a commit
to zhl003/radondb-mysql-kubernetes
that referenced
this issue
Aug 17, 2022
zhl003
pushed a commit
to zhl003/radondb-mysql-kubernetes
that referenced
this issue
Aug 17, 2022
api,cluster,sidecar: fix the bug for infinite loop radondb#201, radondb#219
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the problem
When I delete the cluster, found that pod
sample-mysql-1
has infinite loop , check the xenon container, it run as follow:But the pod
sample-mysql-2
has been deleted!To Reproduce
cannot reproduce every time, The reason is,
buildPostStart
generatorpost-start.sh
, Pod add node to xenon is infinite loopExpected behavior
Environment:
The text was updated successfully, but these errors were encountered: