Uploaded image for project: 'OpenNMS'
  1. OpenNMS
  2. NMS-7032

The VMWare Monitor is throwing exceptions related with nodeDao

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 14.0.0
    • Security Level: Default (Default Security Scheme)
    • Labels:
      None
    • Environment:
      Latest compilation of rc/stable/1.14.0 from this morning.

      Description

      I have a small lab that I've prepared to reproduce NMS-7025, and part of the test (to increase the load on Pollerd) was discovering the nods on my vCenter test server.

      I've discovered that the VMWareMonitor is throwing exceptions related with nodeDao:

      2014-10-17 11:26:33,500 ERROR [Poller:PollerEventProcessor-Thread] o.o.n.p.p.PollableElement: Unexpected exception: No bean named 'nodeDao' is defined
      org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'nodeDao' is defined
      	at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanDefinition(DefaultListableBeanFactory.java:575) ~[org.apache.servicemix.bundles.spring-beans-3.2.9.RELEASE_1.jar:?]
      	at org.springframework.beans.factory.support.AbstractBeanFactory.getMergedLocalBeanDefinition(AbstractBeanFactory.java:1114) ~[org.apache.servicemix.bundles.spring-beans-3.2.9.RELEASE_1.jar:?]
      	at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:279) ~[org.apache.servicemix.bundles.spring-beans-3.2.9.RELEASE_1.jar:?]
      	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:198) ~[org.apache.servicemix.bundles.spring-beans-3.2.9.RELEASE_1.jar:?]
      	at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:270) ~[org.apache.servicemix.bundles.spring-beans-3.2.9.RELEASE_1.jar:?]
      	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194) ~[org.apache.servicemix.bundles.spring-beans-3.2.9.RELEASE_1.jar:?]
      	at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1117) ~[org.apache.servicemix.bundles.spring-context-3.2.9.RELEASE_1.jar:?]
      	at org.opennms.netmgt.poller.monitors.VmwareMonitor.initialize(VmwareMonitor.java:92) ~[opennms-vmware-14.0.0-SNAPSHOT.jar:?]
      	at org.opennms.netmgt.poller.pollables.LatencyStoringServiceMonitorAdaptor.initialize(LatencyStoringServiceMonitorAdaptor.java:105) ~[opennms-services-14.0.0-SNAPSHOT.jar:?]
      	at org.opennms.netmgt.poller.pollables.PollableServiceConfig.<init>(PollableServiceConfig.java:83) ~[opennms-services-14.0.0-SNAPSHOT.jar:?]
      	at org.opennms.netmgt.poller.Poller.scheduleService(Poller.java:555) ~[opennms-services-14.0.0-SNAPSHOT.jar:?]
      	at org.opennms.netmgt.poller.Poller.access$100(Poller.java:79) ~[opennms-services-14.0.0-SNAPSHOT.jar:?]
      	at org.opennms.netmgt.poller.Poller$1$1.doInTransactionWithoutResult(Poller.java:454) ~[opennms-services-14.0.0-SNAPSHOT.jar:?]
      	at org.springframework.transaction.support.TransactionCallbackWithoutResult.doInTransaction(TransactionCallbackWithoutResult.java:33) ~[org.apache.servicemix.bundles.spring-tx-3.2.9.RELEASE_1.jar:?]
      	at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:131) ~[org.apache.servicemix.bundles.spring-tx-3.2.9.RELEASE_1.jar:?]
      	at org.opennms.netmgt.poller.Poller$1.run(Poller.java:445) ~[opennms-services-14.0.0-SNAPSHOT.jar:?]
      	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) ~[?:1.7.0_67]
      	at org.opennms.netmgt.poller.pollables.PollableElement.withTreeLock(PollableElement.java:264) [opennms-services-14.0.0-SNAPSHOT.jar:?]
      	at org.opennms.netmgt.poller.pollables.PollableElement.withTreeLock(PollableElement.java:250) [opennms-services-14.0.0-SNAPSHOT.jar:?]
      	at org.opennms.netmgt.poller.pollables.PollableElement.withTreeLock(PollableElement.java:228) [opennms-services-14.0.0-SNAPSHOT.jar:?]
      	at org.opennms.netmgt.poller.Poller.scheduleService(Poller.java:473) [opennms-services-14.0.0-SNAPSHOT.jar:?]
      	at org.opennms.netmgt.poller.PollerEventProcessor.nodeGainedServiceHandler(PollerEventProcessor.java:202) [opennms-services-14.0.0-SNAPSHOT.jar:?]
      	at org.opennms.netmgt.poller.PollerEventProcessor.onEvent(PollerEventProcessor.java:535) [opennms-services-14.0.0-SNAPSHOT.jar:?]
      	at org.opennms.netmgt.eventd.EventIpcManagerDefaultImpl$EventListenerExecutor$2.run(EventIpcManagerDefaultImpl.java:178) [opennms-services-14.0.0-SNAPSHOT.jar:?]
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [?:1.7.0_67]
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [?:1.7.0_67]
      	at org.opennms.core.concurrent.LogPreservingThreadFactory$2.run(LogPreservingThreadFactory.java:106) [opennms-util-14.0.0-SNAPSHOT.jar:?]
      	at java.lang.Thread.run(Thread.java:745) [?:1.7.0_67]
      

      I'm attaching the full poller.log for reference. If the configuration and/or a dump of the DB is required, please let me know.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                agalue Alejandro Galue
                Reporter:
                agalue Alejandro Galue
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: