IBM Cloud Infrastructure provisioning fails to find an existing VPC when provided #2140
Labels
area/provider/ibmcloud
Issues or PRs related to ibmcloud provider
kind/bug
Categorizes issue or PR as related to a bug.
Milestone
/kind bug
/area provider/ibmcloud
What steps did you take and what happened:
[A clear and concise description of what the bug is.]
When attempting to provide an existing VPC for IBM Cloud Infrastructure provisioning, CAPI still attempts to create a new VPC, with the same name, thus failing due to name collision.
What did you expect to happen:
CAPI will use the existing VPC to provision Infrastructure resources in, rather than attempting to create a new VPC.
Anything else you would like to add:
[Miscellaneous information that will assist in solving the issue.]
The issue occurs when the VPC ID that gets found, but fails to get returned.
The ID is not returned here, after it was found
cluster-api-provider-ibmcloud/cloud/scope/vpc_cluster.go
Lines 497 to 505 in 41a8998
Environment:
kubectl version
): v1.32/etc/os-release
): ubuntu nobelThe text was updated successfully, but these errors were encountered: