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 delete a machine if there is no cluster #1218

Closed
chuckha opened this issue Aug 1, 2019 · 2 comments · Fixed by #1225
Closed

Cannot delete a machine if there is no cluster #1218

chuckha opened this issue Aug 1, 2019 · 2 comments · Fixed by #1225
Assignees
Labels
kind/bug Categorizes issue or PR as related to a bug. lifecycle/active Indicates that an issue or PR is actively being worked on by a contributor.

Comments

@chuckha
Copy link
Contributor

chuckha commented Aug 1, 2019

/kind bug

What steps did you take and what happened:
I created a cluster and then a machine and deleted them both. The cluster was deleted and then the machine was unable to delete because it couldn't find the cluster:

E0801 14:08:10.060421       1 controller.go:218] controller-runtime/controller "msg"="Reconciler error" "error"="failed to get cluster \"my-cluster\" for machine \"my-machine\" in namespace           
\"default\": Cluster.cluster.x-k8s.io \"my-cluster\" not found"  "controller"="machine-controller" "request"={"Namespace":"default","Name":"my-machine"}                                                

What did you expect to happen:
I expect the machine to be deleted.

@k8s-ci-robot k8s-ci-robot added the kind/bug Categorizes issue or PR as related to a bug. label Aug 1, 2019
@ncdc
Copy link
Contributor

ncdc commented Aug 1, 2019

/assign
/lifecycle active

@k8s-ci-robot k8s-ci-robot added the lifecycle/active Indicates that an issue or PR is actively being worked on by a contributor. label Aug 1, 2019
@ncdc
Copy link
Contributor

ncdc commented Aug 1, 2019

I'm going to port #1180 to master to fix this

@ncdc ncdc added this to the v1alpha2 milestone Aug 1, 2019
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. lifecycle/active Indicates that an issue or PR is actively being worked on by a contributor.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants