Bug 656476
Summary: | JON241: [apache] Plugin fails to work if the httpd.conf contains an Include directive with non-existent path | |||
---|---|---|---|---|
Product: | [Other] RHQ Project | Reporter: | Lukas Krejci <lkrejci> | |
Component: | Plugins | Assignee: | Lukas Krejci <lkrejci> | |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Corey Welton <cwelton> | |
Severity: | medium | Docs Contact: | ||
Priority: | high | |||
Version: | 3.0.0 | CC: | rtimaniy | |
Target Milestone: | --- | |||
Target Release: | --- | |||
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | ||||
Fixed In Version: | Doc Type: | Bug Fix | ||
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 656496 (view as bug list) | Environment: | ||
Last Closed: | 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: | 616081, 656496 |
Description
Lukas Krejci
2010-11-23 20:21:22 UTC
commit ae99b5bc0bf42909308a9d1efc09cee77d06ffc1 Author: Lukas Krejci <lkrejci> Date: Tue Nov 23 22:09:27 2010 +0100 a couple of robustness enhancements to the apache plugin: BZ 656449 - use the matching algorithm between SNMP values and augeas nodes also when matching the vhost node by resource key, because resource key in RHQ 3 is based on the SNMP value. BZ 652247 - Log the SNMP errors only on DEBUG level during discovery because SNMP isn't required for it to work. BZ 656476 - Do not fail the discovery if a non-existent directory is used in an Include directive BZ 652247, BZ 656491 - Do not choke on invalid/unresolvable hostnames in VirtualHost or ServerName directives Verified on JON 2.4.1 build #28 (Revision: 10957) 1. Edited the httpd.conf to contain an Include directive with a non-existing path 2. Run discovery or try to edit configuration of already inventoried apache server (after having enabled Augeas support in its connection properties), watch agent.log for measurement collections. Observation: Plugin works even though the httpd fails to start with such invalid configuration so that the user can use the plugin to try and investigate the situation. Bookkeeping - closing bug - fixed in recent release. Bookkeeping - closing bug - fixed in recent release. |