|
6 | 6 | [id="validations-before-agent-iso-creation_{context}"] |
7 | 7 | = Validation checks before agent ISO creation |
8 | 8 |
|
9 | | -The Agent-based Installer performs validation checks on user defined YAML files before the ISO is created. Once the validations are successful, the agent ISO |
10 | | -is created. |
| 9 | +The Agent-based Installer validates user-defined YAML files before creating the ISO. The installer creates the agent ISO only after these validations succeed. |
11 | 10 |
|
12 | | -.`install-config.yaml` |
| 11 | +The Agent-based Installer performs the following validation checks for Two-Node with Fencing (TNF) cluster: |
13 | 12 |
|
14 | | -* `baremetal`, `vsphere` and `none` platforms are supported. |
15 | | -* The `networkType` parameter must be `OVNKubernetes` in the case of `none` platform. |
16 | | -* `apiVIPs` and `ingressVIPs` parameters must be set for bare metal and vSphere platforms. |
17 | | -* Some host-specific fields in the bare metal platform configuration that have equivalents in `agent-config.yaml` file are ignored. A warning message is logged if these fields are set. |
| 13 | +* When `controlPlane.replicas` parameter is set to 2, you must provide exactly 2 fencing credentials. |
| 14 | +* Each fencing credential must include `hostName`, `address`, `username`, and `password`. |
| 15 | +* The `address` field must contain a Redfish URL, that is, the string must contain "redfish". IPMI addresses are explicitly rejected. |
| 16 | +* All `hostName` values must be unique. |
| 17 | +* If you specify `certificateVerification`, the value must be either `Enabled` or `Disabled`. |
| 18 | +* Fencing credentials are valid only with `baremetal`, `external`, or `none` platforms. Other platforms result in a validation error. |
18 | 19 |
|
| 20 | +.`install-config.yaml` validations |
19 | 21 |
|
20 | | -.`agent-config.yaml` |
| 22 | +* The `baremetal`, `vsphere`, and `none` platforms are supported. |
| 23 | +* The `networkType` parameter must be `OVNKubernetes` for the `none` platform. |
| 24 | +* You must set the `apiVIPs` and `ingressVIPs` parameters for bare-metal and vSphere platforms. |
| 25 | +* Some host-specific fields in the bare-metal platform configuration that have equivalents in `agent-config.yaml` file are ignored. |
| 26 | +* The installation program logs a warning message if you set these fields. |
21 | 27 |
|
22 | | -* Each interface must have a defined MAC address. Additionally, all interfaces must have a different MAC address. |
23 | | -* At least one interface must be defined for each host. |
| 28 | +.`agent-config.yaml` validations |
| 29 | + |
| 30 | +* Each interface must have a unique MAC address. |
| 31 | +* You must define at least one interface for each host. |
24 | 32 | * World Wide Name (WWN) vendor extensions are not supported in root device hints. |
25 | | -* The `role` parameter in the `host` object must have a value of either `master` or `worker`. |
| 33 | +* The `role` parameter in the `host` object must be either `master` or `worker`. |
26 | 34 |
|
27 | 35 | [id="agent-validations-ztp_{context}"] |
28 | 36 | == ZTP manifests |
29 | 37 |
|
30 | | -.`agent-cluster-install.yaml` |
| 38 | +.`agent-cluster-install.yaml` validations |
31 | 39 |
|
32 | | -* For IPv6, the only supported value for the `networkType` parameter is `OVNKubernetes`. The `OpenshiftSDN` value can be used only for IPv4. |
| 40 | +* For IPv6, the only supported value for the `networkType` parameter is `OVNKubernetes`. Use the `OpenshiftSDN` value only for IPv4. |
33 | 41 |
|
34 | | -.`cluster-image-set.yaml` |
| 42 | +.`cluster-image-set.yaml` validations |
35 | 43 |
|
36 | 44 | * The `ReleaseImage` parameter must match the release defined in the installer. |
0 commit comments