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 819941 - missing dependencies in katello-common
Summary: missing dependencies in katello-common
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Installation
Version: 6.0.0
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: Unspecified
Assignee: Lukas Zapletal
QA Contact: Kedar Bidarkar
URL:
Whiteboard:
Depends On:
Blocks: 827492
TreeView+ depends on / blocked
 
Reported: 2012-05-08 16:40 UTC by Mike McCune
Modified: 2019-09-26 14:06 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
User relied on katello-configure's puppet manifests to install qpid RPMS. This update adds the qpid RPMs to the katello-all package and the user does not have to add these RPMs during katello-configure.
Clone Of:
: 827492 (view as bug list)
Environment:
Last Closed: 2012-12-04 19:45:18 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2012:1543 0 normal SHIPPED_LIVE Important: CloudForms System Engine 1.1 update 2012-12-05 00:39:57 UTC

Description Mike McCune 2012-05-08 16:40:37 UTC
We are currently relying on katello-configure's puppet manifests to install qpid RPMS:

modules/qpid/manifests/install.pp:

class qpid::install {

  package {["qpid-cpp-server","qpid-cpp-client","qpid-cpp-client-ssl","qpid-cpp-server-ssl"]:
    ensure => "installed",
    before => Service["qpidd"]
  } 

  package {"policycoreutils-python":
    ensure => "installed"
  } 

none of the qpid-cpp* RPMs are listed anywhere in the katello.spec as a Requires:

We ideally will just add these to the katello-common set of Requires and not be forced to have katello-configure catch this missing dependency.

without this it makes it harder to pre-build systems with the right RPM set and is misleading that you could remove qpid-cpp-server-ssl and nothing would complain.

Comment 1 James Laska 2012-05-08 16:48:11 UTC
== Note to QE ==  

This should be straightforward to verify.  On a freshly installed system, install katello-all.  Next, run katello-configure.  Then, examine whether there are any 'yum install' commands in /var/log/katello/katello-configure/main.log.

In the failure case, you will see ....

> # grep "yum.*install" /var/log/katello/katello-configure/main.log 
> debug: Puppet::Type::Package::ProviderYum: Executing '/usr/bin/yum -d 0 -e 0 -y install qpid-cpp-server-ssl'
> debug: Puppet::Type::Package::ProviderYum: Executing '/usr/bin/yum -d 0 -e 0 -y install qpid-cpp-client-ssl'

Ideally, katello-configure should not attempt to 'yum install' anything

Comment 2 Lukas Zapletal 2012-05-15 09:44:38 UTC
Easy peasy.

Comment 3 Lukas Zapletal 2012-05-16 09:00:44 UTC
Uh I dont see any packages that was installed on my clean nightly installation on RHEL 6.2:

# grep "yum.*install" /var/log/katello/katello-configure/main.log 

Here is the list of packages that are "ensured" to be on the system:

$ cat modules/*/manifests/install.pp | grep package
  package { "httpd": ensure => installed}
  package { [ "mod_ssl" , "mod_authz_ldap" ]:
	package{"candlepin-tomcat6":
  package {["elasticsearch", "rubygem-tire"]:
	package{["katello", "katello-cli"]:
  package {["mongodb-server","mongodb"]:
  package { ["postgresql-server","postgresql"]: ensure => installed }
  package{"pulp":
  package {["qpid-cpp-server","qpid-cpp-client","qpid-cpp-client-ssl","qpid-cpp-server-ssl"]:
  package {"policycoreutils-python":
	package{"thumbslug":

We are only missing those:

- mod_authz_ldap
- modngodb-server and mongodb
- qpid-*

I am adding the first, but the rest should be automatically fetched by pulp (we require "pulp" itself). So I am adding those requires as explicit.

https://github.com/Katello/katello/pull/120

Comment 4 Ivan Necas 2012-05-17 07:27:15 UTC
Commit 85072c0fb6b501f2b6a774f8b4464f8661cff284 merged to master

Comment 7 Kedar Bidarkar 2012-06-06 07:11:24 UTC
--> Processing Dependency: mongodb-server for package: katello-all-0.1.313-1.el6_3.noarch
--> Processing Dependency: mongodb for package: katello-all-0.1.313-1.el6_3.noarch

--> Processing Dependency: mod_authz_ldap for package: katello-common-0.1.313-1.el6_3.noarch

Processing Dependency: qpid-cpp-server-ssl for package: katello-all-0.1.313-1.el6_3.noarch
--> Processing Dependency: qpid-cpp-server for package: katello-all-0.1.313-1.el6_3.noarch
--> Processing Dependency: qpid-cpp-client-ssl for package: katello-all-0.1.313-1.el6_3.noarch
--> Processing Dependency: qpid-cpp-client for package: katello-all-0.1.313-1.el6_3.noarch

[root@dhcp201-220 katello]# for i in katello-configure-20120606-032840 katello-configure-20120606-114655 katello-configure-20120606-115416
> do
> echo $i ; grep "yum.*install" /var/log/katello/$i/main.log
> done
katello-configure-20120606-032840
katello-configure-20120606-114655
katello-configure-20120606-115416

Puppet didn't install any rpms via yum on this setup.

Comment 8 sachua 2012-06-12 05:13:49 UTC
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
User has to rely on katello-configure's puppet manifests to install qpid RPMS. This update will add the qpid RPMs to the katello-all package and user will not have to add these RPMs during katello-configure.

Comment 10 Kedar Bidarkar 2012-09-23 12:12:50 UTC
Resolving Dependencies
--> Running transaction check
---> Package katello-all.noarch 0:1.1.12-7.el6cf will be installed
--> Processing Dependency: qpid-cpp-server-ssl for package: katello-all-1.1.12-7.el6cf.noarch
--> Processing Dependency: qpid-cpp-server for package: katello-all-1.1.12-7.el6cf.noarch
--> Processing Dependency: qpid-cpp-client-ssl for package: katello-all-1.1.12-7.el6cf.noarch
--> Processing Dependency: qpid-cpp-client for package: katello-all-1.1.12-7.el6cf.noarch


The same holds good even for v1.1

Comment 12 errata-xmlrpc 2012-12-04 19:45:18 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.

http://rhn.redhat.com/errata/RHSA-2012-1543.html


Note You need to log in before you can comment on or make changes to this bug.