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 1377204

Summary: Satellite-installer failed while configuring default capsule with error: Execution of '/usr/bin/yum -d 0 -e 0 -y list grub2-efi-modules' returned 1: Error: No matching Packages to list
Product: Red Hat Satellite Reporter: Sachin Ghai <sghai>
Component: PackagingAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED WORKSFORME QA Contact: Katello QA List <katello-qa-list>
Severity: high Docs Contact:
Priority: high    
Version: 6.3.0CC: bbuckingham
Target Milestone: UnspecifiedKeywords: Triaged
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: 2016-09-27 05:19:17 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:

Description Sachin Ghai 2016-09-19 07:58:16 UTC
Description of problem:
Looks like "grub2-efi-modules" is required while installing default capsule using satellite-installer. However, this package is not available with current repolist available with sat6.3 snap1.

I checked on an existing upstream box, there this package is available with:
from "rhel-7-server-optional-rpms". 

So does that mean customers have to enable rhel-optional repo to get this package ?


Version-Release number of selected component (if applicable):
sat6.3 compose1
satellite-6.3.0-1.0.git.7.fb12bf2.el7sat.noarch

How reproducible:


Steps to Reproduce:
1. satellite-installer --scenario satellite --capsule-parent-fqdn $(hostname) --foreman-proxy-dns true $FORWARDERS --foreman-proxy-dns-interface $VIRBR --foreman-proxy-dns-zone $(hostname -d) --foreman-proxy-dhcp true --foreman-proxy-dhcp-interface $VIRBR --foreman-proxy-dhcp-range '192.168.100.10 192.168.100.60' --foreman-proxy-tftp true --foreman-proxy-tftp-servername $(hostname) --capsule-puppet true --foreman-proxy-puppetca true --foreman-proxy-register-in-foreman true -v

2.
3.

Actual results:
Installer failed with firs error appearing in logs:

[ERROR 2016-09-19 03:45:34 verbose]  Execution of '/usr/bin/yum -d 0 -e 0 -y list grub2-efi-modules' returned 1: Error: No matching Packages to list

Expected results:
installer should succeed.

Additional info:

Comment 2 Sachin Ghai 2016-09-19 08:28:12 UTC
looks like packages is required by tftp feature.

Comment 3 Sachin Ghai 2016-09-27 05:19:17 UTC
Verified with Sat6.3 snap2, this issue is no longer reproducible. Package 'grub2-efi-modules' is available via dogfood server and from optional rhel rpms repo.

 ~]# /usr/bin/yum -d 0 -e 0 -y list grub2-efi-modules
Installed Packages
grub2-efi-modules.x86_64                                        1:2.02-0.34.el7_2                                         @rhel-7-server-optional-rpms