Description of problem: Version-Release number of selected component (if applicable): 24.5 How reproducible: with some effort, if you have suitable hardware Steps to Reproduce: 1. Have an x86 system with EFI firmware (booting in EFI mode specifically) 2. Configure it in DHCP to use GRUB2 *or* configure to use "switchable boot loader" and set netbootloader=boot/grub2/x86_64-efi/core.efi (see: https://beaker-project.org/docs/admin-guide/tftp.html#boot-loader-images ) 3. Run inventory scan on the system, so that its NETBOOT_METHOD key is set to "grub2" 4. Try to run a recipe on it which uses custom partitioning (any <partition/> element or ks_meta="fstype=xfs" etc) Actual results: Installation fails. Anaconda says: 04:53:05,312 ERR anaconda: BootLoader setup failed: failed to find a suitable stage1 device which really means that the custom partitioning commands in the kickstart failed to configure an EFI System Partition: ... part biosboot --size 1 --fstype biosboot part /boot --recommended --asprimary part / --size 1024 --grow part swap --recommended part /lol --size=5120 ... Expected results: EFI System Partition should be configured, installation should work. Additional info: system.has_efi property is looking for NETBOOT_METHOD=efigrub but not NETBOOT_METHOD=grub2. Need to add grub2 also.
https://gerrit.beaker-project.org/5919
Verified by submitting the following job XML on beaker-devel (forcing use of hp-dl120gen9-06.rhts.eng.bos.redhat.com as the system as it has grub2 netboot method): ``` <job retention_tag="scratch"> <whiteboard>test for https://bugzilla.redhat.com/show_bug.cgi?id=1510710</whiteboard> <recipeSet priority="High"> <recipe whiteboard="STANDALONE" role="None" ks_meta="" kernel_options="" kernel_options_post=""> <autopick random="false"/> <watchdog panic="None"/> <packages/> <ks_appends/> <repos/> <distroRequires> <distro_name op="=" value="RHEL-6.2"/> <distro_variant op="=" value="Server"/> <distro_arch op="=" value="x86_64"/> </distroRequires> <hostRequires force="hp-dl120gen9-06.rhts.eng.bos.redhat.com"/> <partitions> <partition fs="ext4" name="mnt" size="10"/> </partitions> <task name="/distribution/install" role="STANDALONE"/> </recipe> </recipeSet> </job> ``` Installation proceeded with Boot Mode: UEFI, and rendered kickstart contained the following line: `part /boot/efi --fstype vfat --size 250 --recommended`
This bug was fixed on the release-24 branch, to appear in Beaker 24.6, but we are not planning any more maintenance releases for the 24.x series. The next release will be Beaker 25.0. Updating the milestone accordingly.
Beaker 25.0 has been released. Release notes are available upstream: https://beaker-project.org/docs/whats-new/release-25.html