Skip to content

[release-4.21] Fix IPA boot during out-of-band service steps#397

Open
jacob-anders wants to merge 1 commit intoopenshift:release-4.21from
jacob-anders:983010-4.21-backport
Open

[release-4.21] Fix IPA boot during out-of-band service steps#397
jacob-anders wants to merge 1 commit intoopenshift:release-4.21from
jacob-anders:983010-4.21-backport

Conversation

@jacob-anders
Copy link
Copy Markdown

When all service steps declare requires_ramdisk=False (e.g. bios.apply_configuration on Redfish), the servicing conductor correctly skips the initial IPA boot. However, the service_disable_ramdisk flag stored in driver_internal_info was being set from the disable_ramdisk parameter (False by default) before the per-step requires_ramdisk check ran. As a result, any step that internally calls reboot_to_finish_step() — as the Redfish BIOS interface does to apply settings that require a system reset — would read service_disable_ramdisk=False via is_ramdisk_disabled(), conclude that IPA should be booted, and issue a one-time boot to the virtual CDROM before rebooting the node.

This caused an unnecessary and disruptive IPA boot cycle during every BIOS apply_configuration service operation even though the step is fully out-of-band and IPA plays no role in it.

Assisted-By: Claude Sonnet 4.6
Change-Id: I416a046a018f429a91f2958238d34a72854ae8f4

(cherry picked from commit 9f2c21b)

When all service steps declare requires_ramdisk=False (e.g.
bios.apply_configuration on Redfish), the servicing conductor
correctly skips the initial IPA boot. However, the
service_disable_ramdisk flag stored in driver_internal_info was
being set from the disable_ramdisk *parameter* (False by default)
before the per-step requires_ramdisk check ran. As a result, any
step that internally calls reboot_to_finish_step() — as the Redfish
BIOS interface does to apply settings that require a system reset —
would read service_disable_ramdisk=False via is_ramdisk_disabled(),
conclude that IPA should be booted, and issue a one-time boot to the
virtual CDROM before rebooting the node.

This caused an unnecessary and disruptive IPA boot cycle during every
BIOS apply_configuration service operation even though the step is
fully out-of-band and IPA plays no role in it.

Assisted-By: Claude Sonnet 4.6
Change-Id: I416a046a018f429a91f2958238d34a72854ae8f4
Signed-off-by: Konstantinos Karampogias <karampok@gmail.com>
(cherry picked from commit 9f2c21b)
@openshift-ci
Copy link
Copy Markdown

openshift-ci bot commented Apr 20, 2026

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: jacob-anders
Once this PR has been reviewed and has the lgtm label, please assign dtantsur for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci
Copy link
Copy Markdown

openshift-ci bot commented Apr 20, 2026

@jacob-anders: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
ci/prow/unit e069752 link true /test unit

Full PR test history. Your PR dashboard.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants