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