-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #60558 from openshift-cherrypick-robot/cherry-pick…
…-56812-to-enterprise-4.13 [enterprise-4.13] RHDEVDOCS-4957: Added a section to collect must gather data for GitOps
- Loading branch information
Showing
3 changed files
with
61 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
:_content-type: ASSEMBLY | ||
[id="collecting-debugging-data-for-support"] | ||
= Collecting debugging data for a support case | ||
include::_attributes/common-attributes.adoc[] | ||
:context: collecting-debugging-data-for-support | ||
|
||
toc::[] | ||
|
||
When you open a support case, you must provide debugging information about your cluster to the Red Hat Support team. You can use the `must-gather` tool to collect diagnostic information for project-level resources, cluster-level resources, and {gitops-title} components. | ||
|
||
[NOTE] | ||
==== | ||
For prompt support, provide diagnostic information for both {product-title} and {gitops-title}. | ||
==== | ||
|
||
include::modules/about-must-gather.adoc[leveloffset=+1] | ||
include::modules/collecting-gitops-debugging-data.adoc[leveloffset=+1] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
// Module included in the following assembly: | ||
// | ||
// * cicd/gitops/collecting-debugging-data-for-support.adoc | ||
|
||
:_content-type: PROCEDURE | ||
[id="collecting-debugging-data-for-gitops_{context}"] | ||
= Collecting debugging data for {gitops-title} | ||
|
||
Use the `oc adm must-gather` CLI command to collect the following details about the cluster that is associated with {gitops-title}: | ||
|
||
* The subscription and namespace of the {gitops-title} Operator. | ||
* The namespaces where ArgoCD objects are available and the objects in those namespaces, such as `ArgoCD`, `Applications`, `ApplicationSets`, `AppProjects`, and `configmaps`. | ||
* A list of the namespaces that are managed by the {gitops-title} Operator, and resources from those namespaces. | ||
* All {gitops-shortname}-related custom resource objects and definitions. | ||
* Operator and Argo CD logs. | ||
* Warning and error-level events. | ||
.Prerequisites | ||
* You have logged in to the {product-title} cluster as an administrator. | ||
* You have installed the {product-title} CLI (`oc`). | ||
* You have installed the {gitops-title} Operator. | ||
.Procedure | ||
|
||
. Navigate to the directory where you want to store the debugging information. | ||
. Run the `oc adm must-gather` command with the {gitops-title} `must-gather` image: | ||
+ | ||
[source,terminal] | ||
---- | ||
$ oc adm must-gather --image=registry.redhat.io/openshift-gitops-1/gitops-must-gather-rhel8:v1.9.0 | ||
---- | ||
+ | ||
The `must-gather` tool creates a new directory that starts with `./must-gather.local` in the current directory. For example, `./must-gather.local.4157245944708210399`. | ||
|
||
. Create a compressed file from the directory that was just created. For example, on a computer that uses a Linux operating system, run the following command: | ||
+ | ||
[source,terminal] | ||
---- | ||
$ tar -cvaf must-gather.tar.gz must-gather.local.4157245944708210399 | ||
---- | ||
|
||
. Attach the compressed file to your support case on the link:https://access.redhat.com/[Red Hat Customer Portal]. |