Skip to content

Commit 33974dc

Browse files
authored
Merge pull request #60224 from abhatt-rh/td-1256
Added a note for Ironic
2 parents 7f622aa + c361c58 commit 33974dc

File tree

1 file changed

+21
-6
lines changed

1 file changed

+21
-6
lines changed

modules/ipi-install-configuring-the-install-config-file.adoc

Lines changed: 21 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ platform:
5252
password: <password>
5353
bootMACAddress: <NIC1_mac_address>
5454
rootDeviceHints:
55-
deviceName: "/dev/disk/by-id/<disk_id>" <5>
55+
deviceName: "<installation_disk_drive_path>" <5>
5656
- name: <openshift_master_1>
5757
role: master
5858
bmc:
@@ -61,7 +61,7 @@ platform:
6161
password: <password>
6262
bootMACAddress: <NIC1_mac_address>
6363
rootDeviceHints:
64-
deviceName: "/dev/disk/by-id/<disk_id>" <5>
64+
deviceName: "<installation_disk_drive_path>" <5>
6565
- name: <openshift_master_2>
6666
role: master
6767
bmc:
@@ -70,7 +70,7 @@ platform:
7070
password: <password>
7171
bootMACAddress: <NIC1_mac_address>
7272
rootDeviceHints:
73-
deviceName: "/dev/disk/by-id/<disk_id>" <5>
73+
deviceName: "<installation_disk_drive_path>" <5>
7474
- name: <openshift_worker_0>
7575
role: worker
7676
bmc:
@@ -86,20 +86,35 @@ platform:
8686
password: <password>
8787
bootMACAddress: <NIC1_mac_address>
8888
rootDeviceHints:
89-
deviceName: "/dev/disk/by-id/<disk_id>" <5>
89+
deviceName: "<installation_disk_drive_path>" <5>
9090
pullSecret: '<pull_secret>'
9191
sshKey: '<ssh_pub_key>'
9292
----
9393
+
94+
--
9495
<1> Scale the worker machines based on the number of worker nodes that are part of the {product-title} cluster. Valid options for the `replicas` value are `0` and integers greater than or equal to `2`. Set the number of replicas to `0` to deploy a three-node cluster, which contains only three control plane machines. A three-node cluster is a smaller, more resource-efficient cluster that can be used for testing, development, and production. You cannot install the cluster with only one worker.
9596
<2> When deploying a cluster with static IP addresses, you must set the `bootstrapExternalStaticIP` configuration setting to specify the static IP address of the bootstrap VM when there is no DHCP server on the `baremetal` network.
9697
<3> When deploying a cluster with static IP addresses, you must set the `bootstrapExternalStaticGateway` configuration setting to specify the gateway IP address for the bootstrap VM when there is no DHCP server on the `baremetal` network.
9798
<4> See the BMC addressing sections for more options.
98-
<5> Set the path to the installation disk drive, for example, `/dev/disk/by-id/wwn-0x64cd98f04fde100024684cf3034da5c2`.
99+
<5> To set the path to the installation disk drive, enter the kernel name of the disk. For example, `/dev/sda`.
100+
+
101+
[IMPORTANT]
102+
====
103+
Because the disk discovery order is not guaranteed, the kernel name of the disk can change across booting options for machines with multiple disks. For instance, `/dev/sda` becomes `/dev/sdb` and vice versa.
104+
To avoid this issue, you must use persistent disk attributes, such as the disk World Wide Name (WWN). To use the disk WWN, replace the `deviceName` parameter with the `wwnWithExtension` parameter. Depending on the parameter that you use, enter the disk name, for example, `/dev/sda` or the disk WWN, for example, `"0x64cd98f04fde100024684cf3034da5c2"`. Ensure that you enter the disk WWN value within quotes so that it is used as a string value and not a hexadecimal value.
105+
106+
Failure to meet these requirements for the `rootDeviceHints` parameter might result in the following error:
107+
108+
[source,text]
109+
----
110+
ironic-inspector inspection failed: No disks satisfied root device hints
111+
----
112+
====
113+
--
99114
100115
[NOTE]
101116
====
102-
Before {product-title} 4.12, the cluster installation program only accepted an IPv4 address or and IPv6 address for the `apiVIP` and `ingressVIP` configuration settings. In {product-title} 4.12 and later, these configuration settings are deprecated. Instead, use a list format in the `apiVIPs` and `ingressVIPs` configuration settings to specify IPv4 addresses, IPv6 addresses or both IP address formats.
117+
Before {product-title} 4.12, the cluster installation program only accepted an IPv4 address or and IPv6 address for the `apiVIP` and `ingressVIP` configuration settings. In {product-title} 4.12 and later, these configuration settings are deprecated. Instead, use a list format in the `apiVIPs` and `ingressVIPs` configuration settings to specify IPv4 addresses, IPv6 addresses or both IP address formats.
103118
====
104119

105120
. Create a directory to store the cluster configuration:

0 commit comments

Comments
 (0)