haminhcong / k8s-til

1 stars 0 forks source link

Error when using Cluster API create cluster on OpenStack #2

Closed haminhcong closed 3 years ago

haminhcong commented 3 years ago

Using command:

kubectl apply -f cluster1.yaml

Then check system log when CAPI running to create cluster:

kubectl -n capo-system logs -l control-plane=capo-controller-manager -c manager

the following log showed:


E0316 22:07:29.471903       1 controller.go:257] controller-runtime/controller "msg"="Reconciler error" "error"="failed to create loadbalancer service client: No suitable endpoint could be found in the service catalog." "controller"="openstackmachine" "name"="cluster-1-md-0-frwrt" "namespace"="default"

=> OpenStack Cluster is Missing Load Balancer Service

Solution