1
0
mirror of https://github.com/openshift/openshift-docs.git synced 2026-02-07 00:48:01 +01:00
Files
openshift-docs/modules/migration-using-must-gather.adoc
2020-11-30 16:15:18 +02:00

33 lines
1.2 KiB
Plaintext

// Module included in the following assemblies:
//
// * migration/migrating_3_4/troubleshooting-3-4.adoc
// * migration/migrating_4_1_4/troubleshooting-4-1-4.adoc
// * migration/migrating_4_2_4/troubleshooting-4-2-4.adoc
[id="migration-using-must-gather_{context}"]
= Using `must-gather` to collect data
You must run the `must-gather` tool if you open a customer support case on the link:https://access.redhat.com[Red Hat Customer Portal] for the {mtc-full} ({mtc-short}).
The `openshift-migration-must-gather-rhel8` image for {mtc-short} collects migration-specific logs and data that are not collected by the default `must-gather` image.
.Procedure
. Navigate to the directory where you want to store the `must-gather` data.
. Run the `must-gather` command:
+
[source,terminal,subs="attributes+"]
----
$ oc adm must-gather --image=openshift-migration-must-gather-rhel8:v{mtc-version-z}
----
. Remove authentication keys and other sensitive information.
. Create an archive file containing the contents of the `must-gather` data directory:
+
[source,terminal]
----
$ tar cvaf must-gather.tar.gz must-gather.local.<uid>/
----
. Upload the compressed file as an attachment to your customer support case.