JON Storage Node fails to process requests and has operation mode of ANNOUNCE
Issue
- Storage cluster is reported as
DOWN - Operation mode of storage node is set to
ANNOUNCE -
Storage node reports failure message:
Deployment error: Aborting storage node deployment due to unexpected error while announcing storage node at jboss-on.example.com Check the server log for details. Root cause: Index: 0, Size: 0 -
Server log contains the following warning:
WARN [org.rhq.enterprise.server.storage.StorageClientManagerBean] (EJB default - 3) Storage client subsystem wasn't initialized. The RHQ server will be set to MAINTENANCE mode. Please verify that the storage cluster is operational.: java.lang.IllegalStateException: There is no storage node metadata stored in the relational database. This may have happened as a result of running dbsetup or deleting rows from rhq_storage_node table. Please re-install the storage node to fix this issue. at org.rhq.enterprise.server.storage.StorageClientManagerBean.createSession(StorageClientManagerBean.java:335) [rhq-server.jar:4.9.0.JON320GA] at org.rhq.enterprise.server.storage.StorageClientManagerBean.init(StorageClientManagerBean.java:154) [rhq-server.jar:4.9.0.JON320GA] at org.rhq.enterprise.server.storage.StorageClientManagerBean.storageSessionMaintenance(StorageClientManagerBean.java:129) [rhq-server.jar:4.9.0.JON320GA] ... -
Following error is reproted in server.log:
ERROR [org.jboss.as.ejb3.invocation] (http-/0.0.0.0:7080-3) JBAS014134: EJB Invocation failed on component MeasurementDataManagerBean for method public abstract void org.rhq.enterprise.server.measurement.MeasurementDataManagerLocal.addNumericData(java.util.Set): javax.ejb.EJBException: java.lang.NullPointerException at org.jboss.as.ejb3.tx.CMTTxInterceptor.handleExceptionInNoTx(CMTTxInterceptor.java:191) [jboss-as-ejb3-7.2.1.Final-redhat-10.jar:7.2.1.Final-redhat-10] ... Caused by: java.lang.NullPointerException at org.rhq.enterprise.server.measurement.MeasurementDataManagerBean.addNumericData(MeasurementDataManagerBean.java:237) [rhq-server.jar:4.9.0.JON320GA] ...
Environment
- Red Hat JBoss Operations Network (ON) 3.2
- JBoss ON storage node has been installed but not started
- A second storage node has been installed and started
- The second storage node's RHQ Storage Node resource has been discovered and auto-imported into inventory
- The second storage node's operation mode is reported as
ANNOUNCE
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
