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

Bug 456711

Summary: incremental export has issues with end-date
Product: Red Hat Satellite 5 Reporter: Pradeep Kilambi <pkilambi>
Component: Satellite SynchronizationAssignee: Pradeep Kilambi <pkilambi>
Status: CLOSED CURRENTRELEASE QA Contact: Steve Salevan <ssalevan>
Severity: high Docs Contact:
Priority: high    
Version: 530CC: brsmith, connolly_patrick, degts, tao, xdmoon
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: sat511 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-08-13 19:04:46 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: 429319    
Attachments:
Description Flags
Lists Packages_short, Packages XML and RPM File info from a RHNS Export Directory none

Description Pradeep Kilambi 2008-07-25 18:25:54 UTC
Description of problem:

If we skip the end date while doing an incremental export, it computes a date
(time.strftime) that the requested channel doesn't fall under. We should not
care about the range for the channel itself as its given. The range params
should only be executed for content of the channels such as pkgs,kickstarts,
errata etc.

Steps to Reproduce:

rhn-sat-export with no end-date

Additional info:
fix needs to be in iss.py while extracting the channel info

Comment 1 Bryan J Smith 2008-07-25 18:51:31 UTC
Created attachment 312666 [details]
Lists Packages_short, Packages XML and RPM File info from a RHNS Export Directory

Comment 2 Bryan J Smith 2008-07-25 18:52:13 UTC
Comment on attachment 312666 [details]
Lists Packages_short, Packages XML and RPM File info from a RHNS Export Directory

Here's a really poorly hacked shell script that prints out a table of ...

Dir:  00-99)
Num:  1[00]-999[99]
Time (Date):  From packages_short XML file (_not_ RPM buildtime)
Packages XML:  checks if it exists
RPM File:  checks if it exists
Name:  extracted from the RPM file

Comment 3 Bryan J Smith 2008-07-25 20:53:54 UTC
We're also seeing message:
  "Error: Channel rhel-x86_64-as-4 not found"

If we pass an --end-date=############## parameter that is
- Older (farther back) than _latest_ set of errata/packages for the channel(s)

E.g., we have a channel that was last updated on July 13-14th.  Anything with a
date mid-day July 13th (or before) is failing.


Comment 7 Steve Salevan 2008-07-31 19:53:08 UTC
VERIFIED on Satellite 511-21.

Comment 8 Steve Salevan 2008-08-04 18:33:19 UTC
Moving to RELEASE_PENDING.

Comment 9 Brandon Perkins 2008-08-13 19:04:46 UTC
5.1.1 Satellite is now GA, bugs Closed for Current Release.

Comment 10 Brandon Perkins 2008-08-13 19:09:43 UTC
5.1.1 Satellite is now GA, bugs Closed for Current Release.