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.
== 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
Easy peasy.
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
Commit 85072c0fb6b501f2b6a774f8b4464f8661cff284 merged to master
--> 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.
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.
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
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