Skip to content

Commit 30a6790

Browse files
committed
OSDOCS-2869 - Migrating common SD files in the Support book
1 parent 3b63ee9 commit 30a6790

21 files changed

+143
-11
lines changed

modules/about-must-gather.adoc

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
// Module included in the following assemblies:
22
//
3+
// * sandboxed_containers/troubleshooting-sandboxed-containers.adoc
34
// * virt/logging_events_monitoring/virt-collecting-virt-data.adoc
45
// * support/gathering-cluster-data.adoc
5-
// * serverless/serverless-support.adoc
6+
// * service_mesh/v2x/ossm-troubleshooting-istio.adoc
7+
// * service_mesh/v2x/ossm-support.adoc
68
// * service_mesh/v1x/servicemesh-release-notes.adoc
7-
// * service_mesh/v2x/servicemesh-release-notes.adoc
8-
// * troubleshooting-sandboxed-containers.adoc
9+
// * serverless/serverless-support.adoc
910

1011
[id="about-must-gather_{context}"]
1112
= About the must-gather tool

modules/common-attributes.adoc

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,4 +41,10 @@ endif::[]
4141
:launch: image:app-launcher.png[title="Application Launcher"]
4242
:mtc-short: MTC
4343
:mtc-full: Migration Toolkit for Containers
44+
ifndef::openshift-dedicated[]
4445
:mtc-version: 1.6
46+
endif::openshift-dedicated[]
47+
ifdef::openshift-dedicated[]
48+
:mtc-version: 1.4
49+
:mtc-version-z: 1.4.1
50+
endif::openshift-dedicated[]

modules/gathering-data-specific-features.adoc

Lines changed: 48 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,17 +35,25 @@ ifndef::openshift-origin[]
3535
|`registry.redhat.io/openshift-service-mesh/istio-must-gather-rhel8`
3636
|Data collection for Red Hat OpenShift Service Mesh.
3737

38+
ifndef::openshift-dedicated[]
3839
|`registry.redhat.io/rhmtc/openshift-migration-must-gather-rhel8:v{mtc-version}`
3940
|Data collection for the {mtc-full}.
41+
endif::openshift-dedicated[]
42+
ifdef::openshift-dedicated[]
43+
|`registry.redhat.io/rhcam-1-2/openshift-migration-must-gather-rhel8`
44+
|Data collection for migration-related information.
45+
endif::openshift-dedicated[]
4046

4147
|`registry.redhat.io/ocs4/ocs-must-gather-rhel8:v4.9`
4248
|Data collection for Red Hat OpenShift Container Storage.
4349

4450
|`registry.redhat.io/openshift4/ose-cluster-logging-operator`
4551
|Data collection for OpenShift Logging.
4652

53+
ifndef::openshift-dedicated[]
4754
|`registry.redhat.io/openshift4/ose-local-storage-mustgather-rhel8`
4855
|Data collection for Local Storage Operator.
56+
endif::openshift-dedicated[]
4957

5058
|===
5159

@@ -76,8 +84,10 @@ ifdef::openshift-origin[]
7684
|`quay.io/openshift/origin-cluster-logging-operator`
7785
|Data collection for OpenShift Logging.
7886

87+
ifndef::openshift-dedicated[]
7988
|`quay.io/openshift/origin-local-storage-mustgather`
8089
|Data collection for Local Storage Operator.
90+
endif::openshift-dedicated[]
8191

8292
|===
8393

@@ -94,7 +104,12 @@ To collect the default `must-gather` data in addition to specific feature data,
94104
.Prerequisites
95105

96106
* Access to the cluster as a user with the `cluster-admin` role.
107+
ifndef::openshift-dedicated[]
97108
* The {product-title} CLI (`oc`) installed.
109+
endif::openshift-dedicated[]
110+
ifdef::openshift-dedicated[]
111+
* The OpenShift CLI (`oc`) installed.
112+
endif::openshift-dedicated[]
98113

99114
.Procedure
100115

@@ -113,7 +128,14 @@ $ oc adm must-gather \
113128
<1> The default {product-title} `must-gather` image
114129
<2> The must-gather image for {VirtProductName}
115130
+
116-
You can use the `must-gather` tool with additional arguments to gather data that is specifically related to OpenShift Logging and the Red Hat OpenShift Logging Operator in your cluster. For OpenShift Logging, run the following command:
131+
You can use the `must-gather` tool with additional arguments to gather data that is specifically related to OpenShift Logging and the
132+
ifndef::openshift-dedicated[]
133+
Red Hat OpenShift
134+
endif::openshift-dedicated[]
135+
ifdef::openshift-dedicated[]
136+
Cluster
137+
endif::openshift-dedicated[]
138+
Logging Operator in your cluster. For OpenShift Logging, run the following command:
117139
+
118140
[source,terminal]
119141
----
@@ -136,6 +158,10 @@ $ oc adm must-gather --image=$(oc -n openshift-logging get deployment.apps/clust
136158
│ │ └── logforwarding_cr
137159
│ ├── collector
138160
│ │ ├── fluentd-2tr64
161+
ifdef::openshift-dedicated[]
162+
│ ├── curator
163+
│ │ └── curator-1596028500-zkz4s
164+
endif::openshift-dedicated[]
139165
│ ├── eo
140166
│ │ ├── csv
141167
│ │ ├── deployment
@@ -183,12 +209,24 @@ $ oc adm must-gather --image=$(oc -n openshift-logging get deployment.apps/clust
183209
│ │ ├── configmaps.yaml
184210
│ │ ├── endpoints.yaml
185211
│ │ ├── events
212+
ifndef::openshift-dedicated[]
186213
│ │ │ ├── elasticsearch-im-app-1596020400-gm6nl.1626341a296c16a1.yaml
187214
│ │ │ ├── elasticsearch-im-audit-1596020400-9l9n4.1626341a2af81bbd.yaml
188215
│ │ │ ├── elasticsearch-im-infra-1596020400-v98tk.1626341a2d821069.yaml
189216
│ │ │ ├── elasticsearch-im-app-1596020400-cc5vc.1626341a3019b238.yaml
190217
│ │ │ ├── elasticsearch-im-audit-1596020400-s8d5s.1626341a31f7b315.yaml
191218
│ │ │ ├── elasticsearch-im-infra-1596020400-7mgv8.1626341a35ea59ed.yaml
219+
endif::openshift-dedicated[]
220+
ifdef::openshift-dedicated[]
221+
│ │ │ ├── curator-1596021300-wn2ks.162634ebf0055a94.yaml
222+
│ │ │ ├── curator.162638330681bee2.yaml
223+
│ │ │ ├── elasticsearch-delete-app-1596020400-gm6nl.1626341a296c16a1.yaml
224+
│ │ │ ├── elasticsearch-delete-audit-1596020400-9l9n4.1626341a2af81bbd.yaml
225+
│ │ │ ├── elasticsearch-delete-infra-1596020400-v98tk.1626341a2d821069.yaml
226+
│ │ │ ├── elasticsearch-rollover-app-1596020400-cc5vc.1626341a3019b238.yaml
227+
│ │ │ ├── elasticsearch-rollover-audit-1596020400-s8d5s.1626341a31f7b315.yaml
228+
│ │ │ ├── elasticsearch-rollover-infra-1596020400-7mgv8.1626341a35ea59ed.yaml
229+
endif::openshift-dedicated[]
192230
│ │ ├── events.yaml
193231
│ │ ├── persistentvolumeclaims.yaml
194232
│ │ ├── pods.yaml
@@ -219,9 +257,18 @@ $ oc adm must-gather --image=$(oc -n openshift-logging get deployment.apps/clust
219257
│ │ │ ├── current.log
220258
│ │ │ ├── previous.insecure.log
221259
│ │ │ └── previous.log
260+
ifdef::openshift-dedicated[]
261+
│ │ ├── curator-1596028500-zkz4s
262+
endif::openshift-dedicated[]
222263
│ │ ├── elasticsearch-cdm-lp8l38m0-1-794d6dd989-4jxms
264+
ifndef::openshift-dedicated[]
223265
│ │ ├── elasticsearch-im-app-1596030300-bpgcx
224266
│ │ │ ├── elasticsearch-im-app-1596030300-bpgcx.yaml
267+
endif::openshift-dedicated[]
268+
ifdef::openshift-dedicated[]
269+
│ │ ├── elasticsearch-delete-app-1596030300-bpgcx
270+
│ │ │ ├── elasticsearch-delete-app-1596030300-bpgcx.yaml
271+
endif::openshift-dedicated[]
225272
│ │ │ └── indexmanagement
226273
│ │ │ └── indexmanagement
227274
│ │ │ └── logs

modules/insights-operator-what-information-is-collected.adoc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ The following information is collected by the Insights Operator:
1212
* Errors that occur in the cluster components
1313
* Progress information of running updates, and the status of any component upgrades
1414
* Details of the platform that {product-title} is deployed on, such as Amazon Web Services, and the region that the cluster is located in
15+
ifndef::openshift-dedicated[]
1516
* Cluster workload information transformed into discreet Secure Hash Algorithm (SHA) values, which allows Red Hat to assess workloads for security and version vulnerabilities without disclosing sensitive details
17+
endif::openshift-dedicated[]
1618
* If an Operator reports an issue, information is collected about core {product-title} pods in the `openshift-&#42;` and `kube-&#42;` projects. This includes state, resource, security context, volume information, and more.
17-

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// Module included in the following assemblies:
22
//
3-
// * support/troubleshooting/gathering-cluster-data.adoc
3+
// * support/gathering-cluster-data.adoc
44

55
[id="querying-bootstrap-node-journal-logs_{context}"]
66
= Querying bootstrap node journal logs

modules/support-gather-data.adoc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,12 @@ You can gather debugging information about your cluster by using the `oc adm mus
1010
.Prerequisites
1111

1212
* Access to the cluster as a user with the `cluster-admin` role.
13+
ifndef::openshift-dedicated[]
1314
* The {product-title} CLI (`oc`) installed.
15+
endif::openshift-dedicated[]
16+
ifdef::openshift-dedicated[]
17+
* The OpenShift CLI (`oc`) installed.
18+
endif::openshift-dedicated[]
1419

1520
.Procedure
1621

modules/support-generating-a-sosreport-archive.adoc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ $ oc get nodes
3232
$ oc debug node/my-cluster-node
3333
----
3434
+
35+
ifndef::openshift-dedicated[]
3536
To enter into a debug session on the target node that is tainted with the `NoExecute` effect, add a toleration to a dummy namespace, and start the debug pod in the dummy namespace:
3637
+
3738
[source,terminal]
@@ -49,6 +50,7 @@ $ oc patch namespace dummy --type=merge -p '{"metadata": {"annotations": { "sche
4950
$ oc debug node/my-cluster-node
5051
----
5152
+
53+
endif::openshift-dedicated[]
5254
. Set `/host` as the root directory within the debug shell. The debug pod mounts the host's root file system in `/host` within the pod. By changing the root directory to `/host`, you can run binaries contained in the host's executable paths:
5355
+
5456
[source,terminal]

modules/support-knowledgebase-about.adoc

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
// Module included in the following assemblies:
22
//
3-
// * support/support-redhat-knowledgebase.adoc
3+
// * support/getting-support.adoc
4+
// * support/index.adoc
5+
// * service_mesh/v2x/ossm-troubleshooting-istio.adoc
46

57
[id="support-knowledgebase-about_{context}"]
68
= About the Red Hat Knowledgebase

modules/support-knowledgebase-search.adoc

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
// Module included in the following assemblies:
22
//
3-
// * support/support-redhat-knowledgebase.adoc
3+
// * support/getting-support.adoc
4+
// * support/index.adoc
5+
// * service_mesh/v2x/ossm-troubleshooting-istio.adoc
46

57
[id="support-knowledgebase-search_{context}"]
68
= Searching the Red Hat Knowledgebase

modules/support-submitting-a-case.adoc

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
// Module included in the following assemblies:
22
//
33
// * support/getting-support.adoc
4+
// * support/index.adoc
5+
// * service_mesh/v2x/ossm-troubleshooting-istio.adoc
46

57
[id="support-submitting-a-case_{context}"]
68
= Submitting a support case
@@ -16,7 +18,14 @@
1618

1719
. Log in to the link:http://access.redhat.com[Red Hat Customer Portal] and select *SUPPORT CASES* -> *Open a case*.
1820

19-
. Select the appropriate category for your issue (such as *Defect / Bug*), product (*{product-title}*), and product version (*{product-version}*, if this is not already autofilled).
21+
. Select the appropriate category for your issue (such as *Defect / Bug*), product (*{product-title}*), and product version
22+
ifndef::openshift-dedicated[]
23+
(*{product-version}*,
24+
endif::openshift-dedicated[]
25+
ifdef::openshift-dedicated[]
26+
(*{product-title}*,
27+
endif::openshift-dedicated[]
28+
if this is not already autofilled).
2029

2130
. Review the list of suggested Red Hat Knowledgebase solutions for a potential match against the problem that is being reported. If the suggested articles do not address the issue, click *Continue*.
2231

0 commit comments

Comments
 (0)