Bug 600691

Summary: errata.getDetails(session, name) doesn't return the errata ID
Product: Red Hat Satellite 5 Reporter: Aron Parsons <aparsons>
Component: APIAssignee: Tomas Lestach <tlestach>
Status: CLOSED NOTABUG QA Contact: Red Hat Satellite QA List <satqe-list>
Severity: medium Docs Contact:
Priority: low    
Version: 530CC: cperry, nobody
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-07-14 19:02:13 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: 608754    

Description Aron Parsons 2010-06-05 16:35:26 UTC
Description of problem:
errata.getDetails() doesn't return the errata ID.  This would be useful for locating an errata and then looping to apply it to all the systems it affects via system.scheduleApplyErrata(). 

The workaround is to get a list of systems affected by the errata via errata.listAffectedSystems(), then call system.getRelevantErrata() on one of the systems returned, and then loop through the list of errata until you find a matching name and then get the errata ID from that data structure.

Version-Release number of selected component (if applicable):
Satellite 5.3.0

How reproducible:
Always

Steps to Reproduce:
1. call errata.getDetails(session, name)

Actual results:
the errata ID is not in the returned data structure

Expected results:
the errata ID should be in the returned data structure

Comment 1 Aron Parsons 2010-07-14 19:02:13 UTC
I guess this isn't needed.  I was just using the API inefficiently when I wrote this report.