-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Pivot fails: machines.cluster.k8s.io "controlplane-0" already exists #815
Pivot fails: machines.cluster.k8s.io "controlplane-0" already exists #815
Comments
/milestone v1alpha1 |
Seems the main issue here is that controlplane-0 seems duplicated
Investigating. |
The problem is with https://github.com/kubernetes-sigs/cluster-api/blob/master/cmd/clusterctl/clusterdeployer/clusterclient/clusterclient.go#L383 |
/assign |
I could have saved myself a couple of hours had I come to this issue sooner. |
I had the same issue. After this happened, I had a lingering cluster with the bootstrap kind cluster already deleted. How can I get rid of the half baked cluster at this point? Seems |
@leakingtapan The kubeconfig for the created cluster should be in the current working directory where you ran the @leakingtapan When you ran into this issue, where you running from a release or did you build from the |
@detiber I was using the release. Will check latest branch. I tried deleting cluster using the saved $ clusterctl --kubeconfig kubeconfig delete cluster --provider-components aws/out/provider-components.yaml --bootstrap-type kind
I0318 10:45:42.025655 92032 clusterdeployer.go:149] Creating bootstrap cluster
I0318 10:45:42.025683 92032 createbootstrapcluster.go:27] Creating bootstrap cluster
I0318 10:46:44.926455 92032 clusterdeployer.go:157] Pivoting Cluster API stack to bootstrap cluster
I0318 10:46:44.926502 92032 pivot.go:67] Applying Cluster API Provider Components to Target Cluster
I0318 10:46:47.598696 92032 pivot.go:72] Pivoting Cluster API objects from bootstrap to target cluster.
I0318 11:03:07.643230 92032 createbootstrapcluster.go:36] Cleaning up bootstrap cluster.
F0318 11:03:10.476756 92032 delete_cluster.go:53] unable to pivot Cluster API stack to bootstrap cluster: unable to pivot cluster API objects: cluster v1alpha1 resource not ready
on source cluster Is there anything im missing? I just started playing cluster-api, sorry if I asked dum questions |
/kind bug
What steps did you take and what happened:
Using the AWS provider,
clusterctl create cluster ...
with the usual workflow, after thecontrolplane-0
instance gets created, clusterctl fails with the error shown below.What did you expect to happen:
Controlplane and cluster should be created successfully.
The text was updated successfully, but these errors were encountered: