Skip to content

Commit 4a6fad9

Browse files
authored
Merge pull request #86301 from shdeshpa07/OADP-5316-must-gather-4.16-4.17
OADP-5316-must-gather for 4.16-4.18
2 parents ea208d5 + 55df4ec commit 4a6fad9

File tree

5 files changed

+16
-31
lines changed

5 files changed

+16
-31
lines changed

_attributes/common-attributes.adoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
:op-system-base: RHEL
1717
:op-system-base-full: Red Hat Enterprise Linux (RHEL)
1818
:op-system-version: 9.x
19+
:op-system-version-9: 9
1920
ifdef::openshift-origin[]
2021
:op-system-first: Fedora CoreOS (FCOS)
2122
:op-system: FCOS

backup_and_restore/application_backup_and_restore/troubleshooting.adoc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@ include::_attributes/attributes-openshift-dedicated.adoc[]
77
:oadp-troubleshooting:
88
:namespace: openshift-adp
99
:local-product: OADP
10-
:must-gather: registry.redhat.io/oadp/oadp-mustgather-rhel8:v1.1
10+
:must-gather-v1-3: registry.redhat.io/oadp/oadp-mustgather-rhel9:v1.3
11+
:must-gather-v1-4: registry.redhat.io/oadp/oadp-mustgather-rhel9:v1.4
1112

1213
toc::[]
1314

modules/migration-combining-must-gather.adoc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@
77

88
Currently, it is not possible to combine must-gather scripts, for example specifying a timeout threshold while permitting insecure TLS connections. In some situations, you can get around this limitation by setting up internal variables on the must-gather command line, such as the following example:
99

10-
[source,terminal]
10+
[source,terminal,subs="attributes+"]
1111
----
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>
12+
$ oc adm must-gather --image={must-gather-v1-4} -- 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`.
@@ -21,7 +21,7 @@ The only other variables that you can specify this way are the following:
2121
2222
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:
2323

24-
[source,terminal]
24+
[source,terminal,subs="attributes+"]
2525
----
26-
$ oc adm must-gather --image=registry.redhat.io/oadp/oadp-mustgather-rhel9:v1.3 -- /usr/bin/gather_without_tls true
26+
$ oc adm must-gather --image={must-gather-v1-4} -- /usr/bin/gather_without_tls true
2727
----

modules/migration-using-must-gather.adoc

Lines changed: 7 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,7 @@ endif::[]
3030
* You must have the OpenShift CLI (`oc`) installed.
3131
3232
ifdef::oadp-troubleshooting[]
33-
* You must use {op-system-base-full} 8.x with OADP 1.2.
34-
* You must use {op-system-base-full} {op-system-version} with OADP 1.3.
33+
* You must use {op-system-base-full} {op-system-version-9} with {oadp-short} 1.4.
3534
endif::[]
3635

3736
.Procedure
@@ -77,18 +76,10 @@ This operation can take a long time. This command saves the data as the `must-ga
7776
endif::[]
7877
ifdef::oadp-troubleshooting[]
7978
* Full `must-gather` data collection, including Prometheus metrics:
80-
.. For OADP 1.2, run the following command:
8179
+
82-
[source,terminal]
83-
----
84-
$ oc adm must-gather --image=registry.redhat.io/oadp/oadp-mustgather-rhel8:v1.2
85-
----
86-
+
87-
.. For OADP 1.3, run the following command:
88-
+
89-
[source,terminal]
80+
[source,terminal,subs="attributes+"]
9081
----
91-
$ oc adm must-gather --image=registry.redhat.io/oadp/oadp-mustgather-rhel9:v1.3
82+
$ oc adm must-gather --image={must-gather-v1-4}
9283
----
9384
+
9485
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].
@@ -97,7 +88,7 @@ The data is saved as `must-gather/must-gather.tar.gz`. You can upload this file
9788
+
9889
[source,terminal,subs="attributes+"]
9990
----
100-
$ oc adm must-gather --image={must-gather} \
91+
$ oc adm must-gather --image={must-gather-v1-4} \
10192
-- /usr/bin/gather_<time>_essential <1>
10293
----
10394
<1> Specify the time in hours. Allowed values are `1h`, `6h`, `24h`, `72h`, or `all`, for example, `gather_1h_essential` or `gather_all_essential`.
@@ -106,24 +97,16 @@ $ oc adm must-gather --image={must-gather} \
10697
+
10798
[source,terminal,subs="attributes+"]
10899
----
109-
$ oc adm must-gather --image={must-gather} \
100+
$ oc adm must-gather --image={must-gather-v1-4} \
110101
-- /usr/bin/gather_with_timeout <timeout> <1>
111102
----
112103
<1> Specify a timeout value in seconds.
113104
114105
* Prometheus metrics data dump:
115-
116-
.. For OADP 1.2, run the following command:
117106
+
118-
[source,terminal]
119-
----
120-
$ oc adm must-gather --image=registry.redhat.io/oadp/oadp-mustgather-rhel8:v1.2 -- /usr/bin/gather_metrics_dump
121-
----
122-
.. For OADP 1.3, run the following command:
123-
+
124-
[source,terminal]
107+
[source,terminal,subs="attributes+"]
125108
----
126-
$ oc adm must-gather --image=registry.redhat.io/oadp/oadp-mustgather-rhel9:v1.3 -- /usr/bin/gather_metrics_dump
109+
$ oc adm must-gather --image={must-gather-v1-4} -- /usr/bin/gather_metrics_dump
127110
----
128111
This operation can take a long time. The data is saved as `must-gather/metrics/prom_data.tar.gz`.
129112
endif::[]

modules/support-insecure-tls-connections.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ If a custom CA certificate is used, the `must-gather` pod fails to grab the outp
1010
.Procedure
1111
* Pass the `gather_without_tls` flag, with value set to `true`, to the `must-gather` tool by using the following command:
1212
13-
[source,terminal]
13+
[source,terminal,subs="attributes+"]
1414
----
15-
$ oc adm must-gather --image=registry.redhat.io/oadp/oadp-mustgather-rhel9:v1.3 -- /usr/bin/gather_without_tls <true/false>
15+
$ oc adm must-gather --image={must-gather-v1-4} -- /usr/bin/gather_without_tls <true/false>
1616
----
1717

1818
By default, the flag value is set to `false`. Set the value to `true` to allow insecure TLS connections.

0 commit comments

Comments
 (0)