-
Notifications
You must be signed in to change notification settings - Fork 408
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] Edgenode Turns to NotReady, kubelet on It Restart Rapidly #367
Comments
@Windrow Thank you for filing issue. |
I believe it is created based on And here is a comparison between it and the template: |
|
@Windrow Thank you for uploading detail logs. |
The pod is running, but has many errors.
I did some further investigation today, I found that files in I guess my proposal before to align |
|
Hi, @rambohe-ch It is clear to me now. Two questions to discuss now.
|
…xecuted issue. See detailed description of the issue at openyurtio#367.
I submitted a pull request of aligning common.go to template file. It covers this issue anyway. What should we do upon |
@Windrow I'm very sorry for later feedback.
The files under if old files under
Now you need to delete the |
Now, we need to delete the by the way, maybe we need to check the validity of the old files under |
Sorry, but the creation of what here?
Yes. Maybe a timeout or a retry limit will do? |
|
Sorry that I forgot to ping you XD "Duplicated creation" of what you mentioned there? |
@Windrow Very sorry for late feedback.
I think that if |
if
|
@rambohe-ch No problem. What is the expected user behavior to reset a yurt cluster? I was considering to remove
|
we will add |
* Bugfix: kubelet on edge node keeps restarting after yurtctl convert executed issue. See detailed description of the issue at #367. * Revert ec98fef * Remove yurt-hub config directory and certificates in it when revert edgenode. * Fix compilation issue. * Fix compilation issue. * Fix compilation issue. * Fix compilation issue. * Fix compilation issue. * Fix gofmt warning. Co-authored-by: Yinzhe.Wu <Yinzhe.Wu@sony.com>
* Bugfix: kubelet on edge node keeps restarting after yurtctl convert executed issue. See detailed description of the issue at openyurtio#367. * Revert ec98fef * Remove yurt-hub config directory and certificates in it when revert edgenode. * Fix compilation issue. * Fix compilation issue. * Fix compilation issue. * Fix compilation issue. * Fix compilation issue. * Fix gofmt warning. Co-authored-by: Yinzhe.Wu <Yinzhe.Wu@sony.com>
What happened:
After executing
_output/local/bin/linux/amd64/yurtctl convert --provider kubeadm --cloud-nodes master
on master node of an established Kubernetes cluster of two nodes, all pods are pulled and started as expected, but the status of the edge node turns toNotReady
. Check kubelet's log withjournalctl -xeu kubelet
on that device, we can see kubelet keep restart every few minutes.What you expected to happen:
After conversion, edge node rejoins the cluster, and has it status
Ready
.How to reproduce it (as minimally and precisely as possible): (updated due to further investigation)
_output/local/bin/linux/amd64/yurtctl convert --provider kubeadm --cloud-nodes master
on master node (called master)_output/local/bin/linux/amd64/yurtctl convert
kubeadm reset
)yurtctl convert
againAnything else we need to know?:
/etc/kubernetes/manifests/yurt-hub.yaml
created byopenyurt/yurtctl-servant
is different from what created in this way: https://github.com/openyurtio/openyurt/blob/master/docs/tutorial/manually-setup.md#setup-yurthubyurt-hub.yaml
with the file used in a manually-setup, the system recovers from the issue.Environment:
kubectl version
):cat /etc/os-release
):Cloud node:
Edge node:
uname -a
):Cloud node:
Edge node:
others
#360 (comment)
/kind bug
The text was updated successfully, but these errors were encountered: