Description of problem: candlepin-selinux package missing in sam 1.3 beta Version-Release number of selected component (if applicable): SAM 1.3 Beta How reproducible: Always Steps to Reproduce: 1. Install SAM 1.2.1 from RHN 2. Try upgrade to SAM 1.3 Beta (I tried the following steps for upgrade: -> Created a repo pointing to sam 1.3 beta -> # yum upgrade) Actual results: yum upgrade failed with the following error: Error: Package: candlepin-selinux-0.7.24-1.el6_3.noarch (@rhel-6-server-sam-rpms) Requires: candlepin = 0.7.24-1.el6_3 Removing: candlepin-0.7.24-1.el6_3.noarch (@rhel-6-server-sam-rpms) candlepin = 0.7.24-1.el6_3 Updated By: candlepin-0.8.9-1.el6_4.noarch (qe) candlepin = 0.8.9-1.el6_4 Available: candlepin-0.5.26-1.el6.noarch (rhel-6-server-sam-rpms) candlepin = 0.5.26-1.el6 Available: candlepin-0.6.5-1.el6_2.noarch (rhel-6-server-sam-rpms) candlepin = 0.6.5-1.el6_2 Available: candlepin-0.7.23-1.el6_3.noarch (rhel-6-server-sam-rpms) candlepin = 0.7.23-1.el6_3 You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofiles --nodigest Expected results: Yum upgrade completes with no error so katello upgrade can be run Additional info: -> SAM 1.2.1 from production seem to have candlepin-selinux-0.7.24-1.el6_3.noarch -> So it looks like the package is missing only in SAM 1.3 Beta
I spoke with Brad about this issue, looks like the issue is that only "katello-all" has a Requires of "candlepin-selinux". When installing "katello-headpin-all" there is _no_ requires for "candlepin-selinux". This impacts the rel-eng process, when rel-eng builds a compose they start with the top level required packages, then pull in all deps associated. "katello-headpin-all" is the typical top level package for SAM, if we add the requires for "candlepin-selinux" to it, then this issue should be resolved with next compose.
https://github.com/Katello/katello/pull/2637
fixed in master at commit b3c0189e8ad134895480d7adb746588860ceee62 Author: Bryan Kearney <bkearney> Date: Tue Jul 16 15:21:08 2013 -0400 983647: katello-headpin-all should pull in candlepin-selinux
SNAP0 contains these bug fixes. Moving to ON_QA.
Failed QA. (katello-upgrade stdout error attached) Packages tested: * candlepin-0.8.20-1.el6sam.noarch * candlepin-cert-consumer-cloud-qe-21.idm.lab.bos.redhat.com-1.0-1.noarch * candlepin-scl-1-5.el6_4.noarch * candlepin-scl-quartz-2.1.5-5.el6_4.noarch * candlepin-scl-rhino-1.7R3-1.el6_4.noarch * candlepin-scl-runtime-1-5.el6_4.noarch * candlepin-selinux-0.8.20-1.el6sam.noarch * candlepin-tomcat6-0.8.20-1.el6sam.noarch * elasticsearch-0.19.9-8.el6sat.noarch * katello-candlepin-cert-key-pair-1.0-1.noarch * katello-certs-tools-1.4.2-2.el6sat.noarch * katello-cli-1.4.3-7.el6sat.noarch * katello-cli-common-1.4.3-7.el6sat.noarch * katello-common-1.4.3-8.el6sam_splice.noarch * katello-configure-1.4.4-2.el6sat.noarch * katello-glue-candlepin-1.4.3-8.el6sam_splice.noarch * katello-glue-elasticsearch-1.4.3-8.el6sam_splice.noarch * katello-headpin-1.4.3-8.el6sam_splice.noarch * katello-headpin-all-1.4.3-8.el6sam_splice.noarch * katello-selinux-1.4.4-2.el6sat.noarch * thumbslug-0.0.32-1.el6sam.noarch * thumbslug-selinux-0.0.32-1.el6sam.noarch
Created attachment 787073 [details] Upgrade error
Note that one of my previous upgrades passed. But this one failed. Scenario here: 1. Install SAM 1.2.1 from RHN 2. Create Users, Environments, Roles, Upload manifests, activation keys, register and subscribe systems
VERIFIED.The SAM 1.3 upgrade now pulls in the candlepin selinux package. candlepin-selinux-0.8.20-1.el6sam.noarch * candlepin-0.8.20-1.el6sam.noarch * candlepin-scl-1-5.el6_4.noarch * candlepin-scl-quartz-2.1.5-5.el6_4.noarch * candlepin-scl-rhino-1.7R3-1.el6_4.noarch * candlepin-scl-runtime-1-5.el6_4.noarch * candlepin-selinux-0.8.20-1.el6sam.noarch * candlepin-tomcat6-0.8.20-1.el6sam.noarch * elasticsearch-0.19.9-8.el6sat.noarch * katello-candlepin-cert-key-pair-1.0-1.noarch * katello-certs-tools-1.4.2-2.el6sat.noarch * katello-cli-1.4.3-7.el6sat.noarch * katello-cli-common-1.4.3-7.el6sat.noarch * katello-common-1.4.3-8.el6sam_splice.noarch * katello-configure-1.4.4-2.el6sat.noarch * katello-glue-candlepin-1.4.3-8.el6sam_splice.noarch * katello-glue-elasticsearch-1.4.3-8.el6sam_splice.noarch * katello-headpin-1.4.3-8.el6sam_splice.noarch * katello-headpin-all-1.4.3-8.el6sam_splice.noarch * katello-selinux-1.4.4-2.el6sat.noarch * thumbslug-0.0.32-1.el6sam.noarch * thumbslug-selinux-0.0.32-1.el6sam.noarch
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/RHEA-2013-1390.html