mirror of
https://github.com/openshift/installer.git
synced 2026-02-05 06:46:36 +01:00
OCPBUGS-48256: Run iscsiadm for agent-based iSCSI installations
The agent-based installer currently runs iscsistart to ensure it can boot off of an iSCSI target. However, in order to access the final rhcos image written to the the target by coreos-installer, iscsiadm must be run which will start iscsid. See https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/9/html/managing_storage_devices/configuring-an-iscsi-initiator_managing-storage-devices#configuring-an-iscsi-initiator_managing-storage-devices for more info.
This commit is contained in:
@@ -22,6 +22,8 @@ step is required because the agent-tui and nmstate libraries are too big to fit
|
||||
* install-status - determines the current install status and writes it out to /etc/issue.d/
|
||||
* apply-host-config - applies root device hints and roles specified in agent-config.yaml
|
||||
* start-cluster-installation - calls assisted-service REST-API to start cluster installation when all hosts are in ready state and have passed validations
|
||||
* iscsistart - calls the iscsistart utility which allows an iSCSI session to be started for booting off an iSCSI target
|
||||
* iscsiadm - calls the iscsiadm utility that will start iscsid to manage the iSCSI session needed to install the final rhcos image
|
||||
|
||||
## Add-nodes workflow
|
||||
|
||||
@@ -47,4 +49,4 @@ agent-interactive-console service because the disk images generated in the facto
|
||||
so no connectivity checks to the release image is needed.
|
||||
|
||||
* load-config-iso@ - detects the config image has been mounted and copies the cluster configuration files from the config image to the host. It also enables start-cluster-installation which is disabled by default in the unconfigured-ignition. The actual service is created when the config image is mounted as a device and its name will be load-config-iso@<dev-name>.service e.g load-config-iso@-dev-sr1.service
|
||||
* agent-check-config-image - if the config image has not been mounted, it displays a message to the console asking for the config image to be mounted in order to start the cluster installation.
|
||||
* agent-check-config-image - if the config image has not been mounted, it displays a message to the console asking for the config image to be mounted in order to start the cluster installation.
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 56 KiB After Width: | Height: | Size: 59 KiB |
Reference in New Issue
Block a user