Project

General

Profile

Actions

Feature #17297

closed

GRUB 2 PXE loader entries for Debian OS family

Added by Sebastian Dreßler over 7 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Category:
Unattended installations
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

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 1 (0 open1 closed)

Related to Foreman - Feature #12634: New HW Model flag pxe_loader in UI/APIClosedLukas Zapletal11/30/2015Actions
Actions #1

Updated by Dominic Cleal over 7 years 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.

Actions #2

Updated by Sebastian Dreßler over 7 years 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.

Actions #3

Updated by Dominic Cleal over 7 years 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.

Actions #4

Updated by Dominic Cleal over 7 years ago

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

Updated by Sebastian Dreßler over 7 years ago

Thank you.

Actions #6

Updated by Lukas Zapletal over 7 years 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.

Actions #7

Updated by Dominic Cleal over 7 years 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.

Actions #8

Updated by The Foreman Bot over 7 years ago

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

Updated by Lukas Zapletal over 7 years ago

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

Actions #10

Updated by Lukas Zapletal over 7 years ago

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

Updated by Dominic Cleal over 7 years ago

  • translation missing: en.field_release set to 203
Actions #12

Updated by Daniel Lobato Garcia over 7 years ago

  • Target version set to 1.4.3
Actions

Also available in: Atom PDF