Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.

Bug 982965

Summary: channel.software.listErrata - Result structure missing errata ID
Product: Red Hat Network Reporter: Arun Babu Neelicattu <aneelica>
Component: RHN/APIAssignee: Richard Bernleithner <rbernlei>
Status: CLOSED EOL QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: _unsetCC: bsaylor, grocha, rbernlei, tdeanton
Target Milestone: ---Flags: aneelica: needinfo? (tdeanton)
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-07-05 11:18:47 EDT Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Description Arun Babu Neelicattu 2013-07-10 04:41:45 EDT
The result array structure does not contain the errata id as indicated by the documentation at [1].

The following code,

import sys, xmlrpclib

server = xmlrpclib.Server('https://rhn.redhat.com/rhn/rpc/api')
token = server.auth.login(username, password)
results = server.channel.software.listErrata(token, 'jb-ews-2-x86_64-server-6-rpm')
for key in results[0].keys():
    print(key)

Outputs:
errata_update_date
errata_advisory_type
errata_synopsis
errata_advisory
errata_last_modified_date
errata_issue_date

Expected Resolution:
Either errata_id is returned in the structure or (if not available already) a provision to map errata name to ids is made available.


[1] https://access.redhat.com/site/documentation/en-US/Red_Hat_Network_Satellite/5.5/html/API_Overview/files/html/handlers/ChannelSoftwareHandler.html#listErrata
Comment 1 Arun Babu Neelicattu 2014-02-10 05:43:11 EST
Any update on this one?
Comment 3 Arun Babu Neelicattu 2014-03-12 21:16:24 EDT
@Shea, Can we get this prioritized please?
Comment 5 Thomas "Shea" DeAntonio 2017-07-05 11:18:47 EDT
As you may already be aware, Red Hat is transitioning from the Red Hat Network (RHN) hosted interface to the Red Hat Subscription Management (RHSM) interface in July 2017. Red Hat has invested in and seen success from RHN for many years, and used that experience to build more robust technologies like RHSM. 
 
If you have not yet migrated your RHN systems to RHSM or you are a Red Hat Satellite customer, please review the information from. https://access.redhat.com/products/red-hat-subscription-management#migration. 
 
Since we are shutting down RHN, no further actions will be taken with this bug or enhancement request.  You can find additional information at RHSM product page (https://access.redhat.com/products/red-hat-subscription-management).  If you have further questions, please contact support (https://access.redhat.com/products/red-hat-subscription-management#support).