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.]
/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.
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:
kubectl version
):/etc/os-release
):