Lots of InvalidPluginConfigurationException - AS7 plugin, RHQ 4.13.1?
pathduck Feb 12, 2015 6:11 AMHi,
since migrating to 4.13.1 and the new plugin for AS7, servers seem to pop up and down a lot, and being marked as Unavailable even though they are running fine.
The following error is logged in the Agent logs:
2015-02-12 11:46:44,913 WARN [ConfigurationManager.threadpool-1] (rhq.core.pc.configuration.ConfigurationCheckExecutor)- An error occurred while checking for an updated Resource configuration for Resource[id=12530, uuid=94c5d7e5-b0e7-4642-bbc8-59f0a078c80e, type={JBossAS7}JMX, key=subsystem=jmx, name=jmx, parent=Xmlstilling (9943)]. org.rhq.core.pluginapi.inventory.InvalidPluginConfigurationException: Credentials for plugin to connect to AS7 management interface are invalid - update Connection Settings with valid credentials. at org.rhq.modules.plugins.jbossas7.ASConnection.executeRaw(ASConnection.java:304) at org.rhq.modules.plugins.jbossas7.ASConnection.execute(ASConnection.java:512) at org.rhq.modules.plugins.jbossas7.ASConnection.execute(ASConnection.java:453) at org.rhq.modules.plugins.jbossas7.BaseComponent.loadResourceConfiguration(BaseComponent.java:374) at sun.reflect.GeneratedMethodAccessor87.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.rhq.core.pc.inventory.ResourceContainer$ComponentInvocation.call(ResourceContainer.java:759) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662)
After that lots of similar WARNings are logged:
2015-02-12 11:52:17,071 WARN [InventoryManager.availability-1] (rhq.core.pc.inventory.AvailabilityExecutor)- Availability collection failed with exception on Resource[id=13764, uuid=79296408-c6aa-40b9-abf1-5cb8ff6c8081, type={JBossAS7}Entity, key=deployment=nav-sbl-xmlstilling-ear.ear,subdeployment=nav-sbl-xmlstilling-web.war,subsystem=jpa,hibernate-persistence-unit=nav-sbl-xmlstilling-ear.ear/nav-sbl-xmlstilling-web.war#xmlstilling-web-persistence,entity=no.nav.sbl.entity.six.StillingLoggEntity, name=no.nav.sbl.entity.six.StillingLoggEntity, parent=nav-sbl-xmlstilling-ear.ear/nav-sbl-xmlstilling-web.war#xmlstilling-web-persistence], availability will be reported as DOWN, reason=Availability check failed : Credentials for plugin to connect to AS7 management interface are invalid - update Connection Settings with valid credentials. 2015-02-12 11:52:40,332 WARN [InventoryManager.availability-1] (rhq.core.pc.inventory.AvailabilityExecutor)- Availability collection failed with exception on Resource[id=13170, uuid=20d17c2e-fbea-4489-b101-1d05242dd179, type={JBossAS7}Connection Definitions, key=subsystem=resource-adapters,resource-adapter=wmq.jmsra-7.0.1.7.rar,connection-definitions=QueueConnection, name=QueueConnection, parent=wmq.jmsra-7.0.1.7.rar], availability will be reported as DOWN, reason=Availability check failed : Credentials for plugin to connect to AS7 management interface are invalid - update Connection Settings with valid credentials. 2015-02-12 11:59:35,545 WARN [InventoryManager.availability-1] (rhq.core.pc.inventory.AvailabilityExecutor)- Availability collection failed with exception on Resource[id=13064, uuid=247e7840-08a0-44ee-ab14-01689a3da1a6, type={JBossAS7}Strict Max Bean Instance Pool, key=subsystem=ejb3,strict-max-bean-instance-pool=slsb-strict-max-pool, name=slsb-strict-max-pool, parent=ejb3], availability will be reported as DOWN, reason=Availability check failed : Credentials for plugin to connect to AS7 management interface are invalid - update Connection Settings with valid credentials. 2015-02-12 11:59:36,022 WARN [InventoryManager.availability-1] (rhq.core.pc.inventory.AvailabilityExecutor)- Availability collection failed with exception on Resource[id=13066, uuid=71d130c5-864a-460e-acbe-7feb7fecd48b, type={JBossAS7}SFSB Cache, key=subsystem=ejb3,cache=passivating, name=passivating, parent=ejb3], availability will be reported as DOWN, reason=Availability check failed : Credentials for plugin to connect to AS7 management interface are invalid - update Connection Settings with valid credentials. 2015-02-12 11:59:36,490 WARN [InventoryManager.availability-1] (rhq.core.pc.inventory.AvailabilityExecutor)- Availability collection failed with exception on Resource[id=13069, uuid=aa3aef83-76a9-4b75-819a-4f8d386a9b26, type={JBossAS7}IIOP Service, key=subsystem=ejb3,service=iiop, name=iiop, parent=ejb3], availability will be reported as DOWN, reason=Availability check failed : Credentials for plugin to connect to AS7 management interface are invalid - update Connection Settings with valid credentials. 2015-02-12 11:59:36,974 WARN [InventoryManager.availability-1] (rhq.core.pc.inventory.AvailabilityExecutor)- Availability collection failed with exception on Resource[id=12555, uuid=0599c7ac-67f5-4f32-a144-9488c3ebf8fd, type={JBossAS7}JMX, key=subsystem=jmx, name=jmx, parent=Arbeid (9444)], availability will be reported as DOWN, reason=Availability check failed : Credentials for plugin to connect to AS7 management interface are invalid - update Connection Settings with valid credentials. 2015-02-12 11:59:37,215 WARN [InventoryManager.availability-1] (rhq.core.pc.inventory.AvailabilityExecutor)- Availability collection failed with exception on Resource[id=12556, uuid=08ef9fac-305e-4e4e-980a-7ff3c250d0fb, type={JBossAS7}Resource Adapters, key=subsystem=resource-adapters, name=resource-adapters, parent=Arbeid (9444)], availability will be reported as DOWN, reason=Availability check failed : Credentials for plugin to connect to AS7 management interface are invalid - update Connection Settings with valid credentials. 2015-02-12 11:59:38,385 WARN [InventoryManager.availability-1] (rhq.core.pc.inventory.AvailabilityExecutor)- Availability collection failed with exception on Resource[id=12597, uuid=6e8ad507-0253-4d44-97f1-1fe46e6ca6c2, type={JBossAS7}Operating System, key=core-service=platform-mbean,type=operating-system, name=operating-system, parent=platform-mbean], availability will be reported as DOWN, reason=Availability check failed : Credentials for plugin to connect to AS7 management interface are invalid - update Connection Settings with valid credentials. 2015-02-12 11:59:38,862 WARN [InventoryManager.availability-1] (rhq.core.pc.inventory.AvailabilityExecutor)- Availability collection failed with exception on Resource[id=12599, uuid=161bb996-f760-4723-a8c4-e82e79eb2f2f, type={JBossAS7}Runtime, key=core-service=platform-mbean,type=runtime, name=runtime, parent=platform-mbean], availability will be reported as DOWN, reason=Availability check failed : Credentials for plugin to connect to AS7 management interface are invalid - update Connection Settings with valid credentials.
I can't say I noticed the same with 4.13.0 but then again I've had problems with the AS7 plugin failing to upgrade properly in our environments (Differences in resource hierarchy for AS7 servers in RHQ 4.13?) so it might have been there a long time, I've just not actually ran the latest plugin.
These solutions for JON seem to be related:
https://access.redhat.com/solutions/305633
https://access.redhat.com/solutions/269473
But they don't really solve anything for me, as I know they mangement credentials are valid, and the AS7 server comes back as UP after a small interval (10-15 minutes).
Obviously this would lead to a lot of false positives if alerts are created to check for As7 availability.
Stian