1
0
mirror of https://github.com/openshift/openshift-docs.git synced 2026-02-05 21:46:22 +01:00

BZ1771435 gather data for restricted install

This commit is contained in:
Kevin Lamenzo
2020-03-30 16:54:42 -04:00
parent 813b52a241
commit 91d3964bf9
3 changed files with 27 additions and 0 deletions

View File

@@ -49,6 +49,8 @@ In production environments, add the required images to a registry in your restri
include::modules/installation-mirror-repository.adoc[leveloffset=+1]
include::modules/installation-preparing-restricted-cluster-to-gather-support-data.adoc[leveloffset=+1]
include::modules/installation-restricted-network-samples.adoc[leveloffset=+1]
.Next steps

View File

@@ -0,0 +1,16 @@
// Module included in the following assemblies:
//
// * installing/install_config/installing-restricted-networks-preparations.adoc
[id="installation-preparing-restricted-cluster-to-gather-support-data_{context}"]
= Preparing your cluster to gather support data
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.
.Procedure
. Import the default must-gather image from your installation payload:
+
----
$ oc import-image is/must-gather -n openshift
----

View File

@@ -28,6 +28,15 @@ $ oc adm must-gather
====
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.
====
+
[NOTE]
====
If your cluster is using a restricted network you must import the default must-gather image before running the `oc adm must-gather` command.
----
$ oc import-image is/must-gather -n openshift
----
====
. Create a compressed file from the `must-gather` directory that was just created
in your working directory. For example, on a computer that uses a Linux