Skip to content

Commit 520c988

Browse files
authored
Merge pull request #75087 from anarnold97/MIG-1552-Fix-must-gather-image-in-MTC-1.7-docs
MIG-1552: Fix must-gather image in MTC 1.7 docs
2 parents 3841d15 + b6e2aa4 commit 520c988

File tree

1 file changed

+23
-5
lines changed

1 file changed

+23
-5
lines changed

modules/migration-using-must-gather.adoc

Lines changed: 23 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -39,23 +39,41 @@ endif::[]
3939
. Navigate to the directory where you want to store the `must-gather` data.
4040
. Run the `oc adm must-gather` command for one of the following data collection options:
4141

42-
ifdef::troubleshooting-3-4,troubleshooting-mtc[]
43-
* To collect data for the past hour:
42+
ifdef::troubleshooting-3-4[]
43+
* To collect data for the past hour, use the following command:
44+
+
45+
[source,terminal]
46+
----
47+
$ oc adm must-gather --image=registry.redhat.io/rhmtc/openshift-migration-must-gather-rhel8:v1.7
48+
----
49+
+
50+
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].
51+
* To collect data for the past 24 hours, use the following command:
52+
+
53+
[source,terminal]
54+
----
55+
$ oc adm must-gather --image=registry.redhat.io/rhmtc/openshift-migration-must-gather-rhel8:v1.7 -- /usr/bin/gather_metrics_dump
56+
----
57+
+
58+
This operation can take a long time. This command saves the data as the `must-gather/metrics/prom_data.tar.gz` file.
59+
endif::[]
60+
ifdef::troubleshooting-mtc[]
61+
* To collect data for the past 24 hours, use the following command:
4462
+
4563
[source,terminal]
4664
----
4765
$ oc adm must-gather --image=registry.redhat.io/rhmtc/openshift-migration-must-gather-rhel8:v1.8
4866
----
4967
+
50-
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].
51-
* To collect data for the past 24 hours:
68+
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].
69+
* To collect data for the past 24 hours, use the following command:
5270
+
5371
[source,terminal]
5472
----
5573
$ oc adm must-gather --image=registry.redhat.io/rhmtc/openshift-migration-must-gather-rhel8:v1.8 -- /usr/bin/gather_metrics_dump
5674
----
5775
+
58-
This operation can take a long time. The data is saved as `must-gather/metrics/prom_data.tar.gz`.
76+
This operation can take a long time. This command saves the data as the `must-gather/metrics/prom_data.tar.gz` file.
5977
endif::[]
6078
ifdef::oadp-troubleshooting[]
6179
* Full `must-gather` data collection, including Prometheus metrics:

0 commit comments

Comments
 (0)