Skip to content

[enterprise-4.18] OCPBUGS-55213 Bad command line example for troubleshooting MetalLB #92539

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 12 additions & 13 deletions modules/nw-metallb-troubleshoot-bgp.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
[id="nw-metallb-troubleshoot-bgp_{context}"]
= Troubleshooting BGP issues

The BGP implementation that Red Hat supports uses FRRouting (FRR) in a container in the `speaker` pods.
As a cluster administrator, if you need to troubleshoot BGP configuration issues, you need to run commands in the FRR container.

.Prerequisites
Expand All @@ -16,27 +15,25 @@ As a cluster administrator, if you need to troubleshoot BGP configuration issues

.Procedure

. Display the names of the `speaker` pods:
. Display the names of the `frr-k8s` pods by running the following command:
+
[source,terminal]
----
$ oc get -n metallb-system pods -l component=speaker
$ oc -n metallb-system get pods -l component=frr-k8s
----
+
.Example output
[source,text]
----
NAME READY STATUS RESTARTS AGE
speaker-66bth 4/4 Running 0 56m
speaker-gvfnf 4/4 Running 0 56m
...
frr-k8s-thsmw 6/6 Running 0 109m
----

. Display the running configuration for FRR:
. Display the running configuration for FRR by running the following command:
+
[source,terminal]
----
$ oc exec -n metallb-system speaker-66bth -c frr -- vtysh -c "show running-config"
$ oc exec -n metallb-system frr-k8s-thsmw -c frr -- vtysh -c "show running-config"
----
+
.Example output
Expand All @@ -45,11 +42,13 @@ Building configuration...

Current configuration:
!
frr version 7.5.1_git
frr version 8.5.3
frr defaults traditional
hostname some-hostname
log file /etc/frr/frr.log informational
log timestamp precision 3
no ip forwarding
no ipv6 forwarding
service integrated-vtysh-config
!
router bgp 64500 <1>
Expand Down Expand Up @@ -107,11 +106,11 @@ end
<3> If you configured BFD, confirm that the BFD profile is associated with the correct BGP peer and that the BFD profile appears in the command output.
<4> Confirm that the `network <ip-address-range>` lines match the IP address ranges that you specified in address pool custom resources that you added.

. Display the BGP summary:
. Display the BGP summary by running the following command:
+
[source,terminal]
----
$ oc exec -n metallb-system speaker-66bth -c frr -- vtysh -c "show bgp summary"
$ oc exec -n metallb-system frr-k8s-thsmw -c frr -- vtysh -c "show bgp summary"
----
+
.Example output
Expand Down Expand Up @@ -144,11 +143,11 @@ Total number of neighbors 2
<2> Output that shows `0` messages received and messages sent indicates a BGP peer that does not have a BGP session.
Check network connectivity and the BGP configuration of the BGP peer.

. Display the BGP peers that received an address pool:
. Display the BGP peers that received an address pool by running the following command:
+
[source,terminal]
----
$ oc exec -n metallb-system speaker-66bth -c frr -- vtysh -c "show bgp ipv4 unicast 203.0.113.200/30"
$ oc exec -n metallb-system frr-k8s-thsmw -c frr -- vtysh -c "show bgp ipv4 unicast 203.0.113.200/30"
----
+
Replace `ipv4` with `ipv6` to display the BGP peers that received an IPv6 address pool.
Expand Down