From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.7) Gecko/20050414 Firefox/1.0.3 Description of problem: Hi, Please consider adding a "system.list_affected_user_systems" method to the RHN API to return the list of all errata needed for a system (eg: return an array of sid's and "advisory strings" suitable for use with errata.get_details). This would help greatly in figuring out what patches need applying to what box. Presently, if one wanted to generate a report of what boxes need which patches one would need to (roughly) do the following: - pull all errata with channel.software.list_errata (for each channel you care about) - pull the list of what really needs applying though errata.list_affected_systems for each errata in each channel - pull the system info for reporting from system.list_user_systems. - Loop through channel.software.list_errata looking for matches with errata.list_affected_systems - Loop though system.list_user_systems comapring that to the merge of the above loop That seems to have a lot of overhead for any base channel with a lot of errata. It's clear that there are already methods within the RHN/Satellite to present such information quickly, as it is presented on the Web Site under the erratta tab for any system, so this should (hopefully :) be as simple as exposing the current function(s) that do(es) this to the API handler. Thanks! -n Version-Release number of selected component (if applicable): How reproducible: Didn't try Steps to Reproduce: N/A THis is an RFE Additional info:
mass assign QA contact for rhn410 bugs
system.get_relevant_errata(sessionkey, serverid) returns the relevant errata that apply to the given system. You can now get a list of server from system.list_user_systems() then call system.get_relevant_errata() with each of the server ids. Moving this to be tracked on satellite 5.1.
API call Enhancements for 5.1 Sat GA so Closed for Current Release.