Skip to content

Commit 4ce3cbd

Browse files
committed
BZ1926248: Manual changes for upgrading MTC 1.3 to 1.4
1 parent 9d17db4 commit 4ce3cbd

File tree

4 files changed

+59
-0
lines changed

4 files changed

+59
-0
lines changed

migration/migrating_3_4/upgrading-migration-tool-3-4.adoc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ You must ensure that the same Operator version is installed on the source and ta
1515
Do not enable automatic updates on the {product-title} {product-version} cluster.
1616
====
1717

18+
If you are upgrading {mtc-short} 1.3, you must perform an additional procedure to update the `MigPlan` custom resource (CR).
19+
1820
include::modules/migration-upgrading-migration-tool-4.adoc[leveloffset=+1]
1921
include::modules/migration-upgrading-migration-tool-3.adoc[leveloffset=+1]
22+
include::modules/migration-upgrading-from-mtc-1-3.adoc[leveloffset=+1]
2023
:migrating-3-4!:

migration/migrating_4_1_4/upgrading-migration-tool-4-1-4.adoc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,8 @@ toc::[]
88

99
You can upgrade the {mtc-full} ({mtc-short}) by upgrading the {mtc-full} Operator.
1010

11+
If you are upgrading {mtc-short} 1.3, you must perform an additional procedure to update the `MigPlan` custom resource (CR).
12+
1113
include::modules/migration-upgrading-migration-tool-4.adoc[leveloffset=+1]
14+
include::modules/migration-upgrading-from-mtc-1-3.adoc[leveloffset=+1]
1215
:migrating-4-1-4!:

migration/migrating_4_2_4/upgrading-migration-tool-4-2-4.adoc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,8 @@ toc::[]
88

99
You can upgrade the {mtc-full} ({mtc-short}) by upgrading the {mtc-full} Operator.
1010

11+
If you are upgrading {mtc-short} 1.3, you must perform an additional procedure to update the `MigPlan` custom resource (CR).
12+
1113
include::modules/migration-upgrading-migration-tool-4.adoc[leveloffset=+1]
14+
include::modules/migration-upgrading-from-mtc-1-3.adoc[leveloffset=+1]
1215
:migrating-4-2-4!:
Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
// Module included in the following assemblies:
2+
// * migration/migrating_3_4/upgrading-migration-tool-3-4.adoc
3+
// * migration/migrating_4_1_4/upgrading-migration-tool-4-1-4.adoc
4+
// * migration/migrating_4_2_4/upgrading-migration-tool-4-2-4.adoc
5+
6+
[id="migration-upgrading-from-mtc-1-3_{context}"]
7+
= Upgrading {mtc-short} 1.3
8+
9+
If you are upgrading {mtc-full} ({mtc-short}) version 1.3.x, you must manually update the `indirectImageMigration` and `indirectVolumeMigration` parameters in the `MigPlan` custom resource (CR).
10+
11+
Because the `indirectImageMigration` and `indirectVolumeMigration` parameters do not exist in version 1.3, their default value in version 1.4 is `false`, which means that direct image migration and direct volume migration are enabled. Because the direct migration requirements are not fulfilled, the migration plan cannot reach a `Ready` state unless these parameter values are changed to `true`.
12+
13+
.Prerequisites
14+
15+
* You must have upgraded {mtc-short} from version 1.3.x to 1.4.
16+
* You must have `cluster-admin` privileges.
17+
18+
.Procedure
19+
20+
. Log in to the target cluster.
21+
. Get the `MigPlan` CR:
22+
+
23+
[source,terminal]
24+
----
25+
$ oc get migplan <migplan> -o yaml -n openshift-migration
26+
----
27+
28+
. Change the following parameter values to `true` and save the file:
29+
+
30+
[source,yaml]
31+
----
32+
...
33+
spec:
34+
indirectImageMigration: true
35+
indirectVolumeMigration: true
36+
----
37+
38+
. Apply the changes:
39+
+
40+
[source,terminal]
41+
----
42+
$ oc replace -f <migplan>.yaml -n openshift-migration
43+
----
44+
45+
. Verify the changes by viewing the updated `MigPlan` CR:
46+
+
47+
[source,terminal]
48+
----
49+
$ oc get migplan <migplan> -o yaml -n openshift-migration
50+
----

0 commit comments

Comments
 (0)