Feature #17297

GRUB 2 PXE loader entries for Debian OS family

Added by Sebastian Dreßler over 1 year ago. Updated 8 days ago.

Status:Closed
Priority:Normal
Assignee:Lukas Zapletal
Category:Unattended installations
Target version:1.13.2
Difficulty: Team Backlog:
Triaged: Fixed in Releases:
Bugzilla link: Found in Releases:1.13.1
Pull request:https://github.com/theforeman/foreman/pull/4015

Description

I installed foreman 1.13.1 and completed the setup. Since we have machines to be booted with UEFI, I was looking forward to use the announced UEFI features. However, when adding a new host, there is no selectable entry for "PXEGrub2 UEFI" as advertised in the manual. In fact, there is also no provisioning template with a hint for UEFI (and I don't know whether there should be one).

However, since I only use the TFTP smart proxy, I configured our DHCP server to provide grub2/grubx64.efi and the server also seems to load it. Anyways, this does not succeed since it results in showing a completely black screen and eventually the machine reboots. Therefore, I think I am missing some features or I did configure the build wrongly.


Related issues

Related to Foreman - Feature #12634: New HW Model flag pxe_loader in UI/API Closed 11/30/2015

Associated revisions

Revision b3659e87
Added by Lukas Zapletal over 1 year ago

Fixes #17297 - added PXE loader flags for Debian family

Revision 1b356cb2
Added by Lukas Zapletal over 1 year ago

Fixes #17297 - added PXE loader flags for Debian family

(cherry picked from commit b3659e87a1727b4fab616e6060ff55969b76ab56)

History

#1 Updated by Dominic Cleal over 1 year ago

  • Priority changed from Urgent to Normal

Which architecture and OS are you booting? It looks as though the boot loader selection is restricted by OS.

For support queries, please prefer the mailing list and IRC channel: https://theforeman.org/support.html. The issue tracker has very limited visibility.

#2 Updated by Sebastian Dreßler over 1 year ago

Dominic Cleal wrote:

Which architecture and OS are you booting?

x86_64 and Ubuntu (which is Debian internally as it seems).

For support queries, please prefer the mailing list and IRC channel: https://theforeman.org/support.html. The issue tracker has very limited visibility.

Thanks for the hint.

#3 Updated by Dominic Cleal over 1 year ago

  • Tracker changed from Support to Feature
  • Subject changed from Cannot see PXE load entries for UEFI to GRUB 2 PXE loader entries for Debian OS family

OK, then it's missing for Debian. I don't see any reason it should be, particularly because the necessary boot files are configured by the installer.

I've changed this ticket from support to track this change instead.

#4 Updated by Dominic Cleal over 1 year ago

  • Related to Feature #12634: New HW Model flag pxe_loader in UI/API added

#5 Updated by Sebastian Dreßler over 1 year ago

Thank you.

#6 Updated by Lukas Zapletal over 1 year ago

Hi, you don't see these loaders because you don't have PXEGrub or PXEGrub2 templates associated with your OS. You need to create and associate them.

We currently do not ship any Debian/Ubuntu templates, they needs to be created (similarly to Red Hat which is here for example https://github.com/theforeman/community-templates/blob/develop/kickstart/PXEGrub2.erb). It's an easy task, but I did not have time to test these yet.

I don't think this is a bug in core, but rather RFE in Templates category.

#7 Updated by Dominic Cleal over 1 year ago

Lukas Zapletal wrote:

Hi, you don't see these loaders because you don't have PXEGrub or PXEGrub2 templates associated with your OS. You need to create and associate them.

Isn't the list of PXE loaders populated from os.available_loaders?

The implementation on Operatingsystem itself is just ["None", "PXELinux BIOS"] but the Redhat subclass adds GRUB 2 etc. Some of the other OS families have it overridden to "None" only. The Debian family has no override, so it only has the None/PXELinux BIOS defaults.

#8 Updated by The Foreman Bot over 1 year ago

  • Status changed from New to Ready For Testing
  • Assignee set to Lukas Zapletal
  • Pull request https://github.com/theforeman/foreman/pull/4015 added

#9 Updated by Lukas Zapletal over 1 year ago

You're right. I have sent a patch. During the long review, I had changed it to be more explicit. Sorry for confusion.

#10 Updated by Lukas Zapletal over 1 year ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100

#11 Updated by Dominic Cleal over 1 year ago

  • Legacy Backlogs Release (now unused) set to 203

#12 Updated by Daniel Lobato Garcia over 1 year ago

  • Target version set to 1.4.3

Also available in: Atom PDF