Bug 1546172

Summary: cdn-sync ignores errors during errata sync
Product: Red Hat Satellite 5 Reporter: Ales Dujicek <adujicek>
Component: Satellite SynchronizationAssignee: Jan Dobes <jdobes>
Status: CLOSED NOTABUG QA Contact: Red Hat Satellite QA List <satqe-list>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: tlestach
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-02-22 16:41:10 UTC Type: Bug
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: 1450111    

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.