Bug 653305
Summary: | listSystemEvents fails when errata update scheduled by (none) | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Satellite 5 | Reporter: | Šimon Lukašík <slukasik> | ||||
Component: | API | Assignee: | Tomas Lestach <tlestach> | ||||
Status: | CLOSED ERRATA | QA Contact: | Šimon Lukašík <slukasik> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | low | ||||||
Version: | 540 | ||||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: |
Cause
When satellite-sync schedules an event, scheduler user is set to null. Null cannot be passed via XMLRPC and fails with NullPointerException
Consequence
system.listSystemEvents API fails with NulLPointerException, when some events were scheduled by satellite-sync
Fix
Not trying to pass scheduler user over XMLRPC, if it's set to null
Result
system.listSystemEvents API can be called also, when satellite-sync scheduled events for a system and doesn't fail
|
Story Points: | --- | ||||
Clone Of: | |||||||
: | 688881 (view as bug list) | Environment: | |||||
Last Closed: | 2011-03-17 14:13:11 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: | 646488, 688881 | ||||||
Attachments: |
|
Description
Šimon Lukašík
2010-11-15 08:49:59 UTC
Created attachment 460503 [details]
snip from catalina.out
Correct, when sat sync schedules an event, event scheduler user is set to null. Impossible to get the user login information. :-) spacewalk.git: d3b75b3811596272f96cc2224bfe010cf3d3f442 Technical note added. If any revisions are required, please edit the "Technical Notes" field accordingly. All revisions will be proofread by the Engineering Content Services team. New Contents: Cause When satellite-sync schedules an event, scheduler user is set to null. Null cannot be passed via XMLRPC and fails with NullPointerException Consequence system.listSystemEvents API fails with NulLPointerException, when some events were scheduled by satellite-sync Fix Not trying to pass scheduler user over XMLRPC, if it's set to null Result system.listSystemEvents API can be called also, when satellite-sync scheduled events for a system and doesn't fail Taking QA contact. Changing to VERIFIED. Testing procedure: Automated test Verified against: spacewalk-java-1.2.39-36.el5sat An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2011-0362.html |