Bug 728292
Summary: | Type error with Apache plug-in | ||
---|---|---|---|
Product: | [Other] RHQ Project | Reporter: | Mike Foley <mfoley> |
Component: | Plugins | Assignee: | Lukas Krejci <lkrejci> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Mike Foley <mfoley> |
Severity: | medium | Docs Contact: | |
Priority: | high | ||
Version: | 4.1 | CC: | hrupp |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2012-02-07 19:29:43 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: | 730796, 734807 |
Description
Mike Foley
2011-08-04 15:31:34 UTC
I *think* that this is because the plugin intentionally throws an exception in loadConfiguration() when "Enable Augeas" connection property is set to false in the Apache server's plugin config. I think GUI gets confused by this but maybe it's something different - this is just an uneducated guess - I didn't actually look at the source code yet. Note that when the plugin threw an exception from loadConfiguration() we used to display an error message in the JSF GUI which would give the user some hints as to why the plugin failed to load the config. The exception disappears when augeas support is enabled in the connection settings of the apache server resource. I'm lowering the priority of this bug because this is mostly a GUI nuissance. The underlying code behaves as expected. Note that in RHQ 3 we used to display an error message from the agent that would have had shown the reason why the config failed to load. As far as I can see, this is missing in the GWT user interface. We should not leave stack traces escape into the UI commit fafa0f2e7221dce298a77e3d83b69e1f65e64aea Author: Lukas Krejci <lkrejci> Date: Wed Oct 12 16:55:01 2011 +0200 BZ 728292 - Restore the behaviour from RHQ3 where we showed just an info message when the plugin returned a null resource config or threw an exception during loadConfiguration(). *** Bug 736136 has been marked as a duplicate of this bug. *** verified jon 3 branch changing status of VERIFIED BZs for JON 2.4.2 and JON 3.0 to CLOSED/CURRENTRELEASE marking VERIFIED BZs to CLOSED/CURRENTRELEASE |