Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1635431

Summary: after provisioning discovered RHEL6 UEFI VM, it hangs on grub menu as no item to boot from local HDD
Product: Red Hat Satellite Reporter: Jan Hutař <jhutar>
Component: ProvisioningAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED NOTABUG QA Contact: Katello QA List <katello-qa-list>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.4CC: inecas, lzap, sshtein
Target Milestone: Unspecified   
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-10-03 13:32:15 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Grub menu screenshot
none
What edit on last menu item shows none

Description Jan Hutař 2018-10-02 21:42:28 UTC
Created attachment 1489663 [details]
Grub menu screenshot

First of all, mine setup might be wrong. I'm not sure. Please see steps below.


Description of problem:
After provisioning discovered RHEL6 UEFI VM, it hangs on grub menu as no item to boot from local HDD


Version-Release number of selected component (if applicable):
satellite-6.4.0-15.el7sat.noarch
rubygem-smart_proxy_discovery-1.0.4-1.el7sat.noarch
foreman-discovery-image-3.5.3-1.el7sat.noarch


How reproducible:
always


Steps to Reproduce:
1. Get EFI loader form RHEL6 machine (is this OK?):
   # scp root@...:/boot/efi/EFI/redhat/grub.efi /var/lib/tftpboot/grub/grubx64.efi
2. Create UEFI VM booting from network by default and PXE boot discovery image on it
3. Provision RHEL 6.10 on it. Installation process reboots machine at the end
4. Grub menu pops-up, but all (well, I tried only these which made sense to me) items causes "Error 15: File not found"


Actual results:
Default item (or any other) "Error 15: File not found", last item says "invalid EFI file path"

Workaround was to switch mine VM to boot from local HDD first.


Expected results:
Default should cause boot from local HDD

Comment 1 Jan Hutař 2018-10-02 21:44:01 UTC
Created attachment 1489664 [details]
What edit on last menu item shows

Comment 4 Lukas Zapletal 2018-10-03 13:32:15 UTC
RHEL6 UEFI is unsupported:

https://access.redhat.com/solutions/2674001

I am closing. However this is known to work. What is your local boot template (rendered)? It should find the grub.efi file on your drive.

Is your partitioning normal? This will not work if you have boot on different volume than /dev/sda1.