Skip to content

Commit 844bcab

Browse files
authored
Merge pull request #56812 from shipsing/RHDEVDOCS-4957
RHDEVDOCS-4957: Added a section to collect must gather data for GitOps
2 parents c3c3d3e + eade20c commit 844bcab

File tree

3 files changed

+61
-0
lines changed

3 files changed

+61
-0
lines changed

_topic_maps/_topic_map.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1954,6 +1954,8 @@ Topics:
19541954
File: run-gitops-control-plane-workload-on-infra-nodes
19551955
- Name: Sizing requirements for GitOps Operator
19561956
File: about-sizing-requirements-gitops
1957+
- Name: Collecting debugging data for a support case
1958+
File: collecting-debugging-data-for-support
19571959
- Name: Troubleshooting issues in GitOps
19581960
File: troubleshooting-issues-in-GitOps
19591961
- Name: Jenkins
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
:_content-type: ASSEMBLY
2+
[id="collecting-debugging-data-for-support"]
3+
= Collecting debugging data for a support case
4+
include::_attributes/common-attributes.adoc[]
5+
:context: collecting-debugging-data-for-support
6+
7+
toc::[]
8+
9+
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. 
10+
11+
[NOTE]
12+
====
13+
For prompt support, provide diagnostic information for both {product-title} and {gitops-title}.
14+
====
15+
16+
include::modules/about-must-gather.adoc[leveloffset=+1]
17+
include::modules/collecting-gitops-debugging-data.adoc[leveloffset=+1]
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
// Module included in the following assembly:
2+
//
3+
// * cicd/gitops/collecting-debugging-data-for-support.adoc
4+
5+
:_content-type: PROCEDURE
6+
[id="collecting-debugging-data-for-gitops_{context}"]
7+
= Collecting debugging data for {gitops-title}
8+
9+
Use the `oc adm must-gather` CLI command to collect the following details about the cluster that is associated with {gitops-title}:
10+
11+
* The subscription and namespace of the {gitops-title} Operator.
12+
* The namespaces where ArgoCD objects are available and the objects in those namespaces, such as `ArgoCD`, `Applications`, `ApplicationSets`, `AppProjects`, and `configmaps`.
13+
* A list of the namespaces that are managed by the {gitops-title} Operator, and resources from those namespaces.
14+
* All {gitops-shortname}-related custom resource objects and definitions.
15+
* Operator and Argo CD logs.
16+
* Warning and error-level events.
17+
18+
.Prerequisites
19+
* You have logged in to the {product-title} cluster as an administrator.
20+
* You have installed the {product-title} CLI (`oc`).
21+
* You have installed the {gitops-title} Operator.
22+
23+
.Procedure
24+
25+
. Navigate to the directory where you want to store the debugging information.
26+
. Run the `oc adm must-gather` command with the {gitops-title} `must-gather` image:
27+
+
28+
[source,terminal]
29+
----
30+
$ oc adm must-gather --image=registry.redhat.io/openshift-gitops-1/gitops-must-gather-rhel8:v1.9.0
31+
----
32+
+
33+
The `must-gather` tool creates a new directory that starts with `./must-gather.local` in the current directory. For example, `./must-gather.local.4157245944708210399`.
34+
35+
. 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:
36+
+
37+
[source,terminal]
38+
----
39+
$ tar -cvaf must-gather.tar.gz must-gather.local.4157245944708210399
40+
----
41+
42+
. Attach the compressed file to your support case on the link:https://access.redhat.com/[Red Hat Customer Portal].

0 commit comments

Comments
 (0)