Skip to content

Commit 7741b67

Browse files
author
Kevin Lamenzo
committed
BZ1771435 gather data for restricted install
1 parent 957a41c commit 7741b67

File tree

3 files changed

+27
-0
lines changed

3 files changed

+27
-0
lines changed

installing/install_config/installing-restricted-networks-preparations.adoc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@ include::modules/installation-adding-registry-pull-secret.adoc[leveloffset=+1]
3333

3434
include::modules/installation-mirror-repository.adoc[leveloffset=+1]
3535

36+
include::modules/installation-preparing-restricted-cluster-to-gather-support-data.adoc[leveloffset=+1]
37+
3638
include::modules/installation-restricted-network-samples.adoc[leveloffset=+1]
3739

3840
.Next steps
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
// Module included in the following assemblies:
2+
//
3+
// * installing/install_config/installing-restricted-networks-preparations.adoc
4+
5+
[id="installation-preparing-restricted-cluster-to-gather-support-data_{context}"]
6+
= Preparing your cluster to gather support data
7+
8+
Clusters using a restricted network must imporat the default must-gather image in order to gather debugging data for Red Hat support. The must-gather image is not imported by default, and clusters on a restricted network do not have access to the internet to pull the latest image from a remote repository.
9+
10+
.Procedure
11+
12+
. Import the default must-gather image from your installation payload:
13+
+
14+
----
15+
$ oc import-image is/must-gather -n openshift
16+
----

modules/support-gather-data.adoc

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,15 @@ $ oc adm must-gather
2727
====
2828
If this command fails, for example if you cannot schedule a Pod on your cluster, then use the `oc adm inspect` command to gather information for particular resources. Contact Red Hat Support for the recommended resources to gather.
2929
====
30+
+
31+
[NOTE]
32+
====
33+
If your cluster is using a restricted network you must import the default must-gather image before running the `oc adm must-gather` command.
34+
35+
----
36+
$ oc import-image is/must-gather -n openshift
37+
----
38+
====
3039

3140
. Create a compressed file from the `must-gather` directory that was just created
3241
in your working directory. For example, on a computer that uses a Linux

0 commit comments

Comments
 (0)