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:

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