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

VPC cluster deletion fails with delete load balancer pool member #1784

Closed
Amulyam24 opened this issue May 20, 2024 · 0 comments · Fixed by #1785
Closed

VPC cluster deletion fails with delete load balancer pool member #1784

Amulyam24 opened this issue May 20, 2024 · 0 comments · Fixed by #1785
Labels
area/provider/ibmcloud Issues or PRs related to ibmcloud provider kind/bug Categorizes issue or PR as related to a bug.

Comments

@Amulyam24
Copy link
Contributor

/kind bug
/area provider/ibmcloud

What steps did you take and what happened:
In a case where VPC instance creation fails and we proceed to delete the cluster, it fails with the following error while deleting the load balancer pool member as instance ID is empty.

"Reconciler error" err=<
[manager] 	failed to delete loadBalancer pool member: getInstanceOptions failed validation:
[manager] 	Key: 'GetInstanceOptions.ID' Error:Field validation for 'ID' failed on the 'ne' tag
[manager]  > controller="ibmvpcmachine" controllerGroup="infrastructure.cluster.x-k8s.io" controllerKind="IBMVPCMachine" IBMVPCMachine="default/amulya-test-vpc-control-plane-8nmfz" namespace="default" name="amulya-test-vpc-control-plane-8nmfz" 

What did you expect to happen:
VPC cluster to be deleted successfully.

Anything else you would like to add:
[Miscellaneous information that will assist in solving the issue.]

Environment:

  • Cluster-api version:
  • Minikube/KIND version:
  • Kubernetes version: (use kubectl version):
  • OS (e.g. from /etc/os-release):
@k8s-ci-robot k8s-ci-robot added kind/bug Categorizes issue or PR as related to a bug. area/provider/ibmcloud Issues or PRs related to ibmcloud provider labels May 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/provider/ibmcloud Issues or PRs related to ibmcloud provider kind/bug Categorizes issue or PR as related to a bug.
Projects
None yet
2 participants