ironcore-dev / metal-operator

Kubernetes operator for automating bare metal server discovery and provisioning
Apache License 2.0
8 stars 4 forks source link

Dell IDRAC9: BIOS reconfiguration job triggered on each one time boot override #81

Closed defo89 closed 3 weeks ago

defo89 commented 1 month ago

Describe the bug Each time "BootSourceOverrideMode": "UEFI" is set - despite it's already configured - config job is queued and applied, making the server to reboot twice (1st boot to reconfigure BIOS).

To Reproduce Steps to reproduce the behavior e.g. provide example action definition.

Expected behavior Probably 2 options to fix:

  1. Investigate with Dell why reconfig config job is done despite it's already being configured (no config diff)
  2. Operator reads out current setting and does not apply "BootSourceOverrideMode": "UEFI", but rather just sets BootSourceOverrideTarget and BootSourceOverrideEnabled.

Screenshots Configuration - BIOS settings

image

On 1st reboot:

image

image

Additional context Encountered this on 2 available lab servers:

Model: PowerEdge R660
BIOS Version: 1.6.6
iDRAC Firmware Version: 7.10.30.05
stefanhipfel commented 1 month ago

added it to our internal GCS Compute DELL board

defo89 commented 3 weeks ago

@afritzler @hardikdr the Dell boots into lifecycle controller and causes extra delay/instability if we always set redfish.UEFIBootSourceOverrideMode

Proposal for now would be to read out the setting and only set it if's not equal to UEFI. Later on, I rather see this kind of parameter part of BIOS setting.