Skip to content

Commit cbcf49c

Browse files
committed
fix conflict
1 parent d6f9c27 commit cbcf49c

File tree

4 files changed

+67
-3
lines changed

4 files changed

+67
-3
lines changed

migration/migrating_3_4/troubleshooting-3-4.adoc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ include::modules/migration-using-mig-log-reader.adoc[leveloffset=+1]
2020
include::modules/migration-downloading-logs.adoc[leveloffset=+1]
2121
include::modules/migration-updating-deprecated-gvks.adoc[leveloffset=+1]
2222
include::modules/migration-error-messages.adoc[leveloffset=+1]
23+
include::modules/migration-dvm-error-node-selectors.adoc[leveloffset=+1]
24+
include::modules/migration-using-must-gather.adoc[leveloffset=+1]
2325

2426
[id="rolling-back-migration_{context}"]
2527
== Rolling back a migration
@@ -29,7 +31,6 @@ You can roll back a migration by using the {mtc-short} web console or the CLI.
2931
include::modules/migration-rolling-back-migration-web-console.adoc[leveloffset=+2]
3032
include::modules/migration-rolling-back-migration-cli.adoc[leveloffset=+2]
3133

32-
include::modules/migration-using-must-gather.adoc[leveloffset=+1]
3334
include::modules/migration-known-issues.adoc[leveloffset=+1]
3435

3536
[role="_additional-resources"]

migration/migrating_4_1_4/troubleshooting-4-1-4.adoc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ include::modules/migration-viewing-migration-crs.adoc[leveloffset=+1]
1919
include::modules/migration-using-mig-log-reader.adoc[leveloffset=+1]
2020
include::modules/migration-downloading-logs.adoc[leveloffset=+1]
2121
include::modules/migration-error-messages.adoc[leveloffset=+1]
22+
include::modules/migration-dvm-error-node-selectors.adoc[leveloffset=+1]
23+
include::modules/migration-using-must-gather.adoc[leveloffset=+1]
2224

2325
[id="rolling-back-migration_{context}"]
2426
== Rolling back a migration
@@ -28,7 +30,6 @@ You can roll back a migration by using the {mtc-short} web console or the CLI.
2830
include::modules/migration-rolling-back-migration-web-console.adoc[leveloffset=+2]
2931
include::modules/migration-rolling-back-migration-cli.adoc[leveloffset=+2]
3032

31-
include::modules/migration-using-must-gather.adoc[leveloffset=+1]
3233
include::modules/migration-known-issues.adoc[leveloffset=+1]
3334

3435
[role="_additional-resources"]

migration/migrating_4_2_4/troubleshooting-4-2-4.adoc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ include::modules/migration-viewing-migration-crs.adoc[leveloffset=+1]
1919
include::modules/migration-using-mig-log-reader.adoc[leveloffset=+1]
2020
include::modules/migration-downloading-logs.adoc[leveloffset=+1]
2121
include::modules/migration-error-messages.adoc[leveloffset=+1]
22+
include::modules/migration-dvm-error-node-selectors.adoc[leveloffset=+1]
23+
include::modules/migration-using-must-gather.adoc[leveloffset=+1]
2224

2325
[id="rolling-back-migration_{context}"]
2426
== Rolling back a migration
@@ -28,7 +30,6 @@ You can roll back a migration by using the {mtc-short} web console or the CLI.
2830
include::modules/migration-rolling-back-migration-web-console.adoc[leveloffset=+2]
2931
include::modules/migration-rolling-back-migration-cli.adoc[leveloffset=+2]
3032

31-
include::modules/migration-using-must-gather.adoc[leveloffset=+1]
3233
include::modules/migration-known-issues.adoc[leveloffset=+1]
3334

3435
[role="_additional-resources"]
Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
// Module included in the following assemblies:
2+
// * migration/migrating_3_4/troubleshooting-3-4.adoc
3+
// * migration/migrating_4_1_4/troubleshooting-4-1-4.adoc
4+
// * migration/migrating_4_2_4/troubleshooting-4-2-4.adoc
5+
6+
[id="migration-dvm-error-node-selectors_{context}"]
7+
= Direct volume migration does not complete
8+
9+
If direct volume migration does not complete, the target cluster might not have the same `node-selector` annotations as the source cluster.
10+
11+
{mtc-full} ({mtc-short}) migrates namespaces with all annotations in order to preserve security context constraints and scheduling requirements. During direct volume migration, {mtc-short} creates Rsync transfer pods on the target cluster in the namespaces that were migrated from the source cluster. If a target cluster namespace does not have the same annotations as the source cluster namespace, the Rsync transfer pods cannot be scheduled. The Rsync pods remain in a `Pending` state.
12+
13+
You can identify and fix this issue by performing the following procedure.
14+
15+
.Procedure
16+
17+
. Check the status of the `MigMigration` CR:
18+
+
19+
[source,terminal]
20+
----
21+
$ oc describe migmigration <pod_name> -n openshift-migration
22+
----
23+
+
24+
The output includes the following status message:
25+
+
26+
.Example output
27+
[source,terminal]
28+
----
29+
...
30+
Some or all transfer pods are not running for more than 10 mins on destination cluster
31+
...
32+
----
33+
34+
. On the source cluster, obtain the details of a migrated namespace:
35+
+
36+
[source,terminal]
37+
----
38+
$ oc get namespace <namespace> -o yaml <1>
39+
----
40+
<1> Specify the migrated namespace.
41+
42+
. On the target cluster, edit the migrated namespace:
43+
+
44+
[source,terminal]
45+
----
46+
$ oc edit namespace <namespace>
47+
----
48+
49+
. Add missing `openshift.io/node-selector` annotations to the migrated namespace as in the following example:
50+
+
51+
[source,yaml]
52+
----
53+
apiVersion: v1
54+
kind: Namespace
55+
metadata:
56+
annotations:
57+
openshift.io/node-selector: "region=east"
58+
...
59+
----
60+
61+
. Run the migration plan again.

0 commit comments

Comments
 (0)