Bug 1546172 - cdn-sync ignores errors during errata sync
Summary: cdn-sync ignores errors during errata sync
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Satellite 5
Classification: Red Hat
Component: Satellite Synchronization
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Jan Dobes
QA Contact: Red Hat Satellite QA List
URL:
Whiteboard:
Depends On:
Blocks: sat58-errata
TreeView+ depends on / blocked
 
Reported: 2018-02-16 13:47 UTC by Ales Dujicek
Modified: 2018-02-22 16:41 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-02-22 16:41:10 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Ales Dujicek 2018-02-16 13:47:58 UTC
Description of problem:

if updateinfo contains invalid content like wrong format of issue date:

        <update status="final" from="security" version="8" type="security" >
            <id>RHSA-2007:0513</id>
            <issued date="2007-09-26 00:00:00.0" />
            <title>Moderate: gimp security update</title>

then cdn-sync skips the erratum and does not report it in the cdnsync log


Version-Release number of selected component (if applicable):
spacewalk-backend-cdn-2.5.3-160.el6sat.noarch

How reproducible:
always

Steps to Reproduce:
1. cdn-sync -c  rhel-x86_64-server-5
2. errata like RHSA-2007:0513 are not synced

Comment 3 Ales Dujicek 2018-02-16 14:26:44 UTC
I just realized that there is at least some count information in the cdn-sync output and log:

/var/log/rhn/cdnsync/rhel-x86_64-server-5.log
...
2018/02/16 06:25:32 -04:00   Errata in repo: 3184.
2018/02/16 06:26:03 -04:00     Syncing 3141 new errata to channel.
2018/02/16 06:26:30 -04:00 Sync of channel completed in 3:10:56.

Comment 4 Jan Dobes 2018-02-16 16:34:17 UTC
Is there any more info if cdn-sync is executed in more (-vvv) verbose mode?

Comment 9 Tomas Lestach 2018-02-22 16:41:10 UTC
Based on Comment 8 I'm closing the BZ NOTABUG.


Note You need to log in before you can comment on or make changes to this bug.