Uploaded image for project: 'controller'
  1. controller
  2. CONTROLLER-302

Race condition in ConfigPersisterActivator - registering as JMX listener can occur sooner than netconf-impl is started

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Resolution: Done
    • None
    • None
    • netconf
    • None
    • Operating System: All
      Platform: All

    • 707

    Description

      13:15:51.520 [config-pusher] DEBUG o.o.c.n.persist.impl.ConfigPusher - All configuration snapshots have been pushed successfully.
      13:15:51.520 [config-pusher] INFO o.o.c.n.p.i.o.ConfigPersisterActivator - Configuration Persister initialization completed.
      Exception in thread "config-pusher" java.lang.RuntimeException: Cannot register as JMX listener to netconf
      at org.opendaylight.controller.netconf.persist.impl.ConfigPersisterNotificationHandler.registerAsJMXListener(ConfigPersisterNotificationHandler.java:53)
      at org.opendaylight.controller.netconf.persist.impl.ConfigPersisterNotificationHandler.<init>(ConfigPersisterNotificationHandler.java:44)
      at org.opendaylight.controller.netconf.persist.impl.osgi.ConfigPersisterActivator$1$1.run(ConfigPersisterActivator.java:76)
      at java.lang.Thread.run(Thread.java:744)
      Caused by: javax.management.InstanceNotFoundException: org.opendaylight.controller:type=NetconfNotificationProvider
      at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getMBean(DefaultMBeanServerInterceptor.java:1095)
      at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.addNotificationListener(DefaultMBeanServerInterceptor.java:1185)
      at com.sun.jmx.mbeanserver.JmxMBeanServer.addNotificationListener(JmxMBeanServer.java:839)
      at org.opendaylight.controller.netconf.persist.impl.ConfigPersisterNotificationHandler.registerAsJMXListener(ConfigPersisterNotificationHandler.java:51)
      ... 3 more

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            tolvecky@cisco.com Tomas Olvecky
            tolvecky@cisco.com Tomas Olvecky
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: