1
0
mirror of https://github.com/openshift/openshift-docs.git synced 2026-02-05 12:46:18 +01:00

Merge pull request #75206 from openshift-cherrypick-robot/cherry-pick-75087-to-enterprise-4.16

[enterprise-4.16] MIG-1552: Fix must-gather image in MTC 1.7 docs
This commit is contained in:
Steven Smith
2024-04-26 08:08:03 -04:00
committed by GitHub

View File

@@ -39,23 +39,41 @@ endif::[]
. Navigate to the directory where you want to store the `must-gather` data.
. Run the `oc adm must-gather` command for one of the following data collection options:
ifdef::troubleshooting-3-4,troubleshooting-mtc[]
* To collect data for the past hour:
ifdef::troubleshooting-3-4[]
* To collect data for the past hour, use the following command:
+
[source,terminal]
----
$ oc adm must-gather --image=registry.redhat.io/rhmtc/openshift-migration-must-gather-rhel8:v1.7
----
+
This command saves the data as the `must-gather/must-gather.tar.gz` file. You can upload this file to a support case on the link:https://access.redhat.com/[Red Hat Customer Portal].
* To collect data for the past 24 hours, use the following command:
+
[source,terminal]
----
$ oc adm must-gather --image=registry.redhat.io/rhmtc/openshift-migration-must-gather-rhel8:v1.7 -- /usr/bin/gather_metrics_dump
----
+
This operation can take a long time. This command saves the data as the `must-gather/metrics/prom_data.tar.gz` file.
endif::[]
ifdef::troubleshooting-mtc[]
* To collect data for the past 24 hours, use the following command:
+
[source,terminal]
----
$ oc adm must-gather --image=registry.redhat.io/rhmtc/openshift-migration-must-gather-rhel8:v1.8
----
+
The data is saved as `must-gather/must-gather.tar.gz`. You can upload this file to a support case on the link:https://access.redhat.com/[Red Hat Customer Portal].
* To collect data for the past 24 hours:
This command saves the data as the `must-gather/must-gather.tar.gz` file. You can upload this file to a support case on the link:https://access.redhat.com/[Red Hat Customer Portal].
* To collect data for the past 24 hours, use the following command:
+
[source,terminal]
----
$ oc adm must-gather --image=registry.redhat.io/rhmtc/openshift-migration-must-gather-rhel8:v1.8 -- /usr/bin/gather_metrics_dump
----
+
This operation can take a long time. The data is saved as `must-gather/metrics/prom_data.tar.gz`.
This operation can take a long time. This command saves the data as the `must-gather/metrics/prom_data.tar.gz` file.
endif::[]
ifdef::oadp-troubleshooting[]
* Full `must-gather` data collection, including Prometheus metrics: