Bug 386081 - The listSystemEvents XMLRPC call is incorrectly documented
The listSystemEvents XMLRPC call is incorrectly documented
Status: CLOSED CURRENTRELEASE
Product: Red Hat Network
Classification: Red Hat
Component: RHN/Web Site (Show other bugs)
rhn505
All Linux
low Severity low
: ---
: ---
Assigned To: Sebastian Skracic
Red Hat Network Quality Assurance
https://rhn.redhat.com/rhn/apidoc/sys...
US =29983
:
: 459447 541054 (view as bug list)
Depends On:
Blocks: 428922 rhn-sprint30
  Show dependency treegraph
 
Reported: 2007-11-15 20:08 EST by Andrew Ryan
Modified: 2010-10-22 16:30 EDT (History)
5 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2010-03-17 19:26:48 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description David Robinson 2007-11-15 20:08:54 EST
Description of problem:
The listSystemEvents XMLRPC call is incorrectly documented. Its a copy & paste
of the second listUserSystems method ("List systems for the logged in user").

The incorrect call is here:
https://rhn.redhat.com/rhn/apidoc/system/SystemHandler.jsp#listSystemEvents

and its a copy of the second listSystemEvents call here:
https://rhn.redhat.com/rhn/apidoc/system/SystemHandler.jsp#listUserSystems

Version-Release number of selected component (if applicable):
Affects current RHN (5.0.3) and probably (I haven't confirmed) the latest RHN
Satellite release.

Expected results:
The API documentation should match the API.
Comment 3 Amy Owens 2008-06-10 11:00:51 EDT
added user story
Comment 5 Amy Owens 2008-08-19 08:56:20 EDT
*** Bug 459447 has been marked as a duplicate of this bug. ***
Comment 7 Sebastian Skracic 2009-08-25 10:15:14 EDT
This API call has now been implemented with proper apidoc.  Change
d03f8ec4d267767e3f2d7211f263c08dcb6a1d49.
Comment 8 Denise Hughes 2009-08-27 10:46:16 EDT
No results returned.

At command line, type:
python callAnyMethod.py dhughesgit redhat system.listSystemEvents 1014361596

Results:

========================================
Calling: system.listSystemEvents
With args:
[1014361596]
========================================
Returned:
[]
Comment 9 Sebastian Skracic 2009-08-28 04:34:23 EDT
(In reply to comment #8)
> No results returned.
> 
> At command line, type:
> python callAnyMethod.py dhughesgit redhat system.listSystemEvents 1014361596
> 
> Results:
> 
> ========================================
> Calling: system.listSystemEvents
> With args:
> [1014361596]
> ========================================
> Returned:
> []  

  This is because system ID 1014361596 had no scheduled actions in its history.  You should try querying for any system that had at least one scheduled action, no matter how successful their execution was.  For example:

1013803204 - should list 'Package Install' action
1012685555 - should list 105 events
etc
...
Comment 10 Denise Hughes 2009-09-11 15:20:33 EDT
Verified on webdev

	
Testopia ID:
https://testopia.devel.redhat.com/bugzilla/tr_show_case.cgi?case_id=12032
Comment 11 James Bowes 2009-11-26 11:47:14 EST
*** Bug 541054 has been marked as a duplicate of this bug. ***

Note You need to log in before you can comment on or make changes to this bug.