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

VMware-ManagedEntity does not work with VMware 6

    Details

      Description

      Service VMware-ManagedEntity goes down. The exception is thrown in poller.log.

      2016-03-01 21:58:03,588 ERROR [Poller-Thread-3-of-30] o.o.n.p.p.PollableServiceConfig: Unexpected exception while polling PollableService [PollableInterface [PollableNode [3294]:10.2.1.31]:VMware-ManagedEntity]. Marking service as DOWN
      java.lang.RuntimeException: com.vmware.vim25.ManagedObjectNotFound
              at com.vmware.vim25.mo.ManagedObject.retrieveObjectProperties(ManagedObject.java:158) ~[vijava-520110926.jar:?]
              at com.vmware.vim25.mo.ManagedObject.getCurrentProperty(ManagedObject.java:179) ~[vijava-520110926.jar:?]
              at com.vmware.vim25.mo.VirtualMachine.getRuntime(VirtualMachine.java:135) ~[vijava-520110926.jar:?]
              at org.opennms.netmgt.poller.monitors.VmwareMonitor.poll(VmwareMonitor.java:174) ~[opennms-vmware-17.0.0.jar:?]
              at org.opennms.netmgt.poller.pollables.LatencyStoringServiceMonitorAdaptor.poll(LatencyStoringServiceMonitorAdaptor.java:118) ~[opennms-services-17.0.0.jar:?]
              at org.opennms.netmgt.poller.pollables.PollableServiceConfig.poll(PollableServiceConfig.java:119) [opennms-services-17.0.0.jar:?]
              at org.opennms.netmgt.poller.pollables.PollableService.poll(PollableService.java:191) [opennms-services-17.0.0.jar:?]
              at org.opennms.netmgt.poller.pollables.PollableElement.poll(PollableElement.java:293) [opennms-services-17.0.0.jar:?]
              at org.opennms.netmgt.poller.pollables.PollableContainer$5.run(PollableContainer.java:319) [opennms-services-17.0.0.jar:?]
              at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_74]
              at org.opennms.netmgt.poller.pollables.PollableElement.withTreeLock(PollableElement.java:264) [opennms-services-17.0.0.jar:?]
              at org.opennms.netmgt.poller.pollables.PollableElement.withTreeLock(PollableElement.java:250) [opennms-services-17.0.0.jar:?]
              at org.opennms.netmgt.poller.pollables.PollableElement.withTreeLock(PollableElement.java:228) [opennms-services-17.0.0.jar:?]
              at org.opennms.netmgt.poller.pollables.PollableContainer.poll(PollableContainer.java:326) [opennms-services-17.0.0.jar:?]
              at org.opennms.netmgt.poller.pollables.PollableInterface.poll(PollableInterface.java:224) [opennms-services-17.0.0.jar:?]
              at org.opennms.netmgt.poller.pollables.PollableContainer$5.run(PollableContainer.java:319) [opennms-services-17.0.0.jar:?]
              at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_74]
              at org.opennms.netmgt.poller.pollables.PollableElement.withTreeLock(PollableElement.java:264) [opennms-services-17.0.0.jar:?]
              at org.opennms.netmgt.poller.pollables.PollableElement.withTreeLock(PollableElement.java:250) [opennms-services-17.0.0.jar:?]
              at org.opennms.netmgt.poller.pollables.PollableElement.withTreeLock(PollableElement.java:228) [opennms-services-17.0.0.jar:?]
              at org.opennms.netmgt.poller.pollables.PollableContainer.poll(PollableContainer.java:326) [opennms-services-17.0.0.jar:?]
              at org.opennms.netmgt.poller.pollables.PollableNode$3.run(PollableNode.java:331) [opennms-services-17.0.0.jar:?]
              at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_74]
              at org.opennms.netmgt.poller.pollables.PollableElement.withTreeLock(PollableElement.java:264) [opennms-services-17.0.0.jar:?]
              at org.opennms.netmgt.poller.pollables.PollableElement.withTreeLock(PollableElement.java:250) [opennms-services-17.0.0.jar:?]
              at org.opennms.netmgt.poller.pollables.PollableElement.withTreeLock(PollableElement.java:228) [opennms-services-17.0.0.jar:?]
              at org.opennms.netmgt.poller.pollables.PollableNode.doPoll(PollableNode.java:334) [opennms-services-17.0.0.jar:?]
              at org.opennms.netmgt.poller.pollables.PollableElement.doPoll(PollableElement.java:184) [opennms-services-17.0.0.jar:?]
              at org.opennms.netmgt.poller.pollables.PollableService.doPoll(PollableService.java:226) [opennms-services-17.0.0.jar:?]
              at org.opennms.netmgt.poller.pollables.PollableService$PollRunner.run(PollableService.java:63) [opennms-services-17.0.0.jar:?]
              at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_74]
              at org.opennms.netmgt.poller.pollables.PollableElement.withTreeLock(PollableElement.java:264) [opennms-services-17.0.0.jar:?]
              at org.opennms.netmgt.poller.pollables.PollableElement.withTreeLock(PollableElement.java:250) [opennms-services-17.0.0.jar:?]
              at org.opennms.netmgt.poller.pollables.PollableService.doRun(PollableService.java:413) [opennms-services-17.0.0.jar:?]
              at org.opennms.netmgt.poller.pollables.PollableService.run(PollableService.java:388) [opennms-services-17.0.0.jar:?]
              at org.opennms.netmgt.scheduler.Schedule.run(Schedule.java:142) [opennms-services-17.0.0.jar:?]
              at org.opennms.netmgt.scheduler.Schedule$ScheduleEntry.run(Schedule.java:86) [opennms-services-17.0.0.jar:?]
              at org.opennms.netmgt.scheduler.LegacyScheduler$1.run(LegacyScheduler.java:209) [opennms-services-17.0.0.jar:?]
              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [?:1.8.0_74]
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [?:1.8.0_74]
              at org.opennms.core.concurrent.LogPreservingThreadFactory$3.run(LogPreservingThreadFactory.java:124) [opennms-util-17.0.0.jar:?]
              at java.lang.Thread.run(Thread.java:745) [?:1.8.0_74]
      Caused by: com.vmware.vim25.ManagedObjectNotFound
              at sun.reflect.GeneratedConstructorAccessor206.newInstance(Unknown Source) ~[?:?]
              at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:1.8.0_74]
              at java.lang.reflect.Constructor.newInstance(Constructor.java:423) ~[?:1.8.0_74]
              at java.lang.Class.newInstance(Class.java:442) ~[?:1.8.0_74]
              at com.vmware.vim25.ws.XmlGen.fromXml(XmlGen.java:201) ~[vijava-520110926.jar:?]
              at com.vmware.vim25.ws.XmlGen.parseSoapFault(XmlGen.java:80) ~[vijava-520110926.jar:?]
              at com.vmware.vim25.ws.WSClient.invoke(WSClient.java:133) ~[vijava-520110926.jar:?]
              at com.vmware.vim25.ws.VimStub.retrieveProperties(VimStub.java:77) ~[vijava-520110926.jar:?]
              at com.vmware.vim25.mo.PropertyCollector.retrieveProperties(PropertyCollector.java:107) ~[vijava-520110926.jar:?]
              at com.vmware.vim25.mo.ManagedObject.retrieveObjectProperties(ManagedObject.java:155) ~[vijava-520110926.jar:?]
              ... 41 more
      

      The poller itself gives the following error message:

       VMware-VirtualMachine data collection on interface 10.2.1.31 failed with 'Collection failed for an unknown reason (code 2. Please review previous logs for this thread for details. You can also open up an enhancement bug report (include your logs) to request that failure messages are logged for this type of error.'. 
      

        Attachments

          Activity

            People

            • Assignee:
              fuhrmann Marcel Fuhrmann
              Reporter:
              fuhrmann Marcel Fuhrmann
            • Votes:
              1 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: