Bug 858813
Summary: | [apache] Agent logs warning "Unable to check for updated configuration" when configuration management is disabled | |||
---|---|---|---|---|
Product: | [JBoss] JBoss Operations Network | Reporter: | Larry O'Leary <loleary> | |
Component: | Plugin -- Apache | Assignee: | Jay Shaughnessy <jshaughn> | |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Mike Foley <mfoley> | |
Severity: | low | Docs Contact: | ||
Priority: | medium | |||
Version: | JON 3.0.1 | CC: | jshaughn, myarboro, skondkar | |
Target Milestone: | DR02 | |||
Target Release: | JON 3.2.1 | |||
Hardware: | All | |||
OS: | All | |||
Whiteboard: | ||||
Fixed In Version: | Doc Type: | Bug Fix | ||
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 858815 (view as bug list) | Environment: | ||
Last Closed: | 2014-05-08 17:44:24 UTC | Type: | Bug | |
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: | 858815 | |||
Bug Blocks: |
Description
Larry O'Leary
2012-09-19 17:47:27 UTC
release/jon3.2.x commit 0c814d757a0b299d8100c9097a23d886a48fd893 Cherry-Pick of master 63e28a6b791514eaba639856c79ff4d81aaf01ac Reviewed by mazz Signed-off-by: Jay Shaughnessy <jshaughn> Moving to ON_QA as available for testing in the following brew build: https://brewweb.devel.redhat.com//buildinfo?buildID=336752 Note: the installed version is still JON 3.2.0.GA by design and this represents part of the payload for JON 3.2.1 also known as cumulative patch 1 for 3.2.0.GA. How this will be delivered to customers is still being discussed. Moving to ASSIGNED as the WARN message and the exception is still being logged in agent running Apache server. I followed the steps and discovered that if the Augeas support is disabled, there is this WARN message and the exception repeatedly (after those 120 seconds set) being looged in the agent: 2014-02-27 05:25:01,053 WARN [ConfigurationManager.threadpool-1] (rhq.core.pc.configuration.ConfigurationCheckExecutor)- An error occurred while checking for an updated Resource configuration for Resource[id=13582, uuid=9a4d72b0-99d2-40a6-96d9-e161e001f0a6, type={Apache}Apache Virtual Host, key=MainServer, name=Main, parent=10.16.23.199:80]. java.lang.IllegalStateException: Configuration and child resource creation/deletion support for Apache is optional. If you switched it on by enabling Augeas support in the connection settings of the Apache server resource and still get this message, it means that either your Apache version is not supported (only Apache 2.x is supported) or Augeas is not available on your platform. Please refer to your agent's log for the precise exception that is causing this behavior. It will logged at error level only once per plugin container lifetime at org.rhq.plugins.apache.ApacheVirtualHostServiceComponent.loadResourceConfiguration(ApacheVirtualHostServiceComponent.java:196) at sun.reflect.GeneratedMethodAccessor70.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at org.rhq.core.pc.inventory.ResourceContainer$ComponentInvocation.call(ResourceContainer.java:654) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:722) This is in the contradiction with the expected result (no warnings or failures beeing logged) Sorry, the first try missed some code paths... release/jon3.2.x commit ffab827ee42607137650966eb09fe92e7499c200 Author: Jay Shaughnessy <jshaughn> Date: Mon Mar 3 15:29:22 2014 -0500 Cherry-Pick master d36271e39a3003d22325e226f03dda0952408918 Signed-off-by: Jay Shaughnessy <jshaughn> Moving to ON_QA as available for testing in the following brew build: https://brewweb.devel.redhat.com//buildinfo?buildID=340294 Note: the installed version is still JON 3.2.0.GA by design and this represents part of the payload for JON 3.2.1 also known as cumulative patch 1 for 3.2.0.GA. How this will be delivered to customers is still being discussed. Verified on JON 3.2.1 Dr2 build. Followed steps and verified that there are no warnings or exceptions. JON 3.2.1 released week of 5/5/2014 |