1
0
mirror of https://github.com/openshift/openshift-docs.git synced 2026-02-05 12:46:18 +01:00
Files
openshift-docs/modules/migration-viewing-migration-plan-resources.adoc

41 lines
1.6 KiB
Plaintext

// Module included in the following assemblies:
//
// * migrating_from_ocp_3_to_4/troubleshooting-3-4.adoc
// * migration_toolkit_for_containers/troubleshooting-mtc.adoc
:_mod-docs-content-type: PROCEDURE
[id="migration-viewing-migration-plan-resources_{context}"]
= Viewing migration plan resources
You can view migration plan resources to monitor a running migration or to troubleshoot a failed migration by using the {mtc-short} web console and the command-line interface (CLI).
.Procedure
. In the {mtc-short} web console, click *Migration Plans*.
. Click the *Migrations* number next to a migration plan to view the *Migrations* page.
. Click a migration to view the *Migration details*.
. Expand *Migration resources* to view the migration resources and their status in a tree view.
+
[NOTE]
====
To troubleshoot a failed migration, start with a high-level resource that has failed and then work down the resource tree towards the lower-level resources.
====
. Click the Options menu {kebab} next to a resource and select one of the following options:
* *Copy `oc describe` command* copies the command to your clipboard.
** Log in to the relevant cluster and then run the command.
+
The conditions and events of the resource are displayed in YAML format.
* *Copy `oc logs` command* copies the command to your clipboard.
** Log in to the relevant cluster and then run the command.
+
If the resource supports log filtering, a filtered log is displayed.
* *View JSON* displays the resource data in JSON format in a web browser.
+
The data is the same as the output for the `oc get <resource>` command.