Skip to content

Commit ca51de7

Browse files
authored
Merge pull request #34418 from apinnick/bz1980040-rollback-leftovers
BZ1980040: Migration rollback leftovers
2 parents 9818719 + 513ab96 commit ca51de7

File tree

2 files changed

+30
-0
lines changed

2 files changed

+30
-0
lines changed

modules/migration-rolling-back-migration-cli.adoc

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,21 @@
88

99
You can roll back a migration by creating a `MigMigration` custom resource (CR) from the command line interface.
1010

11+
[NOTE]
12+
====
13+
If you roll back a failed direct volume migration, the following resources are preserved in the namespaces specified in the `MigPlan` custom resource (CR) to help you debug the failed migration:
14+
15+
* Config maps (source and destination clusters)
16+
* `Secret` CRs (source and destination clusters)
17+
* `Rsync` CRs (source cluster)
18+
* `Service` CRs (destination cluster)
19+
* `Route` CRs (destination cluster)
20+
21+
These resources must be deleted manually.
22+
23+
If you later run the same migration plan successfully, the resources from the failed migration are deleted automatically.
24+
====
25+
1126
If your application was stopped during a failed migration, you must roll back the migration to prevent data corruption in the persistent volume.
1227

1328
Rollback is not required if the application was not stopped during migration because the original application is still running on the source cluster.

modules/migration-rolling-back-migration-web-console.adoc

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,21 @@
88

99
You can roll back a migration by using the {mtc-full} ({mtc-short}) web console.
1010

11+
[NOTE]
12+
====
13+
If you roll back a failed direct volume migration, the following resources are preserved in the namespaces specified in the migration plan to help you debug the failed migration:
14+
15+
* Config maps (source and target clusters)
16+
* `Secret` CRs (source and target clusters)
17+
* `Rsync` CRs (source cluster)
18+
* `Service` CRs (target cluster)
19+
* `Route` CRs (target cluster)
20+
21+
These resources must be deleted manually.
22+
23+
If you later run the same migration plan successfully, the resources from the failed migration are deleted automatically.
24+
====
25+
1126
If your application was stopped during a failed migration, you must roll back the migration to prevent data corruption in the persistent volume.
1227

1328
Rollback is not required if the application was not stopped during migration because the original application is still running on the source cluster.

0 commit comments

Comments
 (0)