Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 541078

Summary: Satellite 5.3.0 - rhn-satellite-exporter --start-date and --end-date issues
Product: Red Hat Satellite 5 Reporter: Albert Hopkins <ahopkins>
Component: Satellite SynchronizationAssignee: Tomas Lestach <tlestach>
Status: CLOSED ERRATA QA Contact: Garik Khachikyan <gkhachik>
Severity: high Docs Contact:
Priority: high    
Version: 530CC: cperry, dmair, gkhachik, jsherril, mkoci, tao, tlestach, xdmoon
Target Milestone: ---Keywords: Regression
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 567954 (view as bug list) Environment:
Last Closed: 2010-01-13 06:57:07 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: 518256, 567954    
Attachments:
Description Flags
As it appears with TABs converted to 4 SPACEs none

Comment 1 Albert Hopkins 2009-11-24 22:38:43 UTC
Created attachment 373569 [details]
As it appears with TABs converted to 4 SPACEs

Comment 3 Tomas Lestach 2009-12-10 11:09:59 UTC
The error message is misleading. This exception was raised, when the DB query was empty - so either wrong channel label was specified, or there was nothing modified for this channel during the specified time frame.

For these cases when at least start_date is specified I added a different error message: Error: No %s channel information found within specified time frame, that describes the failure better.

spacewalk.git: 9b0ba911bb84ad384f1b822a02e3589562848661

To Cliff: no regression, the code behave the same also in older sats.

Comment 4 Tomas Lestach 2009-12-10 13:10:31 UTC
satellite.git: 1f0f3e911744f91f3ea115e74fe4704feba2fb2f

Comment 5 Garik Khachikyan 2010-01-06 12:14:32 UTC
# VERIFIED
following are the package(s) fixing the issue:
spacewalk-backend-***-0.5.28-37.el[4,5]sat

Now the --start-date and --end-date option get a meaning and the time interval not corresponding the channel's last modified dates, are raising with an info message:
----
Error: No <channel_label> channel information found within specified time frame.
----

Comment 9 errata-xmlrpc 2010-01-13 06:57:07 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-0028.html