Fixed
Details
Assignee
Christian PapeChristian PapeReporter
Martin LärcherMartin LärcherLabels
HB Backlog Status
Backlog CMComponents
Sprint
NoneFix versions
Affects versions
Priority
Major
Details
Details
Assignee
Christian Pape
Christian PapeReporter
Martin Lärcher
Martin LärcherLabels
HB Backlog Status
Backlog CM
Components
Sprint
None
Fix versions
Affects versions
Priority
PagerDuty
PagerDuty
PagerDuty
Created November 4, 2020 at 11:10 AM
Updated November 19, 2020 at 8:30 AM
Resolved November 5, 2020 at 3:00 PM
new install of OpenNMS version 27.
VMware-Virtual-Machine and other Vmware datacollections fails with:
2020-11-04 11:53:07,186 ERROR [Collectd-Thread-3-of-150] o.o.n.c.CollectableService: An undeclared throwable was caught during data collection for interface 1/x.x.x.x/VMware-VirtualMachine org.opennms.netmgt.collection.api.CollectionException: An undeclared throwable was caught during data collection for interface 1/x.x.x.x/VMware-VirtualMachine at org.opennms.netmgt.collectd.CollectableService.doCollection(CollectableService.java:458) ~[opennms-services-27.0.0.jar:?] at org.opennms.netmgt.collectd.CollectableService.doRun(CollectableService.java:355) ~[opennms-services-27.0.0.jar:?] at org.opennms.netmgt.collectd.CollectableService.lambda$run$0(CollectableService.java:329) ~[opennms-services-27.0.0.jar:?] at org.opennms.core.logging.Logging.withPrefix(Logging.java:71) [org.opennms.core.logging-27.0.0.jar:?] at org.opennms.netmgt.collectd.CollectableService.run(CollectableService.java:322) [opennms-services-27.0.0.jar:?] at org.opennms.netmgt.scheduler.LegacyScheduler$1.run(LegacyScheduler.java:179) [org.opennms.core.daemon-27.0.0.jar:?] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) [?:?] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) [?:?] at org.opennms.core.concurrent.LogPreservingThreadFactory$3.run(LogPreservingThreadFactory.java:124) [opennms-util-27.0.0.jar:?] at java.lang.Thread.run(Thread.java:834) [?:?] Caused by: org.hibernate.LazyInitializationException: failed to lazily initialize a collection of role: org.opennms.netmgt.model.OnmsNode.metaData, no session or session was closed at org.hibernate.collection.AbstractPersistentCollection.throwLazyInitializationException(AbstractPersistentCollection.java:383) ~[hibernate-core-3.6.10.Final.jar:3.6.10.Final] at org.hibernate.collection.AbstractPersistentCollection.throwLazyInitializationExceptionIfNotConnected(AbstractPersistentCollection.java:375) ~[hibernate-core-3.6.10.Final.jar:3.6.10.Final] at org.hibernate.collection.AbstractPersistentCollection.initialize(AbstractPersistentCollection.java:368) ~[hibernate-core-3.6.10.Final.jar:3.6.10.Final] at org.hibernate.collection.AbstractPersistentCollection.read(AbstractPersistentCollection.java:111) ~[hibernate-core-3.6.10.Final.jar:3.6.10.Final] at org.hibernate.collection.PersistentBag.iterator(PersistentBag.java:272) ~[hibernate-core-3.6.10.Final.jar:3.6.10.Final] at java.util.Spliterators$IteratorSpliterator.estimateSize(Spliterators.java:1821) ~[?:?] at java.util.Spliterator.getExactSizeIfKnown(Spliterator.java:408) ~[?:?] at java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:501) ~[?:?] at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) ~[?:?] at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) ~[?:?] at java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150) ~[?:?] at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) ~[?:?] at java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543) ~[?:?] at org.opennms.netmgt.model.OnmsNode.findMetaDataForContextAndKey(OnmsNode.java:1023) ~[opennms-model-27.0.0.jar:?] at org.opennms.netmgt.provision.service.vmware.VmwareImporter.getMetaData(VmwareImporter.java:873) ~[opennms-vmware-27.0.0.jar:?] at org.opennms.netmgt.provision.service.vmware.VmwareImporter.getManagementServer(VmwareImporter.java:878) ~[opennms-vmware-27.0.0.jar:?] at org.opennms.netmgt.collectd.VmwareCollector.getRuntimeAttributes(VmwareCollector.java:150) ~[opennms-vmware-27.0.0.jar:?] at org.opennms.netmgt.collection.client.rpc.CollectorRequestBuilderImpl.execute(CollectorRequestBuilderImpl.java:156) ~[org.opennms.features.collection.client-rpc-27.0.0.jar:?] at org.opennms.netmgt.collection.core.CollectionSpecification.collect(CollectionSpecification.java:282) ~[org.opennms.features.collection.core-27.0.0.jar:?] at org.opennms.netmgt.collectd.CollectableService.doCollection(CollectableService.java:423) ~[opennms-services-27.0.0.jar:?] ... 9 more