cluster-api-provider-openstack
cluster-api-provider-openstack copied to clipboard
flatcar-sysext template won't start without adding kustomize-deleted apiServerLoadBalancer
/kind bug
What steps did you take and what happened:
Executing clusterctl generate cluster --flavor flatcar-sysext
results in a cluster failing with FloatingIPError
.
$ clusterctl describe cluster test
NAME READY SEVERITY REASON SINCE MESSAGE
Cluster/test False Error FloatingIPError @ Machine/test-control-plane-tvr7h 41m 0 of 1 completed
├─ClusterInfrastructure - OpenStackCluster/test
└─ControlPlane - KubeadmControlPlane/test-control-plane False Error FloatingIPError @ Machine/test-control-plane-tvr7h 41m 0 of 1 completed
└─Machine/test-control-plane-tvr7h False Error FloatingIPError 41m Obtaining management port for control plane machine failed: lookup management port for server 7d8c04 ...
The IP is pulled from the pool and assigned to the OpenStackCluster resource, but never actually assigns to anything.
This issue does not occur when using no --flavor
. The only differences between no flavor (w/ Ubuntu) and using flatcar-sysext (w/ Flatcar) are the Flatcar-specific additions, and a lack of apiServerLoadBalancer
in the Flatcar OpenStackCluster
resource. Once I add that into a generated cluster yaml and apply it, the cluster comes back operational.
What did you expect to happen: Work right out of the box without having to add anything.
Anything else you would like to add:
The spec: apiServerLoadBalancer
portion is configured for deletion here, which is actively causing the issue.
Environment:
- Cluster API Provider OpenStack version (Or
git rev-parse HEAD
if manually built): latest - Cluster-API version:
clusterctl version: &version.Info{Major:"", Minor:"", GitVersion:"1.8.4", GitCommit:"brew", GitTreeState:"clean", BuildDate:"2024-10-08T05:24:23Z", GoVersion:"go1.23.2", Compiler:"gc", Platform:"darwin/amd64"}
- OpenStack version: Queens (nothing I can do about this)
- Minikube/KIND version: 1.31
- Kubernetes version (use
kubectl version
): 1.31 - OS (e.g. from
/etc/os-release
): Flatcar 3975.2.1