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

cannot be deleted after the managed member cluster is reinstalled #6072

Open
370569218 opened this issue Mar 25, 2024 · 0 comments
Open

cannot be deleted after the managed member cluster is reinstalled #6072

370569218 opened this issue Mar 25, 2024 · 0 comments
Labels
kind/bug Categorizes issue or PR as related to a bug.

Comments

@370569218
Copy link

操作系统信息例如:虚拟机/物理机,Centos7.9,4C/8G

Kubernetes版本信息将 kubectl version 命令执行结果贴在下方

WARNING: This version information is deprecated and will be replaced with the output from kubectl version --short. Use --output=yaml|json to get the full version.

Client Version: version.Info{Major:"1", Minor:"25", GitVersion:"v1.25.10", GitCommit:"e770bdbb87cccdc2daa790ecd69f40cf4df3cc9d", GitTreeState:"clean", BuildDate:"2023-05-17T14:12:20Z", GoVersion:"go1.19.9", Compiler:"gc", Platform:"linux/amd64"}

Kustomize Version: v4.5.7

Server Version: version.Info{Major:"1", Minor:"25", GitVersion:"v1.25.10", GitCommit:"e770bdbb87cccdc2daa790ecd69f40cf4df3cc9d", GitTreeState:"clean", BuildDate:"2023-05-17T14:06:35Z", GoVersion:"go1.19.9", Compiler:"gc", Platform:"linux/amd64"}

容器运行时containerd://1.6.4

KubeSphere版本信息v3.4.1

问题是什么报错日志是什么,最好有截图。

纳管的成员集群故障后进行重装,在hosts集群控制面无法删除集群(删除时提示删除成功,但实际没有删除),使用kubectl delete cluster 命令行也无法删除(执行后一直卡着),编辑集群信息时提示如下报错信息

Get "https://172.16.12.104:6443/api/v1/namespaces/kube-system": x509: certificate signed by unknown authority (possibly because of "crypto/rsa: verification error" while trying to verify candidate authority certificate "kubernetes")

admission webhook "validating-cluster.kubesphere.io" denied the request: Get "https://172.16.12.104:6443/api/v1/namespaces/kube-system": x509: certificate signed by unknown authority (possibly because of "crypto/rsa: verification error" while trying to verify candidate authority certificate "kubernetes")

[upl-image-preview url=https://ask.kubesphere.io/forum/assets/files/2024-03-25/1711327124-574482-image.png]

[upl-image-preview url=https://ask.kubesphere.io/forum/assets/files/2024-03-25/1711327145-349101-image.png]

使用 kubectl patch cluster gm-01-plat-dev-0002 -p "{"metadata":{"finalizers":null}}" --type=merge

Error from server (Get "https://172.16.12.104:6443/api/v1/namespaces/kube-system": x509: certificate signed by unknown authority (possibly because of "crypto/rsa: verification error" while trying to verify candidate authority certificate "kubernetes")): admission webhook "validating-cluster.kubesphere.io" denied the request: Get "https://172.16.12.104:6443/api/v1/namespaces/kube-system": x509: certificate signed by unknown authority (possibly because of "crypto/rsa: verification error" while trying to verify candidate authority certificate "kubernetes")

@370569218 370569218 added the kind/bug Categorizes issue or PR as related to a bug. label Mar 25, 2024
@370569218 370569218 changed the title 纳管的成员集群重装后无法删除集群 cannot be deleted after the managed member cluster is reinstalled Apr 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes issue or PR as related to a bug.
Projects
None yet
Development

No branches or pull requests

1 participant