bm_sno: Add cifmw_bm_agent_reuse_vmedia skip mode#3999
Conversation
When the iDRAC cannot fetch the agent ISO over HTTP (network routing, firewall), the only viable path is to upload the ISO through the iDRAC web UI as a local file. The role previously had no way to skip ISO generation and VirtualMedia insertion on a second run Introduce cifmw_bm_agent_reuse_vmedia (default: false). When true, the role skips: stale-state cleanup, ISO generation, live- debug ISO patching, podman HTTP server start/stop, VirtualMedia eject before insert, ISO insertion, and VirtualMedia eject after install. All remaining steps run unchanged: USB boot check, power- off, SSH key and config generation, openshift-install acquisition, LVMS MachineConfig generation, UEFI boot-override discovery, power-on, and install wait. The intended two-run workflow (which rather works the best for wrappers using the bm_sno role instead of CI jobs): - Run 1 (reuse_vmedia=false) generates the ISO and auth artifacts; - the operator uploads the ISO via the iDRAC UI and confirms it is Connected; - run 2 (reuse_vmedia=true) powers the host off, sets the one-time UEFI boot override, powers it back on, and waits for install-complete Assisted-By: claude-4.6-sonnet-medium Signed-off-by: Bohdan Dobrelia <bdobreli@redhat.com>
|
Skipping CI for Draft Pull Request. |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
Build failed (check pipeline). Post ❌ openstack-k8s-operators-content-provider NODE_FAILURE Node(set) request 100-0000119764 failed in 0s |
When the iDRAC cannot fetch the agent ISO over HTTP (network routing, firewall), the only viable path is to upload the ISO through the iDRAC web UI as a local file.
The role previously had no way to skip ISO generation and VirtualMedia insertion on a second run
Introduce cifmw_bm_agent_reuse_vmedia (default: false). When true, the role skips: stale-state cleanup, ISO generation, live- debug ISO patching, podman HTTP server start/stop, VirtualMedia eject before insert, ISO insertion, and VirtualMedia eject after install. All remaining steps run unchanged: USB boot check, power- off, SSH key and config generation, openshift-install acquisition, LVMS MachineConfig generation, UEFI boot-override discovery, power-on, and install wait.
The intended two-run workflow (which rather works the best for wrappers using the bm_sno role instead of CI jobs):
Assisted-By: claude-4.6-sonnet-medium