-
Bug
-
Resolution: Done
-
Major
-
None
-
4.17.z
-
Important
-
Yes
-
CNF Network Sprint 259
-
1
-
False
-
-
-
Description of problem: After deploying two bgppeers one on the nodes it takes 10 minutes for the configuration to be pushed to the frr node BGP configuration. Causing all metallb CNF go-test cases to fail.
Version-Release number of selected component (if applicable):
OCP-4.17.rc1 with three baremetal servers and metallb-operator version - Image ID: registry.redhat.io/openshift4/metallb-rhel9-operator@sha256:de012305edf8384bf17c045006eb40d2426120788b0f504358440397920627ff
How reproducible: Easily
Steps to Reproduce:
1. Deploy OCP 4.17.rc1 with at least two worker nodes and
2. Deploy above version of metallb operator
3. Create two external FRR containers for adjency to the frr nodes.
4. Create two bgppeers one to each external FRR container.
5. Check configuration of the FRR nodes in the cluster. One of the FRR node's BGP configuration only has one bgppeer configured.
6. Wait 10 minutes and the second bgppeer is configured on the FRR's bgp configuration.
Actual results:
Takes 10 minutes for one of the nodes to have a full bgppeer configuration.
Expected results:
All FRR nodes BGP configrations should be configured after the bgppeer is deployed.
Additional info:
Webhook log:
{"level":"error","ts":"2024-09-03T12:46:17Z","msg":"Reconciler error","controller":"frrconfiguration","controllerGroup":"frrk8s.metallb.io","controllerKind":"FRRConfiguration","FRRConfiguration":\{"name":"reload","namespace":"metallbreload"},"namespace":"metallbreload","name":"reload","reconcileID":"81c55ad7-ef66-4ff1-80f6-d68a1ee64648","error":"Internal error occurred: failed calling webhook \"frrconfigurationsvalidationwebhook.metallb.io\": failed to call webhook: Post \"https://frr-k8s-webhook-service.metallb-system.svc:443/validate-frrk8s-metallb-io-v1beta1-frrconfiguration?timeout=10s\": context deadline exceeded","stacktrace":"sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler\n\t/metallb/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:324\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem\n\t/metallb/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:261\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2\n\t/metallb/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:222"}