Skip to content

Commit 2a9aab6

Browse files
authored
Merge pull request #75377 from michaelryanmcneill/OSDOCS-10406
OSDOCS-10406: updating and re-enabling the gather data support page
2 parents 8d4c86f + 63c0709 commit 2a9aab6

15 files changed

+120
-91
lines changed

_topic_maps/_topic_map_osd.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -158,10 +158,9 @@ Topics:
158158
# cannot list resource "secrets" in API group "" in the namespace "openshift-config"
159159
# - Name: Importing simple content access entitlements with Insights Operator
160160
# File: insights-operator-simple-access
161-
# must-gather not supported for customers, per Dustin Row, cannot create resource "namespaces"
162-
# - Name: Gathering data about your cluster
163-
# File: gathering-cluster-data
164-
# Distros: openshift-dedicated
161+
- Name: Gathering data about your cluster
162+
File: gathering-cluster-data
163+
Distros: openshift-dedicated
165164
- Name: Summarizing cluster specifications
166165
File: summarizing-cluster-specifications
167166
Distros: openshift-dedicated

_topic_maps/_topic_map_rosa.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -328,10 +328,9 @@ Topics:
328328
# cannot list resource "secrets" in API group "" in the namespace "openshift-config"
329329
# - Name: Importing simple content access entitlements with Insights Operator
330330
# File: insights-operator-simple-access
331-
# must-gather not supported for customers, per Dustin Row, cannot create resource "namespaces"
332-
# - Name: Gathering data about your cluster
333-
# File: gathering-cluster-data
334-
# Distros: openshift-rosa
331+
- Name: Gathering data about your cluster
332+
File: gathering-cluster-data
333+
Distros: openshift-rosa
335334
- Name: Summarizing cluster specifications
336335
File: summarizing-cluster-specifications
337336
Distros: openshift-rosa

modules/about-must-gather.adoc

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -44,13 +44,7 @@ $ oc adm must-gather -- /usr/bin/gather_audit_logs
4444
Audit logs are not collected as part of the default set of information to reduce the size of the files.
4545
====
4646
47-
ifndef::openshift-rosa,openshift-dedicated[]
4847
When you run `oc adm must-gather`, a new pod with a random name is created in a new project on the cluster. The data is collected on that pod and saved in a new directory that starts with `must-gather.local` in the current working directory.
49-
endif::openshift-rosa,openshift-dedicated[]
50-
51-
ifdef::openshift-rosa,openshift-dedicated[]
52-
When you run `oc adm must-gather`, the data is collected and saved in a new directory that starts with `must-gather.local` in the current working directory.
53-
endif::openshift-rosa,openshift-dedicated[]
5448

5549
For example:
5650

modules/gathering-data-network-logs.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ You can gather network logs on all nodes in a cluster.
1717
----
1818
$ oc adm must-gather -- gather_network_logs
1919
----
20-
20+
+
2121
[NOTE]
2222
====
2323
By default, the `must-gather` tool collects the OVN `nbdb` and `sbdb` databases from all of the nodes in the cluster. Adding the `-- gather_network_logs` option to include additional logs that contain OVN-Kubernetes transactions for OVN `nbdb` database.

modules/gathering-data-specific-features.adoc

Lines changed: 12 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -34,28 +34,23 @@ ifndef::openshift-origin[]
3434
|`registry.redhat.io/openshift-service-mesh/istio-must-gather-rhel8:<installed_version_service_mesh>`
3535
|Data collection for Red Hat OpenShift Service Mesh.
3636

37-
ifndef::openshift-dedicated[]
3837
|`registry.redhat.io/rhmtc/openshift-migration-must-gather-rhel8:v<installed_version_migration_toolkit>`
3938
|Data collection for the {mtc-full}.
40-
endif::openshift-dedicated[]
41-
ifdef::openshift-dedicated[]
42-
|`registry.redhat.io/rhcam-1-2/openshift-migration-must-gather-rhel8`
43-
|Data collection for migration-related information.
44-
endif::openshift-dedicated[]
4539

40+
ifndef::openshift-rosa,openshift-dedicated[]
4641
|`registry.redhat.io/odf4/ocs-must-gather-rhel8:v<installed_version_ODF>`
4742
|Data collection for {rh-storage-first}.
43+
endif::openshift-rosa,openshift-dedicated[]
4844

4945
|`registry.redhat.io/openshift-logging/cluster-logging-rhel9-operator:v<installed_version_logging>`
5046
|Data collection for {logging}.
5147

5248
|`registry.redhat.io/openshift4/ose-csi-driver-shared-resource-mustgather-rhel8`
5349
|Data collection for OpenShift Shared Resource CSI Driver.
5450

55-
ifndef::openshift-dedicated[]
51+
ifndef::openshift-rosa,openshift-dedicated[]
5652
|`registry.redhat.io/openshift4/ose-local-storage-mustgather-rhel8:v<installed_version_LSO>`
5753
|Data collection for Local Storage Operator.
58-
endif::openshift-dedicated[]
5954

6055
|`registry.redhat.io/openshift-sandboxed-containers/osc-must-gather-rhel8:v<installed_version_sandboxed_containers>`
6156
|Data collection for {sandboxed-containers-first}.
@@ -71,15 +66,18 @@ endif::openshift-dedicated[]
7166

7267
|`registry.redhat.io/workload-availability/node-maintenance-must-gather-rhel8:v<installed-version-NMO>`
7368
|Data collection for the Node Maintenance Operator (NMO).
69+
endif::openshift-rosa,openshift-dedicated[]
7470

7571
|`registry.redhat.io/openshift-gitops-1/must-gather-rhel8:v<installed_version_GitOps>`
7672
|Data collection for {gitops-title}.
7773

7874
|`registry.redhat.io/openshift4/ose-secrets-store-csi-mustgather-rhel8:v<installed_version_secret_store>`
7975
|Data collection for the {secrets-store-operator}.
8076

77+
ifndef::openshift-rosa,openshift-dedicated[]
8178
|`registry.redhat.io/lvms4/lvms-must-gather-rhel9:v<installed_version_LVMS>`
8279
|Data collection for the LVM Operator.
80+
endif::openshift-rosa,openshift-dedicated[]
8381

8482
|`registry.redhat.io/rhacm2/acm-must-gather-rhel9:v<ACM_version>`
8583
|Data collection for {rh-rhacm-first} 2.10 and later.
@@ -97,7 +95,7 @@ endif::openshift-dedicated[]
9795

9896
[NOTE]
9997
====
100-
To determine the latest version for an {product-title} component's image, see the link:https://access.redhat.com/support/policy/updates/openshift[Red Hat {product-title} Life Cycle Policy] web page on the Red Hat Customer Portal.
98+
To determine the latest version for an {product-title} component's image, see the link:https://access.redhat.com/support/policy/updates/openshift_operators[OpenShift Operator Life Cycles] web page on the Red Hat Customer Portal.
10199
====
102100

103101
endif::openshift-origin[]
@@ -143,18 +141,13 @@ endif::from-main-support-section[]
143141

144142
.Prerequisites
145143

146-
ifndef::openshift-rosa,openshift-dedicated[]
147144
* You have access to the cluster as a user with the `cluster-admin` role.
145+
ifndef::openshift-rosa,openshift-dedicated[]
146+
* The {product-title} CLI (`oc`) is installed.
148147
endif::openshift-rosa,openshift-dedicated[]
149148
ifdef::openshift-rosa,openshift-dedicated[]
150-
* You have access to the cluster as a user with the `dedicated-admin` role.
151-
endif::openshift-rosa,openshift-dedicated[]
152-
ifndef::openshift-dedicated[]
153-
* The {product-title} CLI (`oc`) is installed.
154-
endif::openshift-dedicated[]
155-
ifdef::openshift-dedicated[]
156149
* The OpenShift CLI (`oc`) is installed.
157-
endif::openshift-dedicated[]
150+
endif::openshift-rosa,openshift-dedicated[]
158151
159152
.Procedure
160153

@@ -167,8 +160,9 @@ ifndef::openshift-origin[]
167160
[NOTE]
168161
====
169162
* To collect the default `must-gather` data in addition to specific feature data, add the `--image-stream=openshift/must-gather` argument.
170-
163+
ifndef::openshift-rosa,openshift-dedicated[]
171164
* For information on gathering data about the Custom Metrics Autoscaler, see the Additional resources section that follows.
165+
endif::openshift-rosa,openshift-dedicated[]
172166
====
173167
+
174168
For example, the following command gathers both the default cluster data and information specific to {VirtProductName}:

modules/querying-cluster-node-journal-logs.adoc

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,20 @@ You can gather `journald` unit logs and other logs within `/var/log` on individu
1111

1212
.Prerequisites
1313

14-
ifndef::openshift-rosa,openshift-dedicated[]
1514
* You have access to the cluster as a user with the `cluster-admin` role.
16-
endif::openshift-rosa,openshift-dedicated[]
17-
ifdef::openshift-rosa,openshift-dedicated[]
18-
* You have access to the cluster as a user with the `dedicated-admin` role.
19-
endif::openshift-rosa,openshift-dedicated[]
20-
* Your API service is still functional.
15+
ifdef::openshift-dedicated[]
16+
+
17+
[NOTE]
18+
====
19+
In {product-title} deployments, customers who are not using the Customer Cloud Subscription (CCS) model cannot use the `oc adm node-logs` command as it requires `cluster-admin` privileges.
20+
====
21+
+
22+
endif::openshift-dedicated[]
2123
* You have installed the OpenShift CLI (`oc`).
24+
ifndef::openshift-rosa,openshift-dedicated[]
25+
* Your API service is still functional.
2226
* You have SSH access to your hosts.
27+
endif::openshift-rosa,openshift-dedicated[]
2328
2429
.Procedure
2530

@@ -46,6 +51,7 @@ $ oc adm node-logs --role=master --path=openshift-apiserver
4651
$ oc adm node-logs --role=master --path=openshift-apiserver/audit.log
4752
----
4853
+
54+
ifndef::openshift-rosa,openshift-dedicated[]
4955
.. If the API is not functional, review the logs on each node using SSH instead. The following example tails `/var/log/openshift-apiserver/audit.log`:
5056
+
5157
[source,terminal]
@@ -57,3 +63,4 @@ $ ssh core@<master-node>.<cluster_name>.<base_domain> sudo tail -f /var/log/open
5763
====
5864
{product-title} {product-version} cluster nodes running {op-system-first} are immutable and rely on Operators to apply cluster changes. Accessing cluster nodes by using SSH is not recommended. Before attempting to collect diagnostic data over SSH, review whether the data collected by running `oc adm must gather` and other `oc` commands is sufficient instead. However, if the {product-title} API is not available, or the kubelet is not properly functioning on the target node, `oc` operations will be impacted. In such situations, it is possible to access nodes using `ssh core@<node>.<cluster_name>.<base_domain>`.
5965
====
66+
endif::openshift-rosa,openshift-dedicated[]

modules/support-collecting-host-network-trace.adoc

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,15 @@ However, you can run any command in the container image that is specified in the
3030

3131
.Prerequisites
3232

33-
ifndef::openshift-rosa,openshift-dedicated[]
3433
* You are logged in to {product-title} as a user with the `cluster-admin` role.
35-
endif::openshift-rosa,openshift-dedicated[]
36-
ifdef::openshift-rosa,openshift-dedicated[]
37-
* You are logged in to {product-title} as a user with the `dedicated-admin` role.
38-
endif::openshift-rosa,openshift-dedicated[]
39-
34+
+
35+
ifdef::openshift-dedicated[]
36+
[NOTE]
37+
====
38+
In {product-title} deployments, customers who are not using the Customer Cloud Subscription (CCS) model cannot use the `oc adm must-gather` command as it requires `cluster-admin` privileges.
39+
====
40+
endif::openshift-dedicated[]
41+
+
4042
* You have installed the OpenShift CLI (`oc`).
4143
4244
.Procedure

modules/support-collecting-network-trace.adoc

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,17 +10,22 @@ When investigating potential network-related {product-title} issues, Red Hat Sup
1010

1111
.Prerequisites
1212

13-
ifndef::openshift-rosa,openshift-dedicated[]
1413
* You have access to the cluster as a user with the `cluster-admin` role.
15-
endif::openshift-rosa,openshift-dedicated[]
16-
ifdef::openshift-rosa,openshift-dedicated[]
17-
* You have access to the cluster as a user with the `dedicated-admin` role.
18-
endif::openshift-rosa,openshift-dedicated[]
14+
+
15+
ifdef::openshift-dedicated[]
16+
[NOTE]
17+
====
18+
In {product-title} deployments, customers who are not using the Customer Cloud Subscription (CCS) model cannot use the `oc debug` command as it requires `cluster-admin` privileges.
19+
====
20+
endif::openshift-dedicated[]
21+
+
1922
* You have installed the OpenShift CLI (`oc`).
23+
* You have an existing Red Hat Support case ID.
24+
ifndef::openshift-rosa,openshift-dedicated[]
2025
* You have a Red Hat standard or premium Subscription.
2126
* You have a Red Hat Customer Portal account.
22-
* You have an existing Red Hat Support case ID.
2327
* You have SSH access to your hosts.
28+
endif::openshift-rosa,openshift-dedicated[]
2429
2530
.Procedure
2631

@@ -45,11 +50,13 @@ $ oc debug node/my-cluster-node
4550
# chroot /host
4651
----
4752
+
53+
ifndef::openshift-rosa,openshift-dedicated[]
4854
[NOTE]
4955
====
5056
{product-title} {product-version} cluster nodes running {op-system-first} are immutable and rely on Operators to apply cluster changes. Accessing cluster nodes by using SSH is not recommended. However, if the {product-title} API is not available, or the kubelet is not properly functioning on the target node, `oc` operations will be impacted. In such situations, it is possible to access nodes using `ssh core@<node>.<cluster_name>.<base_domain>` instead.
5157
====
5258
+
59+
endif::openshift-rosa,openshift-dedicated[]
5360
. From within the `chroot` environment console, obtain the node's interface names:
5461
+
5562
[source,terminal]
@@ -120,11 +127,13 @@ $ oc debug node/my-cluster-node -- bash -c 'cat /host/var/tmp/my-tcpdump-capture
120127
----
121128
<1> The debug container mounts the host's root directory at `/host`. Reference the absolute path from the debug container's root directory, including `/host`, when specifying target files for concatenation.
122129
+
130+
ifndef::openshift-rosa,openshift-dedicated[]
123131
[NOTE]
124132
====
125133
{product-title} {product-version} cluster nodes running {op-system-first} are immutable and rely on Operators to apply cluster changes. Transferring a `tcpdump` capture file from a cluster node by using `scp` is not recommended. However, if the {product-title} API is not available, or the kubelet is not properly functioning on the target node, `oc` operations will be impacted. In such situations, it is possible to copy a `tcpdump` capture file from a node by running `scp core@<node>.<cluster_name>.<base_domain>:<file_path> <local_path>`.
126134
====
127135
+
136+
endif::openshift-rosa,openshift-dedicated[]
128137
.. Navigate to an existing support case within link:https://access.redhat.com/support/cases/#/case/list[the *Customer Support* page] of the Red Hat Customer Portal.
129138
+
130139
.. Select *Attach files* and follow the prompts to upload the file.

modules/support-gather-data.adoc

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,19 +10,29 @@ You can gather debugging information about your cluster by using the `oc adm mus
1010

1111
.Prerequisites
1212

13-
ifndef::openshift-rosa,openshift-dedicated[]
1413
* You have access to the cluster as a user with the `cluster-admin` role.
14+
+
15+
ifdef::openshift-dedicated[]
16+
[NOTE]
17+
====
18+
In {product-title} deployments, customers who are not using the Customer Cloud Subscription (CCS) model cannot use the `oc adm must-gather` command as it requires `cluster-admin` privileges.
19+
====
20+
endif::openshift-dedicated[]
21+
+
22+
ifndef::openshift-rosa,openshift-dedicated[]
23+
* The {product-title} CLI (`oc`) is installed.
1524
endif::openshift-rosa,openshift-dedicated[]
1625
ifdef::openshift-rosa,openshift-dedicated[]
17-
* You have access to the cluster as a user with the `dedicated-admin` role.
26+
* The OpenShift CLI (`oc`) is installed.
1827
endif::openshift-rosa,openshift-dedicated[]
19-
* The {product-title} CLI (`oc`) is installed.
28+
2029
2130
.Procedure
2231

2332
. Navigate to the directory where you want to store the `must-gather` data.
2433
+
2534

35+
ifndef::openshift-rosa,openshift-dedicated[]
2636
[NOTE]
2737
====
2838
If your cluster is in a disconnected environment, you must take additional steps. If your mirror registry has a trusted CA, you must first add the trusted CA to the cluster. For all clusters in disconnected environments, you must import the default `must-gather` image as an image stream.
@@ -32,6 +42,7 @@ If your cluster is in a disconnected environment, you must take additional steps
3242
$ oc import-image is/must-gather -n openshift
3343
----
3444
====
45+
endif::openshift-rosa,openshift-dedicated[]
3546
3647
. Run the `oc adm must-gather` command:
3748
+
@@ -41,11 +52,13 @@ $ oc import-image is/must-gather -n openshift
4152
$ oc adm must-gather
4253
----
4354
+
55+
ifndef::openshift-rosa,openshift-dedicated[]
4456
[IMPORTANT]
4557
====
4658
If you are in a disconnected environment, use the `--image` flag as part of must-gather and point to the payload image.
4759
====
4860
+
61+
endif::openshift-rosa,openshift-dedicated[]
4962
[NOTE]
5063
====
5164
Because this command picks a random control plane node by default, the pod might be scheduled to a control plane node that is in the `NotReady` and `SchedulingDisabled` state.

modules/support-get-cluster-id.adoc

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,13 @@ endif::openshift-rosa,openshift-dedicated[]
1919
* You have access to the web console or the OpenShift CLI (`oc`) installed.
2020

2121
.Procedure
22-
ifdef::openshift-enterprise,openshift-webscale,openshift-dedicated[]
22+
ifdef::openshift-rosa,openshift-dedicated[]
23+
* To manually obtain your cluster ID using {cluster-manager-url}:
24+
.. Navigate to *Clusters*.
25+
.. Click on the name of the cluster you need to open a support case for.
26+
.. Find the value in the *Cluster ID* field of the *Details* section of the *Overview* tab.
27+
endif::[]
28+
ifdef::openshift-enterprise,openshift-webscale,openshift-dedicated,openshift-rosa[]
2329
* To open a support case and have your cluster ID autofilled using the web console:
2430
.. From the toolbar, navigate to *(?) Help* and select *Share Feedback* from the list.
2531
.. Click *Open a support case* from the *Tell us about your experience* window.

0 commit comments

Comments
 (0)