Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
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 714297

Summary: Promotions of products are not working
Product: Red Hat Satellite Reporter: Jeff Weiss <jweiss>
Component: APIAssignee: Tomas Strachota <tstrachota>
Status: CLOSED CURRENTRELEASE QA Contact: Katello QA List <katello-qa-list>
Severity: high Docs Contact:
Priority: high    
Version: 6.0.0CC: dajohnso, dmitri, gstoecke, tstrachota
Target Milestone: UnspecifiedKeywords: Regression, TestBlocker
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
candlepin-0.4.3-1.fc14.noarch
Last Closed: 2012-08-22 17:46:49 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 747354    

Description Jeff Weiss 2011-06-17 20:06:38 UTC
Description of problem:


Version-Release number of selected component (if applicable):
katello-0.1.48-1.git.1.e67d27d.fc14.noarch

How reproducible:


Steps to Reproduce:
1.  Create product with one repo
2.  Create a new environment with prior of Locker
3.  Promote product from locker to new env
  
Actual results:
No product in new environment

Expected results:
1 product in new env

Additional info:

Comment 1 Tomas Strachota 2011-06-27 09:23:28 UTC
commit a66e97186b5f9464ea5e3303cdc814ba1f0d3bdc
Author: Tomas Strachota <tstrachota>
Date:   Sun Jun 26 13:48:55 2011 +0200

    714297 - fixed promotions
    - fixed promotions of products
    - added promotions of packeges
    - added promotions of errata
    - added promotions of repositories

Comment 2 Jeff Weiss 2011-06-27 17:44:37 UTC
Fails QA.  Still the same symptoms and repro steps.
katello-0.1.49-1.git.10.6c5d907.fc14.noarch

Comment 3 Tomas Strachota 2011-06-27 21:08:16 UTC
See my previous comment. It has been fixed in a66e971. You're testing 6c5d907 which is 3 commits older than my fix.

Comment 4 Jeff Weiss 2011-06-27 22:53:47 UTC
Woops, you are right.  I ran git rev-list a66e97186b5f9464ea5e3303cdc814ba1f0d3bdc | grep 6c5d907

which is backwards.  should be git rev-list $BUILD_COMMIT | grep $FIX_COMMIT.

Comment 5 Jeff Weiss 2011-06-28 16:58:06 UTC
Verified, katello-0.1.49-1.git.44.5815b3f.fc14.noarch