-
Notifications
You must be signed in to change notification settings - Fork 1.8k
OADP must-gather for 1.4.5 #95588
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: enterprise-4.18
Are you sure you want to change the base?
OADP must-gather for 1.4.5 #95588
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,72 @@ | ||
// Module included in the following assemblies: | ||
// | ||
// * backup_and_restore/application_backup_and_restore/troubleshooting/using-the-must-gather-tool.adoc | ||
|
||
:_mod-docs-content-type: PROCEDURE | ||
[id="oadp-running-must-gather_{context}"] | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. From OpenShift docs guidelines:
Similarly in modularization guidelines:
So I would recommend either renaming the file or changing the ID, so that the ID and file name matches |
||
= Using the must-gather tool | ||
|
||
You can run the `must-gather` tool with the following options. To use an option, add a flag corresponding to that option in the `must-gather` command. | ||
|
||
Default configuration:: This configuration collects pod logs, {oadp-short}, and `Velero` custom resource (CR) information for all namespaces where the {oadp-short} Operator is installed. | ||
Timeout:: Data collection can take a long time if there are many failed `Backup` CRs. You can improve performance by setting a timeout value. | ||
Insecure TLS connections:: If a custom CA certificate is used, run the `must-gather` tool with insecure TLS connections. | ||
|
||
The `must-gather` tool generates a Markdown output file with the collected information. The Markdown file is located in a cluster directory. | ||
|
||
For more information about the supported flags, use the help flag with the `must-gather` tool as shown in the following example: | ||
|
||
[source,terminal,subs="attributes+"] | ||
---- | ||
$ oc adm must-gather --image={must-gather-v1-4} -- /usr/bin/gather -h | ||
---- | ||
Comment on lines
+17
to
+22
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I do not usually see commands in the introduction of a procedure. Could it be possibly moved to the procedure? and if not, maybe putting this into a note would work better here? |
||
|
||
.Prerequisites | ||
|
||
* You have logged in to the {product-title} cluster as a user with the `cluster-admin` role. | ||
* You have installed the {oc-first}. | ||
* You must use {op-system-base-full} {op-system-version-9} with {oadp-short} 1.4. | ||
|
||
.Procedure | ||
|
||
. Navigate to the directory where you want to store the `must-gather` data. | ||
. Run the `oc adm must-gather` command for one of the following data collection options: | ||
|
||
** To use the default configuration of the `must-gather` tool, run the following command: | ||
+ | ||
[source,terminal,subs="attributes+"] | ||
---- | ||
$ oc adm must-gather --image={must-gather-v1-4} | ||
---- | ||
|
||
** To use the timeout flag with the `must-gather` tool, run the following command: | ||
+ | ||
[source,terminal,subs="attributes+"] | ||
---- | ||
$ oc adm must-gather --image={must-gather-v1-4} -- /usr/bin/gather --request-timeout 1m <1> | ||
---- | ||
<1> In this example, the timeout is 1 minute. | ||
|
||
** To use the insecure TLS connection flag with the `must-gather` tool, run the following command: | ||
+ | ||
[source,terminal,subs="attributes+"] | ||
---- | ||
$ oc adm must-gather --image={must-gather-v1-4} -- /usr/bin/gather --skip-tls | ||
---- | ||
|
||
** To use a combination of the insecure TLS connection, and the timeout flags with the `must-gather` tool, run the following command: | ||
+ | ||
[source,terminal,subs="attributes+"] | ||
---- | ||
$ oc adm must-gather --image={must-gather-v1-4} -- /usr/bin/gather --request-timeout 15s --skip-tls <1> | ||
---- | ||
<1> In this example, the timeout is 15 seconds. By default, the `--skip-tls` flag value is `false`. Set the value to `true` to allow insecure TLS connections. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
The |
||
|
||
.Verification | ||
|
||
. Verify that the Markdown output file is generated at the following location: `must-gather.local.89...054550/registry.redhat.io/oadp/oadp-mustgather-rhel9:v1.5-sha256-0...84/clusters/a4...86/oadp-must-gather-summary.md` | ||
|
||
. Review the `must-gather` data in the Markdown file by opening the file in a Markdown previewer. For an example output, refer to the following image. You can upload this output file to a support case on the link:https://access.redhat.com/[Red{nbsp}Hat Customer Portal]. | ||
+ | ||
.Example markdown output | ||
image::oadp-must-gather-markdown-output.png[must-gather markdown output] |
Uh oh!
There was an error while loading. Please reload this page.