We assume ControlPlaneEndpoint.Host is IP address #1714
Labels
kind/bug
Categorizes issue or PR as related to a bug.
lifecycle/stale
Denotes an issue or PR has remained open with no activity and has become stale.
/kind bug
From code inspection, we set fixedIPAddress to ControlPlaneEndpoint.Host if not using APIServer FloatingIP:
cluster-api-provider-openstack/pkg/cloud/services/loadbalancer/loadbalancer.go
Lines 54 to 59 in 62d9d76
We then pass that to getOrCreateLoadBalancer, which expects it to be a VipAddress:
cluster-api-provider-openstack/pkg/cloud/services/loadbalancer/loadbalancer.go
Lines 174 to 182 in 62d9d76
However, ControlPlaneEndpoint.Host is not required to be an IP address. It may be a DNS name.
Same when creating the load balancer FIP:
cluster-api-provider-openstack/pkg/cloud/services/loadbalancer/loadbalancer.go
Lines 92 to 97 in 62d9d76
The text was updated successfully, but these errors were encountered: