You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To assist in troubleshooting a failed {product-title} installation, you can gather logs from the bootstrap and control plane machines. You can also get debug information from the installation program. If you are unable to resolve the issue using the logs and debug information, see xref:../../support/troubleshooting/troubleshooting-installations.adoc#determining-where-installation-issues-occur_troubleshooting-installations[Determining where installation issues occur] for component-specific troubleshooting.
9
+
[role="_abstract"]
10
+
To assist in troubleshooting a failed {product-title} installation, you can gather logs from the bootstrap and control plane machines. You can also get debug information from the installation program.
11
+
12
+
If you are unable to resolve the issue by using the logs and debug information, see "Determining where installation issues occur" in the _Additional resources_ section.
10
13
11
14
[NOTE]
12
15
====
13
-
If your {product-title} installation fails and the debug output or logs contain network timeouts or other connectivity errors, review the guidelines for xref:../../installing/install_config/configuring-firewall.adoc#configuring-firewall[configuring your firewall]. Gathering logs from your firewall and load balancer can help you diagnose network-related errors.
16
+
If your {product-title} installation fails and the debug output or logs contain network timeouts or other connectivity errors, review the guidelines "Configuring your firewall" in the _Additional resources_ section. By gathering logs from your firewall and load balancer, you can diagnose network-related errors.
Copy file name to clipboardExpand all lines: modules/installation-bootstrap-gather.adoc
+6-11Lines changed: 6 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,14 +8,11 @@
8
8
= Gathering logs from a failed installation
9
9
10
10
[role="_abstract"]
11
-
If you gave an SSH key to your installation program, you can gather data about
12
-
your failed installation.
11
+
If you provided an SSH key to your installation program, you can gather data about your failed installation.
13
12
14
13
[NOTE]
15
14
====
16
-
You use a different command to gather logs about an unsuccessful installation
17
-
than to gather logs from a running cluster. If you must gather logs from a
18
-
running cluster, use the `oc adm must-gather` command.
15
+
You use a different command to gather logs about an unsuccessful installation than to gather logs from a running cluster. If you must gather logs from a running cluster, use the `oc adm must-gather` command.
19
16
====
20
17
21
18
.Prerequisites
@@ -26,8 +23,7 @@ running cluster, use the `oc adm must-gather` command.
26
23
27
24
.Procedure
28
25
29
-
. Generate the commands that are required to obtain the installation logs from
30
-
the bootstrap and control plane machines:
26
+
. Generate the commands that are required to obtain the installation logs from the bootstrap and control plane machines:
31
27
+
32
28
** If you used installer-provisioned infrastructure, change to the directory that contains the installation program and run the following command:
* `installation_directory`:: Specify the same directory you specified when you ran `./openshift-install create cluster`. This directory contains the {product-title} definition files that the installation program creates.
58
-
* `<bootstrap_address>`:: Specify the fully qualified domain name or IP address of the cluster's bootstrap machine.
53
+
* `installation_directory`:: Specifies the same directory you specified when you ran `./openshift-install create cluster`. This directory contains the {product-title} definition files that the installation program creates.
54
+
* `<bootstrap_address>`:: Specifies the fully qualified domain name or IP address of the cluster's bootstrap machine.
59
55
* `<master_*_address>`:: For each control plane, or master, machine in your cluster, replace this placeholder with its fully qualified domain name or IP address.
60
56
+
61
57
[NOTE]
@@ -71,5 +67,4 @@ INFO Pulling debug logs from the bootstrap machine
71
67
INFO Bootstrap gather logs captured here "<installation_directory>/log-bundle-<timestamp>.tar.gz"
72
68
----
73
69
+
74
-
If you open a Red Hat support case about your installation failure, include
75
-
the compressed logs in the case.
70
+
If you open a Red Hat support case about your installation failure, include the compressed logs when opening a Red Hat support case.
= Getting debug information from the installation program
8
+
9
+
[role="_abstract"]
10
+
You can choose between two methods to get debug information from the installation program.
11
+
12
+
.Procedure
13
+
14
+
* Look at debug messages from a past installation in the hidden `.openshift_install.log` file. To do this task, enter a command similar to the following example:
= Manually gathering logs with SSH access to your host(s)
7
+
= Manually gathering logs with SSH access to your hosts
8
8
9
-
Manually gather logs in situations where `must-gather` or automated collection
10
-
methods do not work.
9
+
[role="_abstract"]
10
+
Manually gather logs in situations where `must-gather` or automated collection methods do not work.
11
11
12
12
[IMPORTANT]
13
13
====
@@ -16,44 +16,39 @@ By default, SSH access to the {product-title} nodes is disabled on the {rh-opens
16
16
17
17
.Prerequisites
18
18
19
-
* You must have SSH access to your host(s).
19
+
* You must have SSH access to your hosts.
20
20
21
21
.Procedure
22
22
23
-
. Collect the `bootkube.service` service logs from the bootstrap host using the
24
-
`journalctl` command by running:
23
+
. Collect the `bootkube.service` service logs from the bootstrap host by entering the `journalctl` command:
25
24
+
26
25
[source,terminal]
27
26
----
28
27
$ journalctl -b -f -u bootkube.service
29
28
----
30
29
31
-
. Collect the bootstrap host's container logs using the podman logs. This is shown
32
-
as a loop to get all of the container logs from the host:
30
+
. Collect the container logs of the bootstrap host by using the podman logs. Podman logs are shown as a loop to get all of the container logs from the host.
33
31
+
34
32
[source,terminal]
35
33
----
36
34
$ for pod in $(sudo podman ps -a -q); do sudo podman logs $pod; done
37
35
----
38
36
39
-
. Alternatively, collect the host's container logs using the `tail` command by
40
-
running:
37
+
. Alternatively, collect the container logs of the host by entering the `tail` command:
Copy file name to clipboardExpand all lines: modules/restarting-installation.adoc
+7-5Lines changed: 7 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,21 +6,23 @@
6
6
[id="restarting-installation_{context}"]
7
7
= Reinstalling the {product-title} cluster
8
8
9
+
[role="_abstract"]
9
10
If you are unable to debug and resolve issues in the failed {product-title} installation, consider installing a new {product-title} cluster. Before starting the installation process again, you must complete thorough cleanup.
10
-
For a user-provisioned infrastructure (UPI) installation, you must manually destroy the cluster and delete all associated resources. The following procedure is for an installer-provisioned infrastructure (IPI) installation.
11
+
12
+
For a user-provisioned infrastructure installation, you must manually destroy the cluster and delete all associated resources. The following procedure is for an installer-provisioned infrastructure installation.
11
13
12
14
.Procedure
13
15
14
16
. Destroy the cluster and remove all the resources associated with the cluster, including the hidden installer state files in the installation directory:
<1> `installation_directory` is the directory you specified when you ran `./openshift-install create cluster`. This directory contains the {product-title}
21
-
definition files that the installation program creates.
22
+
+
23
+
Where `<installation_directory>` is the directory you specified when you ran `./openshift-install create cluster`. This directory contains the {product-title}definition files that the installation program creates.
22
24
23
-
. Before reinstalling the cluster, delete the installation directory:
25
+
. Before reinstalling the cluster, delete the installation directory by running a command similar to the following command:
0 commit comments