Description of problem: The type of an Erratum is determined by searching for RHBA, RHEA or RHSA in the "advisory_name" and never check the "advisory_type" where is more likely the type of the errata to be set (at least I do so when creating an erratum via API) I am proposing the following enhancement: if e_epoch < d_epoch: EI[e['id']] = e['advisory_synopsis'] EN[e['id']] = e['advisory_name'] pattern = re.compile(opt['search'], re.I) result = pattern.search(e['advisory_synopsis']) if result is not None: if type['b'] and ( e['advisory_name'].find("RHBA") == 0 or e['advisory_type'].find("Bug Fix Advisory") == 0 ): erratum.append(e['id']) if type['e'] and ( e['advisory_name'].find("RHEA") == 0 or e['advisory_type'].find("Enhancement Advisory") == 0 ): erratum.append(e['id']) if type['s'] and ( e['advisory_name'].find("RHSA") == 0 or e['advisory_type'].find("Security Advisory") == 0 ) : erratum.append(e['id']) Version-Release number of selected component (if applicable): spacewalk-utils-1.7.15-1 How reproducible: 100% Steps to Reproduce: 1. Check the source of the script. Actual results: The script obtains the Errata type according "advisory_name". Expected results: The script obtains the Errata type according "advisory_type" or "advisory_name". Additional info:
Commited to spacewalk.git as 7f8783c90db938d9bb1c051b01c8604b8a1e8bab
Fixed in Spacewalk master, e57ad267088be70e383804fc1b45517dd48f3b53.
This issue is resolved with the release of RHN Satellite 5.5. As of September 20th 2012, RHN Satellite 5.5 has been generally available. Release Notes and other 5.5 documentation can be found here: https://access.redhat.com/knowledge/docs/Red_Hat_Network_Satellite/ The associated Errata for the 5.5 release are: 5.5 Satellite GA Errata - http://rhn.redhat.com/errata/RHEA-2012-1296.html 5.5 Upgrade Errata - http://rhn.redhat.com/errata/RHEA-2012-1298.html 5.5 RHN Proxy GA Errata - http://rhn.redhat.com/errata/RHEA-2012-1297.html 5.5 RHN Tools GA Errata - http://rhn.redhat.com/errata/RHEA-2012-1299.html Regards, Clifford - Engineering Manager, Satellite