You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -12,26 +11,14 @@ You can collect logs, metrics, and information about {local-product} custom reso
12
11
13
12
The `must-gather` data must be attached to all customer cases.
14
13
15
-
ifdef::troubleshooting-3-4,troubleshooting-mtc[]
16
14
You can collect data for a one-hour or a 24-hour period and view the data with the Prometheus console.
17
-
endif::[]
18
-
ifdef::oadp-troubleshooting[]
19
-
You can run the `must-gather` tool with the following data collection options:
20
15
21
-
* Full `must-gather` data collection collects Prometheus metrics, pod logs, and Velero CR information for all namespaces where the OADP Operator is installed.
22
-
* Essential `must-gather` data collection collects pod logs and Velero CR information for a specific duration of time, for example, one hour or 24 hours. Prometheus metrics and duplicate logs are not included.
23
-
* `must-gather` data collection with timeout. Data collection can take a long time if there are many failed `Backup` CRs. You can improve performance by setting a timeout value.
24
-
* Prometheus metrics data dump downloads an archive file containing the metrics data collected by Prometheus.
25
-
endif::[]
26
16
27
17
.Prerequisites
28
18
29
19
* You must be logged in to the {product-title} cluster as a user with the `cluster-admin` role.
30
20
* You must have the OpenShift CLI (`oc`) installed.
31
21
32
-
ifdef::oadp-troubleshooting[]
33
-
* You must use {op-system-base-full}{op-system-version-9} with {oadp-short} 1.4.
This operation can take a long time. This command saves the data as the `must-gather/metrics/prom_data.tar.gz` file.
76
64
endif::[]
77
-
ifdef::oadp-troubleshooting[]
78
-
* Full `must-gather` data collection, including Prometheus metrics:
79
-
+
80
-
[source,terminal,subs="attributes+"]
81
-
----
82
-
$ oc adm must-gather --image={must-gather-v1-4}
83
-
----
84
-
+
85
-
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].
86
-
87
-
* Essential `must-gather` data collection, without Prometheus metrics, for a specific time duration:
88
-
+
89
-
[source,terminal,subs="attributes+"]
90
-
----
91
-
$ oc adm must-gather --image={must-gather-v1-4} \
92
-
-- /usr/bin/gather_<time>_essential <1>
93
-
----
94
-
<1> Specify the time in hours. Allowed values are `1h`, `6h`, `24h`, `72h`, or `all`, for example, `gather_1h_essential` or `gather_all_essential`.
0 commit comments