quads icon indicating copy to clipboard operation
quads copied to clipboard

[RFE] Track/Manage BIOS & EFI settings at host metadata level

Open sadsfae opened this issue 1 month ago • 3 comments

This RFE covers adding a bootmode setting which takes the following parameters: BIOS EFI or None.

This setting should reside on each hosts individual metadata and can be modified via quads --mod-host --host host01.example.com --bootmode EFI|BIOS|None

It should also be supported with quads --define-host as an optional parameter.

Because Badfish has the ability to toggle between BIOS and EFI we can leverage automation in move_and_rebuild.py that if set and it doesn't match the bootmode it will change it back for us.

This should solve occasional issues where tenants go in and change this and do not set it back, yielding more timely cloud validation and delivery. There are also some system types which only support one of the two boot modes and otherwise will not work so this ensures proper baseline settings.

An ideal time to employ this is after Badfish is accepted as a Fedora RPM and QUADS is refactored to consume it via the Badfish Python library.

sadsfae avatar Nov 17 '25 14:11 sadsfae

WIP patchset: https://review.gerrithub.io/c/redhat-performance/quads/+/1227200

sadsfae avatar Dec 02 '25 05:12 sadsfae

For the UI portion of this that should be generated via quads-web under /host/servername let's use its own category called Boot Mode like below which populates the value of bootmode per host

Image

sadsfae avatar Dec 02 '25 11:12 sadsfae

Database migration will be needed for this, perhaps we just seed a None value for this then we can use --mod-host to set this as we want it later.

https://github.com/redhat-performance/quads/blob/latest/docs/quads-schema-change.md

https://github.com/redhat-performance/quads/tree/latest/migrations

sadsfae avatar Dec 15 '25 10:12 sadsfae