"No session" error during startup in EnhancedLinkdTopologyProvider

Description

During startup on my machine, I'm seeing an exception inside EnhancedLinkdTopologyProvider that seems to indicate that it is not wrapping an OnmsNode.getLldpElement() call in a Hibernate transaction. This may prevent the topology map from showing LLDP links. The exception happens several times during startup.

Acceptance / Success Criteria

None

Lucidchart Diagrams

Activity

Seth Leger August 13, 2015 at 5:23 PM

I was able to import the Spring TransactionsOperations bean as an OSGi service and use it to wrap the onInit() methods of the link topology providers. Marking as fixed.

commit dbef301712fb06cdeda28c4ab0254caa5c6b5fe9

Fixed

Details

Assignee

Reporter

Components

Sprint

Affects versions

Priority

PagerDuty

Created August 11, 2015 at 12:55 PM
Updated August 19, 2015 at 10:41 AM
Resolved August 13, 2015 at 5:23 PM