kubean-io / kubean

:seedling: Product ready cluster lifecycle management toolchains based on kubespray and other cluster LCM engine.
https://kubean-io.github.io/kubean/
Apache License 2.0
458 stars 35 forks source link

openEuler 部署成功后卸载重新部署失败 #999

Closed EasonHe closed 9 months ago

EasonHe commented 1 year ago

Describe the version version about:

  1. kubean. v0.9.1
    openEuler release 22.03 (LTS-SP1)

[root@node01 ~]# cat /etc/openEuler-release openEuler release 22.03 (LTS-SP1) Describe the bug

第一次部署成功,使用 kubean 卸载后再次部署失败,到 etcd 这一部分无法下载文件

原因是ansible 下载的文件权限问题,卸载不干净,我删除这些文件后部署成功,不知道删除这个文件是 kubean 去完成还是kubespray [root@node01 ~]# ll /tmp/releases/ 总用量 502708 -rwxr-xr-x. 1 root root 63805704 11月 9 15:52 calicoctl-v3.25.2-amd64 drwxr-xr-x. 3 root root 80 11月 9 15:53 calico-v3.25.2-kdd-crds -rwxr-xr-x. 1 root root 45338194 11月 9 15:51 cni-plugins-linux-amd64-v1.3.0.tgz -rwxr-xr-x. 1 root root 46863863 11月 9 15:50 containerd-1.7.5-linux-amd64.tar.gz -rwxr-xr-x. 1 root root 21622 7月 31 18:51 containerd-rootless-setuptool.sh -rwxr-xr-x. 1 root root 7187 7月 31 18:51 containerd-rootless.sh -rwxr-xr-x. 1 root users 52586151 12月 14 2022 crictl -rwxr-xr-x. 1 root root 22931211 11月 9 15:48 crictl-v1.26.0-linux-amd64.tar.gz

- drwxr-xr-x. 3 528287 89939 200 11月 21 2022 etcd-v3.5.6-linux-amd64****

-rwxr-xr-x. 1 root root 19492576 11月 9 15:58 etcd-v3.5.6-linux-amd64.tar.gz drwxr-xr-x. 2 root root 40 11月 9 15:50 images -rwxr-xr-x. 1 root root 47652864 11月 9 15:51 kubeadm-v1.26.7-amd64 -rwxr-xr-x. 1 root root 48721920 11月 9 15:52 kubectl-v1.26.7-amd64 -rwxr-xr-x. 1 root root 122861280 11月 9 15:52 kubelet-v1.26.7-amd64 -rwxr-xr-x. 1 root root 24543232 7月 31 18:52 nerdctl -rwxr-xr-x. 1 root root 9242800 11月 9 15:49 nerdctl-1.5.0-linux-amd64.tar.gz -rwxr-xr-x. 1 root root 10684992 11月 9 15:47 runc-v1.1.9.amd64

0ekk commented 1 year ago

@EasonHe Hi, the file removing operations you metioned above are achieved by Kubespray.

github-actions[bot] commented 9 months ago

This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 5 days. Maintainers can add the exempt-stale label.

github-actions[bot] commented 9 months ago

This issue has been automatically closed because we haven't received a response from the original author 🙈. This automation helps keep the issue tracker clean from issues that are unactionable. Please reach out if you have more information for us! 🙂