Skip to content

Commit 452be95

Browse files
authored
Merge pull request #81522 from johnwilkins/HCIDOCS-413
HCIDOCS-413: IPI install no longer requires disk reformat
2 parents ea84b08 + 9b8bb02 commit 452be95

5 files changed

+29
-32
lines changed

_topic_maps/_topic_map.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -415,12 +415,12 @@ Topics:
415415
File: ipi-install-installation-workflow
416416
- Name: Installing a cluster
417417
File: ipi-install-installing-a-cluster
418+
- Name: Troubleshooting the installation
419+
File: ipi-install-troubleshooting
418420
- Name: Postinstallation configuration
419421
File: ipi-install-post-installation-configuration
420422
- Name: Expanding the cluster
421423
File: ipi-install-expanding-the-cluster
422-
- Name: Troubleshooting
423-
File: ipi-install-troubleshooting
424424
- Name: Installing IBM Cloud Bare Metal (Classic)
425425
Dir: installing_ibm_cloud
426426
Distros: openshift-origin,openshift-enterprise

installing/installing_bare_metal_ipi/ipi-install-installing-a-cluster.adoc

+4-3
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ include::_attributes/common-attributes.adoc[]
66

77
toc::[]
88

9+
// Cleaning up previous installations.
10+
include::modules/ipi-install-troubleshooting-cleaning-up-previous-installations.adoc[leveloffset=+1]
11+
912
// Deploying the cluster via the {product-title} installer
1013
include::modules/ipi-install-deploying-the-cluster-via-the-openshift-installer.adoc[leveloffset=+1]
1114

@@ -15,11 +18,9 @@ include::modules/ipi-install-following-the-progress-of-the-installation.adoc[lev
1518
// Verifying static IP address configuration
1619
include::modules/ipi-install-verifying-static-ip-address-configuration.adoc[leveloffset=+1]
1720

18-
// Preparing to reinstall a cluster on bare metal
19-
include::modules/ipi-preparing-reinstall-cluster-bare-metal.adoc[leveloffset=+1]
2021

2122
[role="_additional-resources"]
2223
[id="additional-resources_creating_manifest_ignition"]
2324
== Additional resources
24-
* xref:../../installing/installing_bare_metal/installing-bare-metal.adoc#installation-user-infra-generate-k8s-manifest-ignition_installing-bare-metal[Creating the Kubernetes manifest and Ignition config files]
25+
2526
* xref:../../updating/understanding_updates/understanding-update-channels-release.adoc#understanding-update-channels-releases[Understanding update channels and releases]

installing/installing_bare_metal_ipi/ipi-install-troubleshooting.adoc

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
:_mod-docs-content-type: ASSEMBLY
22
[id="ipi-install-troubleshooting"]
3-
= Troubleshooting
3+
= Troubleshooting the installation
44
include::_attributes/common-attributes.adoc[]
55
:context: ipi-install-troubleshooting
66

@@ -9,19 +9,19 @@ toc::[]
99

1010
== Troubleshooting the installation program workflow
1111

12-
Prior to troubleshooting the installation environment, it is critical to understand the overall flow of the installer-provisioned installation on bare metal. The diagrams below provide a troubleshooting flow with a step-by-step breakdown for the environment.
12+
Before troubleshooting the installation environment, it is critical to understand the overall flow of the installer-provisioned installation on bare metal. The following diagrams illustrate a troubleshooting flow with a step-by-step breakdown for the environment.
1313

1414
image:flow1.png[Flow-Diagram-1]
1515

16-
_Workflow 1 of 4_ illustrates a troubleshooting workflow when the `install-config.yaml` file has errors or the {op-system-first} images are inaccessible. Troubleshooting suggestions can be found at xref:ipi-install-troubleshooting-install-config_ipi-install-troubleshooting[Troubleshooting `install-config.yaml`].
16+
_Workflow 1 of 4_ illustrates a troubleshooting workflow when the `install-config.yaml` file has errors or the {op-system-first} images are inaccessible. See xref:ipi-install-troubleshooting-install-config_ipi-install-troubleshooting[Troubleshooting `install-config.yaml`] for troubleshooting suggestions.
1717

1818
image:flow2.png[Flow-Diagram-2]
1919

2020
_Workflow 2 of 4_ illustrates a troubleshooting workflow for xref:ipi-install-troubleshooting-bootstrap-vm_ipi-install-troubleshooting[ bootstrap VM issues], xref:ipi-install-troubleshooting-bootstrap-vm-cannot-boot_ipi-install-troubleshooting[ bootstrap VMs that cannot boot up the cluster nodes], and xref:ipi-install-troubleshooting-bootstrap-vm-inspecting-logs_ipi-install-troubleshooting[ inspecting logs]. When installing an {product-title} cluster without the `provisioning` network, this workflow does not apply.
2121

2222
image:flow3.png[Flow-Diagram-3]
2323

24-
_Workflow 3 of 4_ illustrates a troubleshooting workflow for xref:ipi-install-troubleshooting-cluster-nodes-will-not-pxe_ipi-install-troubleshooting[ cluster nodes that will not PXE boot]. If installing using RedFish Virtual Media, each node must meet minimum firmware requirements for the installation program to deploy the node. See *Firmware requirements for installing with virtual media* in the *Prerequisites* section for additional details.
24+
_Workflow 3 of 4_ illustrates a troubleshooting workflow for xref:ipi-install-troubleshooting-cluster-nodes-will-not-pxe_ipi-install-troubleshooting[cluster nodes that will not PXE boot]. If installing using Redfish virtual media, each node must meet minimum firmware requirements for the installation program to deploy the node. See *Firmware requirements for installing with virtual media* in the *Prerequisites* section for additional details.
2525

2626
image:flow4.png[Flow-Diagram-4]
2727

modules/ipi-install-troubleshooting-cleaning-up-previous-installations.adoc

+19-4
Original file line numberDiff line numberDiff line change
@@ -6,20 +6,20 @@
66
[id="ipi-install-troubleshooting-cleaning-up-previous-installations_{context}"]
77
= Cleaning up previous installations
88

9-
In the event of a previous failed deployment, remove the artifacts from the failed attempt before attempting to deploy {product-title} again.
9+
In case of an earlier failed deployment, remove the artifacts from the failed attempt before trying to deploy {product-title} again.
1010

1111
.Procedure
1212

13-
. Power off all bare metal nodes prior to installing the {product-title} cluster:
13+
. Power off all bare-metal nodes before installing the {product-title} cluster by using the following command:
1414
+
1515
[source,terminal]
1616
----
1717
$ ipmitool -I lanplus -U <user> -P <password> -H <management_server_ip> power off
1818
----
1919

20-
. Remove all old bootstrap resources if any are left over from a previous deployment attempt:
20+
. Remove all old bootstrap resources if any remain from an earlier deployment attempt by using the following script:
2121
+
22-
[source,terminal]
22+
[source,bash]
2323
----
2424
for i in $(sudo virsh list | tail -n +3 | grep bootstrap | awk {'print $2'});
2525
do
@@ -31,3 +31,18 @@ do
3131
sudo virsh pool-undefine $i;
3232
done
3333
----
34+
35+
. Delete the artifacts that the earlier installation generated by using the following command:
36+
+
37+
[source,terminal]
38+
----
39+
$ cd ; /bin/rm -rf auth/ bootstrap.ign master.ign worker.ign metadata.json \
40+
.openshift_install.log .openshift_install_state.json
41+
----
42+
43+
. Re-create the {product-title} manifests by using the following command:
44+
+
45+
[source,terminal]
46+
----
47+
$ ./openshift-baremetal-install --dir ~/clusterconfigs create manifests
48+
----

modules/ipi-preparing-reinstall-cluster-bare-metal.adoc

-19
This file was deleted.

0 commit comments

Comments
 (0)