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

BUG: delete node error: failed to run checker: containerd is installed on xxx please uninstall it first #4809

Closed
bxy4543 opened this issue Jun 27, 2024 · 3 comments
Assignees
Labels
kind/bug Something isn't working

Comments

@bxy4543
Copy link
Member

bxy4543 commented Jun 27, 2024

Sealos Version

5.0

How to reproduce the bug?

root@VM-32-39-ubuntu:# kubectl get no -owide
NAME STATUS ROLES AGE VERSION INTERNAL-IP EXTERNAL-IP OS-IMAGE KERNEL-VERSION CONTAINER-RUNTIME
vm-32-39-ubuntu Ready control-plane 66m v1.26.15 172.16.32.39 Ubuntu 22.04 LTS 5.15.0-107-generic containerd://1.7.15
vm-32-48-ubuntu Ready 66m v1.26.15 172.16.32.48 Ubuntu 22.04 LTS 5.15.0-107-generic containerd://1.7.15
root@VM-32-39-ubuntu:
# ./sealos delete --nodes 172.16.32.48
2024-06-27T15:28:49 info are you sure to delete these nodes?
✔ Yes [y/yes], No [n/no]: y█
2024-06-27T15:28:50 info start to scale this cluster
2024-06-27T15:28:50 info Executing pipeline DeleteCheck in ScaleProcessor.
2024-06-27T15:28:50 info checker:hostname [172.16.32.39:22]
2024-06-27T15:28:50 info checker:containerd [172.16.32.39:22]
Error: failed to run checker: containerd is installed on 172.16.32.39:22 please uninstall it first

What is the expected behavior?

No response

What do you see instead?

No response

Operating environment

- Sealos version:
- Docker version:
- Kubernetes version:
- Operating system:
- Runtime environment:
- Cluster size:
- Additional information:

Additional information

#4738
https://github.com/labring/sealos/blob/main/pkg/apply/processor/scale.go#L161

A more precise Phase is needed to tell the checker whether it needs to be checked.

@bxy4543 bxy4543 added the kind/bug Something isn't working label Jun 27, 2024
@bxy4543
Copy link
Member Author

bxy4543 commented Jun 27, 2024

#4748 @ghostloda

@sealos-ci-robot
Copy link
Member

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


#4748 @ghostloda

@bxy4543
Copy link
Member Author

bxy4543 commented Jul 2, 2024

#4815

@bxy4543 bxy4543 closed this as completed Jul 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants