Bug 1201598

Summary: Capsule Installer: Missing dependencies in capsule repos.
Product: Red Hat Satellite Reporter: Corey Welton <cwelton>
Component: Foreman ProxyAssignee: Jason Montleon <jmontleo>
Status: CLOSED ERRATA QA Contact: Corey Welton <cwelton>
Severity: high Docs Contact:
Priority: unspecified    
Version: UnspecifiedCC: bbuckingham, mmccune, sthirugn
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-08-12 05:30:01 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 Corey Welton 2015-03-13 03:08:07 UTC
Description of problem:
Capsule install fails (again) when using only required repos.



Version-Release number of selected component (if applicable):

Satellite-6.1.0-RHEL-7-20150311.1

How reproducible:


Steps to Reproduce:
1.  Register client and subscribe it to (x)Server, Sat-common and Sat-capsule repos
2.  Attempt to install capsule using only these repos.
3.  View results.

Actual results:

[root@cloud-qe-3 ~]# yum repolist
Loaded plugins: package_upload, product-id, subscription-manager
repo id                                                                                          repo name                                                                             status
!Default_Organization_Sat6_-_Capsule_Capsule_-_RHEL7                                             Capsule - RHEL7                                                                         116
!Default_Organization_Sat6_-_Common_Common_-_RHEL7                                               Common - RHEL7                                                                           53
rhel-7-server-rpms/7Server/x86_64                                                                Red Hat Enterprise Linux 7 Server (RPMs)                                              6,674

[root@cloud-qe-3 ~]#   capsule-installer --parent-fqdn "rhsm-qe-2.rhq.lab.eng.bos.redhat.com" --register-in-foreman  "true"                  --foreman-oauth-key    "qpcfyaEKGVXi4xizKZz68k8jTfh4ijbE"         --foreman-oauth-secret "Hebf8gVqzH73DqokbzJnMWAVc6Qa5EGy" --pulp-oauth-secret    "o2QYsWFB2PHY9nAV96mUtMKruXn626Zq" --certs-tar            "cloud-qe-3.idmqe.lab.eng.bos.redhat.com-certs.tar" --puppet               "true" --puppetca             "true"  --pulp                 "true" --qpid-router "true" --reverse-proxy=true
 Execution of '/usr/bin/yum -d 0 -e 0 -y list katello-debug' returned 1: Error: No matching Packages to list
 /Stage[main]/Capsule::Install/Package[katello-debug]/ensure: change from absent to present failed: Execution of '/usr/bin/yum -d 0 -e 0 -y list katello-debug' returned 1: Error: No matching Packages to list
 Execution of '/usr/bin/yum -d 0 -e 0 -y list pulp-docker-plugins' returned 1: Error: No matching Packages to list
 /Stage[main]/Pulp::Install/Package[pulp-docker-plugins]/ensure: change from absent to present failed: Execution of '/usr/bin/yum -d 0 -e 0 -y list pulp-docker-plugins' returned 1: Error: No matching Packages to list
Installing             Done                                               [100%] [.........................................................................................................]
  Something went wrong! Check the log for ERROR-level output
  The full log is at /var/log/capsule-installer/capsule-installer.log


Expected results:

Capsule can be installed with only requisite repos enabled.


Additional info:
I have confirmed that the capsule/common repos for the appropriate compose have been selected and synced to my capsule.

Comment 3 Mike McCune 2015-03-17 21:28:12 UTC
Test this today with a fresh capsule and *only* the capsule repository.

Installs fine

Comment 5 Corey Welton 2015-03-25 02:17:03 UTC
Verified in Satellite-6.1.0-RHEL-7-20150320.1

Comment 6 Bryan Kearney 2015-08-11 13:32:28 UTC
This bug is slated to be released with Satellite 6.1.

Comment 7 errata-xmlrpc 2015-08-12 05:30:01 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2015:1592