Bug 790030
Summary: | trying to call ProxyFactory methods inside CLI alert scripts throws AccessControlExceptions | ||
---|---|---|---|
Product: | [Other] RHQ Project | Reporter: | Lukas Krejci <lkrejci> |
Component: | Core Server | Assignee: | Lukas Krejci <lkrejci> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Mike Foley <mfoley> |
Severity: | high | Docs Contact: | |
Priority: | medium | ||
Version: | 4.3 | CC: | ccrouch, hrupp, spinder |
Target Milestone: | --- | ||
Target Release: | JON 3.0.1 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | 786106 | Environment: | |
Last Closed: | 2013-09-03 15:14:52 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: | 786106 | ||
Bug Blocks: | 782579, 786172 |
Description
Lukas Krejci
2012-02-13 14:18:08 UTC
release/jon3.0.x: http://git.fedorahosted.org/git/?p=rhq/rhq.git;a=commitdiff;h=8cb8405748b2d7896e2b330808b32ebbbded92f8 QE ... this should be verifiable in RC5 per triage 2/13/2012 (asantos, crouch, foley, loleary) Moving to ON_QA for testing with JON 3.0.1.GA RC5 or better: https://brewweb.devel.redhat.com//buildinfo?buildID=199114 verified JON 3.01 RC5 as follows: 1) created a drift definition 2) created an alert based on drift detection. this alert's notification is a CLI script as defined above, eg ProxyFactory.getResource(10001) 3) created drift, which triggered the alert 4) reviewed alert history to make sure the alert fired 5) reviewed server log to make sure access control exception was not fired. The access control exception would have appeared as the part of the output of the notification. Go to the details of the alert in the history page and review its notifications tab. The exception might also bubble up to the server log, but I am currently not looking at the code and don't remember for sure from top of my head. performed additional verification per comment #6. Bulk closing of old issues in VERIFIED state. |