Skip to content

Commit a42e6c7

Browse files
committed
OADP - 3343 Update Using the must-gather tool
1 parent 0ee2776 commit a42e6c7

File tree

2 files changed

+28
-6
lines changed

2 files changed

+28
-6
lines changed

modules/migration-combining-must-gather.adoc

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Currently, it is not possible to combine must-gather scripts, for example specif
99

1010
[source,terminal]
1111
----
12-
$ oc adm must-gather --image=brew.registry.redhat.io/rh-osbs/oadp-oadp-mustgather-rhel8:1.1.1-8 -- skip_tls=true /usr/bin/gather_with_timeout <timeout_value_in_seconds>
12+
oc adm must-gather --image=registry.redhat.io/oadp/oadp-mustgather-rhel9:v1.3 -- skip_tls=true /usr/bin/gather_with_timeout <timeout_value_in_seconds>
1313
----
1414

1515
In this example, set the `skip_tls` variable before running the `gather_with_timeout` script. The result is a combination of `gather_with_timeout` and `gather_without_tls`.
@@ -18,3 +18,10 @@ The only other variables that you can specify this way are the following:
1818

1919
* `logs_since`, with a default value of `72h`
2020
* `request_timeout`, with a default value of `0s`
21+
22+
If `DataProtectionApplication` custom resource (CR) is configured with `s3Url` and `insecureSkipTLS: true`, the CR does not collect the necessary logs because of a missing CA certificate. To collect those logs, run the `must-gather` command with the following option:
23+
24+
[source,terminal]
25+
----
26+
$ oc adm must-gather --image=registry.redhat.io/oadp/oadp-mustgather-rhel9:v1.3 -- /usr/bin/gather_without_tls true
27+
----

modules/migration-using-must-gather.adoc

Lines changed: 20 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ endif::[]
2828

2929
* You must be logged in to the {product-title} cluster as a user with the `cluster-admin` role.
3030
* You must have the OpenShift CLI (`oc`) installed.
31+
* You must use {op-system-base-full} 8.x with OADP 1.2.
32+
* You must use {op-system-base-full} {op-system-version} with OADP 1.3.
3133
3234
.Procedure
3335

@@ -40,10 +42,18 @@ endif::[]
4042
ifdef::oadp-troubleshooting[]
4143
* Full `must-gather` data collection, including Prometheus metrics:
4244
endif::[]
45+
.. For OADP 1.2, use the following command:
4346
+
44-
[source,terminal,subs="attributes+"]
47+
[source,terminal]
48+
----
49+
oc adm must-gather --image=registry.redhat.io/oadp/oadp-mustgather-rhel8:v1.2
50+
----
51+
+
52+
.. For OADP 1.3, use the following command:
53+
+
54+
[source,terminal]
4555
----
46-
$ oc adm must-gather --image={must-gather}
56+
oc adm must-gather --image=registry.redhat.io/oadp/oadp-mustgather-rhel9:v1.3
4757
----
4858
+
4959
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].
@@ -73,12 +83,17 @@ endif::[]
7383
ifdef::oadp-troubleshooting[]
7484
* Prometheus metrics data dump:
7585
endif::[]
86+
.. For OADP 1.2, use the following command:
7687
+
77-
[source,terminal,subs="attributes+"]
88+
[source,terminal]
7889
----
79-
$ oc adm must-gather --image={must-gather} \
80-
-- /usr/bin/gather_metrics_dump
90+
oc adm must-gather --image=registry.redhat.io/oadp/oadp-mustgather-rhel8:v1.2 -- /usr/bin/gather_metrics_dump
8191
----
92+
.. For OADP 1.3, use the following command:
8293
+
94+
[source,terminal]
95+
----
96+
oc adm must-gather --image=registry.redhat.io/oadp/oadp-mustgather-rhel9:v1.3 -- /usr/bin/gather_metrics_dump
97+
----
8398
This operation can take a long time. The data is saved as `must-gather/metrics/prom_data.tar.gz`.
8499

0 commit comments

Comments
 (0)