Project

General

Profile

Actions

Bug #20975

open

Discovery image issues with UEFI - BOOTIF

Added by Kamarasu Alagarsamy almost 7 years ago. Updated almost 7 years ago.

Status:
Need more information
Priority:
Normal
Assignee:
-
Category:
Image
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

Hi

All our physical boxes are UEFI enabled, I'm trying to setup bare metal discovery but running into issues because of the BOOTIF=01-$net_default_mac

Been troubleshooting this issues several days, could able to found mac address that the discovery image associates is having semicolon at the end which is wrong, thus dhcp server fails to lease an ip address.

BOOTIF=01-14-02-ec-94-78-10:

correct value should be as below.

BOOTIF=01-14-02-ec-94-78-10

Have attached attached grub.cfg config file and the screenshots.

I think the discovery image should also insmod regexp and do the regexp filter inroder to set the correct mac address.


Files

grub.cfg grub.cfg 2.04 KB Kamarasu Alagarsamy, 09/18/2017 05:26 AM
Screen Shot 2017-09-18 at 10.33.13.png View Screen Shot 2017-09-18 at 10.33.13.png 57.4 KB Kamarasu Alagarsamy, 09/18/2017 05:52 AM
Screen Shot 2017-09-18 at 10.32.23.png View Screen Shot 2017-09-18 at 10.32.23.png 57.3 KB Kamarasu Alagarsamy, 09/18/2017 05:52 AM
Actions #1

Updated by Lukas Zapletal almost 7 years ago

  • Status changed from New to Need more information

Hello,

using RHEL 7.4 or more recent foreman-bootloaders package? There is a bug in RHEL 7.4 (regression) in Grub2, it appends extra colon to MAC. I created BZ and it is currently being worked on by RHEL engineers.

https://bugzilla.redhat.com/show_bug.cgi?id=1487107

The workaround is to downgrade to some older version of grub2 which does not have it. Make sure you regenerate grub2 on TFTP server. You can use our tarball, grab oldest version there:

https://github.com/theforeman/foreman-bootloaders
http://downloads.theforeman.org/foreman-bootloaders/

I think it has grub2 from RHEL 7.3 which is not affected by this bug.

Actions

Also available in: Atom PDF