Bug 589524

Summary: rhn-satellite-exporter doesnt export packages based on --start-date
Product: Red Hat Satellite 5 Reporter: Vishal Gaikwad <vgaikwad>
Component: Satellite SynchronizationAssignee: Michael Mráka <mmraka>
Status: CLOSED ERRATA QA Contact: Petr Sklenar <psklenar>
Severity: high Docs Contact:
Priority: urgent    
Version: 530CC: aparsons, cperry, degts, jhutar, mmraka, msuchy, mzazrivec, psklenar, tao, xdmoon
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-10-05 13:17: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: 518253    

Description Vishal Gaikwad 2010-05-06 11:19:21 UTC
Description of problem:
rhn-satellite-exporter doesn't export the correct packages if you specify --start-date

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

How reproducible:
Always

Steps to Reproduce:
1.rhn-satellite-exporter --dir=export/ -c rhel-x86_64-server-5 --start-date=20100501 --end-date=20100506 -vvvvv --print-report
2. check the contents

  
Actual results:
No/Incorrect Number of packages get exported

Expected results:
Should export the correct number of packages based in the --start-date

Additional info:

Comment 1 Clifford Perry 2010-05-12 13:36:39 UTC
Can you *show* the bug with specific details on how you determined this to be true. 

Thanks,
Cliff.

Comment 7 Jan Pazdziora (Red Hat) 2010-05-27 12:27:28 UTC
*** Bug 589528 has been marked as a duplicate of this bug. ***

Comment 9 Michael Mráka 2010-06-08 12:56:22 UTC
Fixed in upstream (spacewalk.git)
commit 29b2970d1c2cbe7b5f760a45eb630ff99a8641a5
    589524 - select packages, erratas and kickstart trees according to import date

Comment 10 Miroslav Suchý 2010-06-28 13:51:43 UTC
commit in #9 is incorrect. Correct commit number is
af0a6d6fdd421e57146675d1a2bac2c19a92cfeb

Comment 17 Michael Mráka 2010-08-12 13:04:26 UTC
Fix re-done in master
commit de6c0d54ddc366d0c4f99afd6be668e0ba84d5a3
    589524 - select packages, erratas and kickstart trees according to import date

and satellite-5.3
commit 2d381b5e214408a7f7f3b240b12fd03b825a2cba
    589524 - select packages, erratas and kickstart trees according to import date
    (cherry picked from commit de6c0d54ddc366d0c4f99afd6be668e0ba84d5a3)

Comment 18 Michael Mráka 2010-08-13 12:55:53 UTC
Packages spacewalk-backend-0.5.28-59 has been built.

Comment 23 errata-xmlrpc 2010-10-05 13:17:49 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2010-0740.html