You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Triggers the Machine Config Operator (MCO) to apply the new machine config to each machine config pool, which includes node cordoning, draining, and rebooting.
40
40
* OVN-Kubernetes adds nodes to the appropriate zones and recreates pods using OVN-Kubernetes as the default CNI plugin.
41
41
* Removes migration-related fields from the network.operator CR and performs cleanup actions, such as deleting OpenShift SDN resources and redeploying OVN-Kubernetes in normal mode with the necessary configurations.
42
-
* Waits for the OVN-Kubernetes redeployment and updates the status conditions in the `network.config` CR to indicate migration completion. If your migration is blocked, see "Checking live migration metrics" for information on troubleshooting the issue.
42
+
* Waits for the OVN-Kubernetes redeployment and updates the status conditions in the `network.config` CR to indicate migration completion. If your migration is blocked, see "Checking limited live migration metrics" for information on troubleshooting the issue.
Copy file name to clipboardExpand all lines: modules/live-migration-metrics-information.adoc
+9-9Lines changed: 9 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -4,29 +4,29 @@
4
4
5
5
:_mod-docs-content-type: PROCEDURE
6
6
[id="live-migration-metrics-information"]
7
-
= Information about live migration metrics
7
+
= Information about limited live migration metrics
8
8
9
9
The following table shows you the available metrics and the label values populated from the `openshift_network_operator_live_migration_procedure` expression. Use this information to monitor progress or to troubleshoot the migration.
A Prometheus gauge vector metric. A metric that contains a constant `1` value labeled with the reason that the CNI live migration might not have started. This metric is available when the CNI live migration has started by annotating the `Network` custom resource. +
21
-
This metric is not published unless the live migration is blocked.
20
+
A Prometheus gauge vector metric. A metric that contains a constant `1` value labeled with the reason that the CNI limited live migration might not have started. This metric is available when the CNI limited live migration has started by annotating the `Network` custom resource. +
21
+
This metric is not published unless the limited live migration is blocked.
22
22
--
23
23
|
24
24
The list of label values includes the following::
25
25
+
26
26
--
27
27
* `UnsupportedCNI`: Unable to migrate to the unsupported target CNI. Valid CNI is `OVNKubernetes` when migrating from OpenShift SDN.
28
-
* `UnsupportedHyperShiftCluster`: Live migration is unsupported within an HCP cluster.
29
-
* `UnsupportedSDNNetworkIsolationMode`: OpenShift SDN is configured with an unsupported network isolation mode `Multitenant`. Migrate to a supported network isolation mode before performing live migration.
28
+
* `UnsupportedHyperShiftCluster`: Limited live migration is unsupported within an HCP cluster.
29
+
* `UnsupportedSDNNetworkIsolationMode`: OpenShift SDN is configured with an unsupported network isolation mode `Multitenant`. Migrate to a supported network isolation mode before performing limited live migration.
30
30
* `UnsupportedMACVLANInterface`: Remove the egress router or any pods which contain the pod annotation `pod.network.openshift.io/assign-macvlan`.
31
31
Find the offending pod's namespace or pod name with the following command: +
32
32
+
@@ -37,9 +37,9 @@ Find the offending pod's namespace or pod name with the following command: +
A metric which represents the status of each condition type for the CNI live migration. The set of status condition types is defined for `network.config` to support observability of the CNI live migration. +
41
-
A `1` value represents condition status `true`. A `0` value represents `false`. `-1` represents unknown. This metric is available when the CNI live migration has started by annotating the `Network` custom resource (CR). +
42
-
This metric is only available when the live migration has been triggered by adding the relevant annotation to the `Network` CR cluster, otherwise, it is not published. If the following condition types are not present within the Network CR cluster, the metric and their labels are cleared.
40
+
A metric which represents the status of each condition type for the CNI limited live migration. The set of status condition types is defined for `network.config` to support observability of the CNI limited live migration. +
41
+
A `1` value represents condition status `true`. A `0` value represents `false`. `-1` represents unknown. This metric is available when the CNI limited live migration has started by annotating the `Network` custom resource (CR). +
42
+
This metric is only available when the limited live migration has been triggered by adding the relevant annotation to the `Network` CR cluster, otherwise, it is not published. If the following condition types are not present within the Network CR cluster, the metric and their labels are cleared.
Copy file name to clipboardExpand all lines: modules/nw-ovn-kubernetes-checking-live-migration-metrics.adoc
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -4,17 +4,17 @@
4
4
5
5
:_mod-docs-content-type: PROCEDURE
6
6
[id="checking-live-migration-metrics"]
7
-
= Checking live migration metrics
7
+
= Checking limited live migration metrics
8
8
9
-
Metrics are available to monitor the progress of the live migration. Metrics can be viewed on the {product-title} web console, or by using the `oc` CLI.
9
+
Metrics are available to monitor the progress of the limited live migration. Metrics can be viewed on the {product-title} web console, or by using the `oc` CLI.
10
10
11
11
.Prerequisites
12
12
13
-
* You have initiated a live migration to OVN-Kubernetes.
13
+
* You have initiated a limited live migration to OVN-Kubernetes.
14
14
15
15
.Procedure
16
16
17
-
. To view live migration metrics on the {product-title} web console:
17
+
. To view limited live migration metrics on the {product-title} web console:
The table in "Information about live migration metrics" shows you the available metrics and the label values populated from the `openshift_network_operator_live_migration_procedure` expression. Use this information to monitor progress or to troubleshoot the migration.
75
+
The table in "Information about limited live migration metrics" shows you the available metrics and the label values populated from the `openshift_network_operator_live_migration_procedure` expression. Use this information to monitor progress or to troubleshoot the migration.
= Live migration to the OVN-Kubernetes network plugin overview
6
+
= Limited live migration to the OVN-Kubernetes network plugin overview
7
7
8
-
The live migration method is the process in which the OpenShift SDN network plugin and its network configurations, connections, and associated resources, are migrated to the OVN-Kubernetes network plugin without service interruption. It is available for {product-title}, {product-dedicated}, {product-rosa}, and Azure Red Hat OpenShift deployment types. It is not available for HyperShift deployment types. This migration method is valuable for deployment types that require constant service availability and offers the following benefits:
8
+
The limited live migration method is the process in which the OpenShift SDN network plugin and its network configurations, connections, and associated resources, are migrated to the OVN-Kubernetes network plugin without service interruption. It is available for {product-title}, {product-dedicated}, {product-rosa}, and Azure Red Hat OpenShift deployment types. It is not available for HyperShift deployment types. This migration method is valuable for deployment types that require constant service availability and offers the following benefits:
9
9
10
10
* Continuous service availability
11
11
* Minimized downtime
12
12
* Automatic node rebooting
13
13
* Seamless transition from the OpenShift SDN network plugin to the OVN-Kubernetes network plugin
14
14
15
-
Although a rollback procedure is provided, the live migration is intended to be a one-way process.
15
+
Although a rollback procedure is provided, the limited live migration is intended to be a one-way process.
== Considerations for live migration to the OVN-Kubernetes network plugin
43
+
== Considerations for limited live migration to the OVN-Kubernetes network plugin
44
44
45
-
Before using the live migration method to the OVN-Kubernetes network plugin, cluster administrators should consider the following information:
45
+
Before using the limited live migration method to the OVN-Kubernetes network plugin, cluster administrators should consider the following information:
46
46
47
-
* The live migration procedure is unsupported for clusters with OpenShift SDN multitenant mode enabled.
47
+
* The limited live migration procedure is unsupported for clusters with OpenShift SDN multitenant mode enabled.
48
48
49
-
* Egress router pods block the live migration process. They must be removed before beginning the live migration process.
49
+
* Egress router pods block the limited live migration process. They must be removed before beginning the limited live migration process.
50
50
51
-
* During the live migration, multicast, egress IP addresses, and egress firewalls are temporarily disabled. They can be migrated from OpenShift SDN to OVN-Kubernetes after the live migration process has finished.
51
+
* During the limited live migration, multicast, egress IP addresses, and egress firewalls are temporarily disabled. They can be migrated from OpenShift SDN to OVN-Kubernetes after the limited live migration process has finished.
52
52
53
53
* The migration is intended to be a one-way process. However, for users that want to rollback to OpenShift-SDN, migration from OpenShift-SDN to OVN-Kubernetes must have succeeded. Users can follow the same procedure below to migrate to the OpenShift SDN network plugin from the OVN-Kubernetes network plugin.
54
54
55
-
* The live migration is not supported on HyperShift clusters.
55
+
* The limited live migration is not supported on HyperShift clusters.
56
56
57
57
* OpenShift SDN does not support IPsec. After the migration, cluster administrators can enable IPsec.
58
58
59
59
* OpenShift SDN does not support IPv6. After the migration, cluster administrators can enable dual-stack.
60
60
61
61
* The cluster MTU is the MTU value for pod interfaces. It is always less than your hardware MTU to account for the cluster network overlay overhead. The overhead is 100 bytes for OVN-Kubernetes and 50 bytes for OpenShift SDN.
62
62
+
63
-
During the live migration, both OVN-Kubernetes and OpenShift SDN run in parallel. OVN-Kubernetes manages the cluster network of some nodes, while OpenShift SDN manages the cluster network of others. To ensure that cross-CNI traffic remains functional, the Cluster Network Operator updates the routable MTU to ensure that both CNIs share the same overlay MTU. As a result, after the migration has completed, the cluster MTU is 50 bytes less.
63
+
During the limited live migration, both OVN-Kubernetes and OpenShift SDN run in parallel. OVN-Kubernetes manages the cluster network of some nodes, while OpenShift SDN manages the cluster network of others. To ensure that cross-CNI traffic remains functional, the Cluster Network Operator updates the routable MTU to ensure that both CNIs share the same overlay MTU. As a result, after the migration has completed, the cluster MTU is 50 bytes less.
64
64
65
-
* Some parameters of OVN-Kubernetes cannot be changed after installation. The following parameters can be set only before starting the live migration:
65
+
* Some parameters of OVN-Kubernetes cannot be changed after installation. The following parameters can be set only before starting the limited live migration:
* In most cases, the live migration is independent of the secondary interfaces of pods created by the Multus CNI plugin. However, if these secondary interfaces were set up on the default network interface controller (NIC) of the host, for example, using MACVLAN, IPVLAN, SR-IOV, or bridge interfaces with the default NIC as the control node, OVN-Kubernetes might encounter malfunctions. Users should remove such configurations before proceeding with the live migration.
84
+
* In most cases, the limited live migration is independent of the secondary interfaces of pods created by the Multus CNI plugin. However, if these secondary interfaces were set up on the default network interface controller (NIC) of the host, for example, using MACVLAN, IPVLAN, SR-IOV, or bridge interfaces with the default NIC as the control node, OVN-Kubernetes might encounter malfunctions. Users should remove such configurations before proceeding with the limited live migration.
85
85
86
86
* When there are multiple NICs inside of the host, and the default route is not on the interface that has the Kubernetes NodeIP, you must use the offline migration instead.
87
87
88
-
* All `DaemonSet` objects in the `openshift-sdn` namespace, which are not managed by the Cluster Network Operator (CNO), must be removed before initiating the live migration. These unmanaged daemon sets can cause the migration status to remain incomplete if not properly handled.
88
+
* All `DaemonSet` objects in the `openshift-sdn` namespace, which are not managed by the Cluster Network Operator (CNO), must be removed before initiating the limited live migration. These unmanaged daemon sets can cause the migration status to remain incomplete if not properly handled.
Copy file name to clipboardExpand all lines: modules/nw-ovn-kubernetes-live-migration.adoc
+7-7Lines changed: 7 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -5,9 +5,9 @@
5
5
6
6
:_mod-docs-content-type: PROCEDURE
7
7
[id="nw-ovn-kubernetes-live-migration_{context}"]
8
-
= Migrating to the OVN-Kubernetes network plugin by using the live migration method
8
+
= Migrating to the OVN-Kubernetes network plugin by using the limited live migration method
9
9
10
-
The following procedure checks for egress router resources and uses the live migration method to migrate from the OpenShift SDN network plugin to the OVN-Kubernetes network plugin.
10
+
The following procedure checks for egress router resources and uses the limited live migration method to migrate from the OpenShift SDN network plugin to the OVN-Kubernetes network plugin.
11
11
12
12
.Prerequisites
13
13
@@ -17,12 +17,12 @@ The following procedure checks for egress router resources and uses the live mig
17
17
* You have created a recent backup of the etcd database.
18
18
* The cluster is in a known good state without any errors.
19
19
* Before migration to OVN-Kubernetes, a security group rule must be in place to allow UDP packets on port `6081` for all nodes on all cloud platforms.
20
-
* Cluster administrators must remove any egress router pods before beginning the live migration. For more information about egress router pods, see "Deploying an egress router pod in redirect mode".
21
-
* You have reviewed the "Considerations for live migration to the OVN-Kubernetes network plugin" section of this document.
20
+
* Cluster administrators must remove any egress router pods before beginning the limited live migration. For more information about egress router pods, see "Deploying an egress router pod in redirect mode".
21
+
* You have reviewed the "Considerations for limited live migration to the OVN-Kubernetes network plugin" section of this document.
22
22
23
23
.Procedure
24
24
25
-
. Before initiating the live migration, you must check for any egress router pods. If there is an egress router pod on the cluster when performing a live migration, the Network Operator blocks the migration and returns the following error:
25
+
. Before initiating the limited live migration, you must check for any egress router pods. If there is an egress router pod on the cluster when performing a limited live migration, the Network Operator blocks the migration and returns the following error:
** Alternatively, you can query metrics on the {product-title} web console or by using the `oc` CLI to check for egress router pods. For more information, see "Checking live migration metrics".
49
+
** Alternatively, you can query metrics on the {product-title} web console or by using the `oc` CLI to check for egress router pods. For more information, see "Checking limited live migration metrics".
50
50
51
51
. Enter the following command to remove an egress router pod:
Copy file name to clipboardExpand all lines: modules/nw-ovn-kubernetes-rollback-live.adoc
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -4,9 +4,9 @@
4
4
5
5
:_mod-docs-content-type: PROCEDURE
6
6
[id="nw-ovn-kubernetes-rollback-live_{context}"]
7
-
= Using the live migration method to roll back to the OpenShift SDN network plugin
7
+
= Using the limited live migration method to roll back to the OpenShift SDN network plugin
8
8
9
-
As a cluster administrator, you can roll back to the OpenShift SDN Container Network Interface (CNI) network plugin by using the live migration method. During the migration with this method, nodes are automatically rebooted and service to the cluster is not interrupted.
9
+
As a cluster administrator, you can roll back to the OpenShift SDN Container Network Interface (CNI) network plugin by using the limited live migration method. During the migration with this method, nodes are automatically rebooted and service to the cluster is not interrupted.
As a cluster administrator, you can migrate to the OVN-Kubernetes network plugin from the OpenShift SDN network plugin using the _offline_ migration method or the _live_ migration method.
9
+
As a cluster administrator, you can migrate to the OVN-Kubernetes network plugin from the OpenShift SDN network plugin using the _offline_ migration method or the limited live migration method.
10
10
11
11
To learn more about OVN-Kubernetes, read xref:../../networking/ovn_kubernetes_network_provider/about-ovn-kubernetes#about-ovn-kubernetes[About the OVN-Kubernetes network plugin].
0 commit comments