Skip to content

Commit 15fe8ee

Browse files
Merge pull request #38035 from mikemckiernan/fix-ovnk-same-iface
BZ#2011502: ovn-k supports one default gateway
2 parents cd97369 + e3be720 commit 15fe8ee

File tree

2 files changed

+40
-13
lines changed

2 files changed

+40
-13
lines changed

modules/installation-configuration-parameters.adoc

Lines changed: 23 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
// Module included in the following assemblies:
22
//
3+
// * installing/installing_aws/installing-aws-china.adoc
34
// * installing/installing_aws/installing-aws-customizations.adoc
45
// * installing/installing_aws/installing-aws-government-region.adoc
56
// * installing/installing_aws/installing-aws-network-customizations.adoc
@@ -11,29 +12,35 @@
1112
// * installing/installing_azure/installing-azure-network-customizations.adoc
1213
// * installing/installing_azure/installing-azure-private.adoc
1314
// * installing/installing_azure/installing-azure-vnet.adoc
15+
// * installing/installing_bare_metal/installing-bare-metal-network-customizations.adoc
1416
// * installing/installing_bare_metal/installing-bare-metal.adoc
17+
// * installing/installing_bare_metal/installing-restricted-networks-bare-metal.adoc
1518
// * installing/installing_gcp/installing-gcp-customizations.adoc
16-
// * installing/installing_gcp/installing-gcp-private.adoc
1719
// * installing/installing_gcp/installing-gcp-network-customizations.adoc
20+
// * installing/installing_gcp/installing-gcp-private.adoc
1821
// * installing/installing_gcp/installing-gcp-vpc.adoc
1922
// * installing/installing_gcp/installing-restricted-networks-gcp-installer-provisioned.adoc
23+
// * installing/installing_ibm_power/installing-ibm-power.adoc
24+
// * installing/installing_ibm_power/installing-restricted-networks-ibm-power.adoc
25+
// * installing/installing_ibm_z/installing-ibm-z-kvm.adoc
26+
// * installing/installing_ibm_z/installing-ibm-z.adoc
27+
// * installing/installing_ibm_z/installing-restricted-networks-ibm-z-kvm.adoc
28+
// * installing/installing_ibm_z/installing-restricted-networks-ibm-z.adoc
2029
// * installing/installing_openstack/installing-openstack-installer-custom.adoc
2130
// * installing/installing_openstack/installing-openstack-installer-kuryr.adoc
22-
// * installing/installing_openstack/installing-openstack-user.adoc
31+
// * installing/installing_openstack/installing-openstack-installer-restricted.adoc
32+
// * installing/installing_openstack/installing-openstack-installer-sr-iov.adoc
2333
// * installing/installing_openstack/installing-openstack-user-kuryr.adoc
34+
// * installing/installing_openstack/installing-openstack-user-sr-iov-kuryr.adoc
35+
// * installing/installing_openstack/installing-openstack-user-sr-iov.adoc
36+
// * installing/installing_openstack/installing-openstack-user.adoc
2437
// * installing/installing_rhv/installing-rhv-customizations.adoc
38+
// * installing/installing_vmc/installing-restricted-networks-vmc.adoc
2539
// * installing/installing_vmc/installing-vmc-customizations.adoc
2640
// * installing/installing_vmc/installing-vmc-network-customizations.adoc
27-
// * installing/installing_vmc/installing-restricted-networks-vmc.adoc
41+
// * installing/installing_vsphere/installing-restricted-networks-installer-provisioned-vsphere.adoc
2842
// * installing/installing_vsphere/installing-vsphere-installer-provisioned-customizations.adoc
2943
// * installing/installing_vsphere/installing-vsphere-installer-provisioned-network-customizations.adoc
30-
// * installing/installing_vsphere/installing-restricted-networks-installer-provisioned-vsphere.adoc
31-
// * installing/installing_ibm_z/installing-ibm-z.adoc
32-
// * installing/installing_ibm_z/installing-ibm-z-kvm.adoc
33-
// * installing/installing_ibm_z/installing-restricted-networks-ibm-z.adoc
34-
// * installing/installing_ibm_z/installing-restricted-networks-ibm-z-kvm.adoc
35-
// * installing/installing_ibm_power/installing-ibm-power.adoc
36-
// * installing/installing_ibm_power/installing-restricted-networks-ibm-power.adoc
3744

3845
ifeval::["{context}" == "installing-aws-customizations"]
3946
:aws:
@@ -263,8 +270,12 @@ If you use the OVN-Kubernetes cluster network provider, both IPv4 and IPv6 addre
263270

264271
If you use the OpenShift SDN cluster network provider, only the IPv4 address family is supported.
265272

266-
If you configure your cluster to use both IP address families, 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.
273+
If you configure your cluster to use both IP address families, review the following requirements:
267274

275+
* Both IP families must use the same network interface for the default gateway.
276+
277+
* 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.
278+
+
268279
[source,yaml]
269280
----
270281
networking:
@@ -1377,3 +1388,4 @@ endif::[]
13771388
ifeval::["{context}" == "installing-restricted-networks-ibm-power"]
13781389
:!ibm-power:
13791390
endif::[]
1391+

modules/nw-ovn-kuberentes-limitations.adoc

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,23 @@
55
[id="nw-ovn-kubernetes-limitations_{context}"]
66
= OVN-Kubernetes limitations
77

8-
The OVN-Kubernetes Container Network Interface (CNI) cluster network provider has a limitation that is related to traffic policies.
9-
The network provider does not support setting the external traffic policy or internal traffic policy for a Kubernetes service to `local`.
8+
The OVN-Kubernetes Container Network Interface (CNI) cluster network provider has the following limitations:
9+
10+
* OVN-Kubernetes does not support setting the external traffic policy or internal traffic policy for a Kubernetes service to `local`.
1011
The default value, `cluster`, is supported for both parameters.
1112
This limitation can affect you when you add a service of type `LoadBalancer`, `NodePort`, or add a service with an external IP.
1213

14+
// The foll limitation is also recorded in the installation section.
15+
* For clusters configured for dual-stack networking, both IPv4 and IPv6 traffic must use the same network interface as the default gateway.
16+
If this requirement is not met, pods on the host in the `ovnkube-node` daemon set enter the `CrashLoopBackOff` state.
17+
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:
18+
+
19+
[source,terminal]
20+
----
21+
I1006 16:09:50.985852 60651 helper_linux.go:73] Found default gateway interface br-ex 192.168.127.1
22+
I1006 16:09:50.985923 60651 helper_linux.go:73] Found default gateway interface ens4 fe80::5054:ff:febe:bcd4
23+
F1006 16:09:50.985939 60651 ovnkube.go:130] multiple gateway interfaces detected: br-ex ens4
24+
----
25+
+
26+
The only resolution is to reconfigure the host networking so that both IP families use the same network interface for the default gateway.
27+

0 commit comments

Comments
 (0)