Skip to content

Commit 28ea5b5

Browse files
authored
Merge pull request #68711 from anarnold97/OADP-814-running-must-gather-with-two-flags
OADP-814: OADP: running must-gather with two flags
2 parents 065c2cd + 8f0f3b0 commit 28ea5b5

File tree

2 files changed

+21
-0
lines changed

2 files changed

+21
-0
lines changed

backup_and_restore/application_backup_and_restore/troubleshooting.adoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@ include::modules/oadp-restic-issues.adoc[leveloffset=+1]
9494
include::modules/oadp-restic-restore-failing-psa-policy.adoc[leveloffset=+2]
9595

9696
include::modules/migration-using-must-gather.adoc[leveloffset=+1]
97+
include::modules/migration-combining-must-gather.adoc[leveloffset=+2]
9798
include::modules/oadp-monitoring.adoc[leveloffset=+1]
9899
[role="_additional-resources"]
99100
.Additional resources
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
// Module included in the following assemblies:
2+
// * backup_and_restore/application_backup_and_restore/troubleshooting.adoc
3+
4+
:_mod-docs-content-type: CONCEPT
5+
[id="migration-combining-must-gather_{context}"]
6+
= Combining options when using the must-gather tool
7+
8+
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:
9+
10+
[source,terminal]
11+
----
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>
13+
----
14+
15+
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`.
16+
17+
The only other variables that you can specify this way are the following:
18+
19+
* `logs_since`, with a default value of `72h`
20+
* `request_timeout`, with a default value of `0s`

0 commit comments

Comments
 (0)