Skip to content

Commit 7ea05cd

Browse files
committed
Bug-2088346: ovn-k needs 2 default gateways for dual-stack
Fixes: Bug-2088346
1 parent 849f34a commit 7ea05cd

File tree

2 files changed

+15
-1
lines changed

2 files changed

+15
-1
lines changed

modules/installation-configuration-parameters.adoc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -300,6 +300,8 @@ If you configure your cluster to use both IP address families, review the follow
300300

301301
* Both IP families must use the same network interface for the default gateway.
302302

303+
* Both IP families must have the default gateway.
304+
303305
* You must specify IPv4 and IPv6 addresses in the same order for all network configuration parameters. For example, in the following configuration IPv4 addresses are listed before IPv6 addresses.
304306
+
305307
[source,yaml]

modules/nw-ovn-kuberentes-limitations.adoc

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ The OVN-Kubernetes Container Network Interface (CNI) cluster network provider ha
1212
// The foll limitation is also recorded in the installation section.
1313
* For clusters configured for dual-stack networking, both IPv4 and IPv6 traffic must use the same network interface as the default gateway.
1414
If this requirement is not met, pods on the host in the `ovnkube-node` daemon set enter the `CrashLoopBackOff` state.
15-
If you display a pod with a command like `oc get pod -n openshift-ovn-kubernetes -l app=ovnkube-node -o yaml`, the `status` field contains more than one message about the default gateway, as shown in the following output:
15+
If you display a pod with a command such as `oc get pod -n openshift-ovn-kubernetes -l app=ovnkube-node -o yaml`, the `status` field contains more than one message about the default gateway, as shown in the following output:
1616
+
1717
[source,terminal]
1818
----
@@ -22,3 +22,15 @@ F1006 16:09:50.985939 60651 ovnkube.go:130] multiple gateway interfaces detect
2222
----
2323
+
2424
The only resolution is to reconfigure the host networking so that both IP families use the same network interface for the default gateway.
25+
26+
* For clusters configured for dual-stack networking, both the IPv4 and IPv6 routing tables must contain the default gateway.
27+
If this requirement is not met, pods on the host in the `ovnkube-node` daemon set enter the `CrashLoopBackOff` state.
28+
If you display a pod with a command such as `oc get pod -n openshift-ovn-kubernetes -l app=ovnkube-node -o yaml`, the `status` field contains more than one message about the default gateway, as shown in the following output:
29+
+
30+
[source,terminal]
31+
----
32+
I0512 19:07:17.589083 108432 helper_linux.go:74] Found default gateway interface br-ex 192.168.123.1
33+
F0512 19:07:17.589141 108432 ovnkube.go:133] failed to get default gateway interface
34+
----
35+
+
36+
The only resolution is to reconfigure the host networking so that both IP families contain the default gateway.

0 commit comments

Comments
 (0)