Skip to content
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

在arm64环境下,kk删除集群不彻底,etcd没有删除,下载的镜像也没有删除,导致后续重新部署失败。amd64无此问题 #2253

Open
LiShuang-codes opened this issue May 23, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@LiShuang-codes
Copy link

What is version of KubeKey has the issue?

k version: &version.Info{Major:"3", Minor:"0", GitVersion:"v3.0.13-dirty", GitCommit:"ac75d3ef3c22e6a9d999dcea201234d6651b3e72", GitTreeState:"dirty", BuildDate:"2023-10-30T11:17:37Z", GoVersion:"go1.19.2", Compiler:"gc", Platform:"linux/arm64"}

What is your os environment?

KylinOS v10 sp1

KubeKey config file

A clear and concise description of what happend.

  1. 使用kk删除已经存在的集群
kk delete cluster
  1. 重启
  2. 搜索etcd残留
root@master:~# find / -name "*etcd*"
/var/lib/etcd
/usr/local/bin/etcdctl
/usr/local/bin/kube-scripts/etcd-backup.sh
find: ‘/run/user/1000/gvfs’: 权限不够
find: ‘/proc/uid/0/time_in_state’: 没有那个文件或目录
find: ‘/proc/uid/113/time_in_state’: 没有那个文件或目录
find: ‘/proc/uid/108/time_in_state’: 没有那个文件或目录
find: ‘/proc/uid/1/time_in_state’: 没有那个文件或目录
find: ‘/proc/uid/106/time_in_state’: 没有那个文件或目录
find: ‘/proc/uid/114/time_in_state’: 没有那个文件或目录
find: ‘/proc/uid/101/time_in_state’: 没有那个文件或目录
find: ‘/proc/uid/122/time_in_state’: 没有那个文件或目录
find: ‘/proc/uid/7/time_in_state’: 没有那个文件或目录
find: ‘/proc/uid/104/time_in_state’: 没有那个文件或目录
find: ‘/proc/uid/112/time_in_state’: 没有那个文件或目录
find: ‘/proc/uid/1000/time_in_state’: 没有那个文件或目录
find: ‘/proc/2834/task/2834/net’: 无效的参数
find: ‘/proc/2834/net’: 无效的参数
find: ‘/proc/3313/task/3313/net’: 无效的参数
find: ‘/proc/3313/net’: 无效的参数
find: ‘/proc/3424’: 没有那个文件或目录
find: ‘/proc/3475/task/3475/net’: 无效的参数
find: ‘/proc/3475/net’: 无效的参数
find: ‘/proc/3498’: 没有那个文件或目录
find: ‘/sys/module/motorcomm/drivers’: 输入/输出错误
/etc/systemd/system/multi-user.target.wants/backup-etcd.timer
/etc/systemd/system/multi-user.target.wants/etcd.service
  1. 重新安装集群
    这里我想不用贴日志了,因为上次安装失败就是这个原因。

Relevant log output

No response

Additional information

No response

@LiShuang-codes LiShuang-codes added the bug Something isn't working label May 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant