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
Hello,
I created a K8S cluster named "traefik". Then, I created an instance that uses the network of the K8S cluster.
Now, I am unable to delete the K8S cluster and receive an error message on the dashboard:
Network : traefik-network for Kubernetes cluster : traefik has instances using it which are not part of the Kubernetes cluster
Even when I have removed the NIC card from the instance, I still cannot delete the cluster.
Please guide me what should I do to delete the cluster ?
Thanks !
Here is log of delete action:
2023-05-13 19:06:01,561 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (qtp1443435931-3581:ctx-c5b747ae ctx-ba237f8a) (logid:5cd97356) submit async job-2440, details: AsyncJobVO: {id:2440, userId: 2, accountId: 2, instanceType: None, instanceId: null, cmd: org.apache.cloudstack.api.command.user.kubernetes.cluster.DeleteKubernetesClusterCmd, cmdInfo: {"response":"json","ctxUserId":"2","httpmethod":"GET","ctxStartEventId":"14461","id":"fe5b759c-78a4-4a0e-b5c2-5e2d861df4fc","ctxDetails":"{\"interface com.cloud.kubernetes.cluster.KubernetesCluster\":\"fe5b759c-78a4-4a0e-b5c2-5e2d861df4fc\"}","ctxAccountId":"2","uuid":"fe5b759c-78a4-4a0e-b5c2-5e2d861df4fc","cmdEventType":"KUBERNETES.CLUSTER.DELETE"}, cmdVersion: 0, status: IN_PROGRESS, processStatus: 0, resultCode: 0, result: null, initMsid: 2486689901113, completeMsid: null, lastUpdated: null, lastPolled: null, created: null, removed: null}
2023-05-13 19:06:01,563 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (API-Job-Executor-8:ctx-7fcdc023 job-2440) (logid:a74992c9) Executing AsyncJobVO: {id:2440, userId: 2, accountId: 2, instanceType: None, instanceId: null, cmd: org.apache.cloudstack.api.command.user.kubernetes.cluster.DeleteKubernetesClusterCmd, cmdInfo: {"response":"json","ctxUserId":"2","httpmethod":"GET","ctxStartEventId":"14461","id":"fe5b759c-78a4-4a0e-b5c2-5e2d861df4fc","ctxDetails":"{\"interface com.cloud.kubernetes.cluster.KubernetesCluster\":\"fe5b759c-78a4-4a0e-b5c2-5e2d861df4fc\"}","ctxAccountId":"2","uuid":"fe5b759c-78a4-4a0e-b5c2-5e2d861df4fc","cmdEventType":"KUBERNETES.CLUSTER.DELETE"}, cmdVersion: 0, status: IN_PROGRESS, processStatus: 0, resultCode: 0, result: null, initMsid: 2486689901113, completeMsid: null, lastUpdated: null, lastPolled: null, created: null, removed: null}
2023-05-13 19:06:01,565 DEBUG [c.c.a.ApiServlet] (qtp1443435931-3581:ctx-c5b747ae ctx-ba237f8a) (logid:5cd97356) ===END=== 103.149.172.101 -- GET id=fe5b759c-78a4-4a0e-b5c2-5e2d861df4fc&command=deleteKubernetesCluster&response=json
2023-05-13 19:06:01,598 ERROR [c.c.k.c.a.KubernetesClusterActionWorker] (API-Job-Executor-8:ctx-7fcdc023 job-2440 ctx-13a975a9) (logid:a74992c9) Network : traefik-network for Kubernetes cluster : traefik has instances using it which are not part of the Kubernetes cluster
2023-05-13 19:06:01,599 INFO [c.c.k.c.a.KubernetesClusterActionWorker] (API-Job-Executor-8:ctx-7fcdc023 job-2440 ctx-13a975a9) (logid:a74992c9) Revoking launch permission for systemVM template
2023-05-13 19:06:01,606 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (API-Job-Executor-8:ctx-7fcdc023 job-2440) (logid:a74992c9) Complete async job-2440, jobStatus: FAILED, resultCode: 530, result: org.apache.cloudstack.api.response.ExceptionResponse/null/{"uuidList":[],"errorcode":"530","errortext":"Network : traefik-network for Kubernetes cluster : traefik has instances using it which are not part of the Kubernetes cluster"}
2023-05-13 19:06:01,621 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (API-Job-Executor-8:ctx-7fcdc023 job-2440) (logid:a74992c9) Done executing org.apache.cloudstack.api.command.user.kubernetes.cluster.DeleteKubernetesClusterCmd for job-2440
And this is a list of instances on the network
The text was updated successfully, but these errors were encountered:
Hello,
I created a K8S cluster named "traefik". Then, I created an instance that uses the network of the K8S cluster.
Now, I am unable to delete the K8S cluster and receive an error message on the dashboard:
Even when I have removed the NIC card from the instance, I still cannot delete the cluster.
Please guide me what should I do to delete the cluster ?
Thanks !
Here is log of delete action:
And this is a list of instances on the network
The text was updated successfully, but these errors were encountered: