You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
Sealos Version
5.0
How to reproduce the bug?
root@VM-32-39-ubuntu:
# kubectl get no -owide# ./sealos delete --nodes 172.16.32.48NAME 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:
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
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.The text was updated successfully, but these errors were encountered: