Bug 905921

Summary: CDN repo 'rhel-6-server-cf-se-1-rpms' contains katello package newer than CloudForms-1.1.2
Product: Red Hat Satellite Reporter: James Laska <jlaska>
Component: InfrastructureAssignee: Mike McCune <mmccune>
Status: CLOSED NOTABUG QA Contact: Katello QA List <katello-qa-list>
Severity: medium Docs Contact:
Priority: urgent    
Version: 6.0.0CC: aweiteka, bkearney, dgregor, jturner, omaciel
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: 2013-09-23 14:38:53 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 James Laska 2013-01-30 13:28:48 UTC
Description of problem:




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


How reproducible:


Steps to Reproduce:
1. Install a RHEL-6.4 system, register to cert-based RHN using subscription manager

> # subscription-manager register --username 'XXXXXXX' --password 'XXXXXXX' --force --autosubscribe

2. Subscribe to the following pools ...

> # subscription-manager subscribe --pool 8a85f9813c01cf91013c02abf5ec071b
> Pool '60 Day Supported CloudForms Evaluation' successfully consumed!
> # subscription-manager subscribe --pool 8a85f9843affb61f013b1fae79e26a75
> Pool 'CloudForms Employee Subscription' successfully consumed!
> # yum repolist disabled
> # yum-config-manager --enable rhel-6-server-cf-ce-1-rpms 1>/dev/null
> # yum-config-manager --enable rhel-6-server-cf-se-1-rpms 1>/dev/null
> # yum-config-manager --enable rhel-6-server-beta-rpms 1>/dev/null

3. Ensure the following repositories are enabled ...

> # yum repolist enabled
> Loaded plugins: product-id, security, subscription-manager
> This system is receiving updates from Red Hat Subscription Management.
> <snip>
> repo id                       repo name                                                                 status
> beaker-Server                 beaker-Server                                                             3,648
> cfce-1.1-puddle               Red Hat Enterprise Linux 6Server - x86_64 - Cloud Engine 1.1 latest puddl   268
> cfse-1.1-puddle               Red Hat Enterprise Linux 6Server - x86_64 - System Engine 1.1 latest pudd   280
> rhel-6-server-beta-rpms       Red Hat Enterprise Linux 6 Server Beta (RPMs)                             1,104
> rhel-6-server-cf-ce-1-rpms    Red Hat CloudForms Cloud Engine (RPMs)                                      318
> rhel-6-server-cf-se-1-rpms    Red Hat CloudForms System Engine (RPMs)                                     367
> rhel-6-server-cf-tools-1-rpms Red Hat CloudForms Tools for RHEL 6 (RPMs)                                   31
> rhel-6-server-rhev-agent-rpms Red Hat Enterprise Virtualization Agents for RHEL 6 Server (RPMs)            16
> rhel-6-server-rpms            Red Hat Enterprise Linux 6 Server (RPMs)                                  8,824
> repolist: 14,856

NOTES: 
 a) The 'beaker-Server' repo points to the internal RHEL-6.4 repository from which the system was installed
 b) The 'cfce-1.1-puddle' repo points to 'http://download.lab.bos.redhat.com/rel-eng/CloudForms/1.1/latest/el6-ce/x86_64/os/'
 c) The 'cfse-1.1-puddle' repo points to 'http://download.lab.bos.redhat.com/rel-eng/CloudForms/1.1/latest/el6-se/x86_64/os/'

3. Show the latest 'katello' package available to yum ...

  
Actual results:

> # yum list katello
> Loaded plugins: product-id, security, subscription-manager
> This system is receiving updates from Red Hat Subscription Management.
> <snip>
> Available Packages
> katello.noarch                           1.1.12.1-1.el6cf                           rhel-6-server-cf-se-1-rpms
                                           ^^^^^^^^^^^^^^^^
                                              UNEXPECTED

Expected results:

> # yum list katello
> Loaded plugins: product-id, security, subscription-manager
> This system is receiving updates from Red Hat Subscription Management.
> <snip>
> Available Packages
> katello.noarch                           katello-1.1.12-26.el6cf                    cfse-1.1-puddle
                                           ^^^^^^^^^^^^^^^^
                                              EXPECTED
Additional info:

* The CDN repo for cf-se includes a higher NVR katello package (https://cdn.redhat.com/content/dist/rhel/server/6/6Server/x86_64/cf-se/1/os/Packages/katello-1.1.12.1-1.el6cf.noarch.rpm)

> # rpmdev-vercmp katello-1.1.12.1-1.el6cf katello-0:1.1.12-26.el6cf
> katello-1.1.12.1-1.el6cf > katello-0:1.1.12-26.el6cf