Ask is moving to Stack Overflow and Serverfault.com! Please use the "opendaylight" tag on either of these sites. This site is now in Read-Only mode

0

OpenDaylight Exception from Karaf

asked 2015-03-26 17:35:12 -0800

skrasheed.blr gravatar image

Hi, I am getting the following exception from Karaf. Please let me know, how to resolve this issue.

opendaylight-user@root>Exception in thread "config-pusher" java.lang.IllegalStateException: Max wait for capabilities reached.Not enough capabilities for hello.xml(odl-hello-ui,odl-hello). Expected but not found: [urn:opendaylight:params:xml:ns:yang:hello:impl?module=hello-impl&revision=2014-12-10] at org.opendaylight.controller.netconf.persist.impl.ConfigPusherImpl.getOperationServiceWithRetries(ConfigPusherImpl.java:151) at org.opendaylight.controller.netconf.persist.impl.ConfigPusherImpl.pushConfigWithConflictingVersionRetries(ConfigPusherImpl.java:124) at org.opendaylight.controller.netconf.persist.impl.ConfigPusherImpl.internalPushConfigs(ConfigPusherImpl.java:101) at org.opendaylight.controller.netconf.persist.impl.ConfigPusherImpl.process(ConfigPusherImpl.java:76) at org.opendaylight.controller.netconf.persist.impl.osgi.ConfigPersisterActivator$InnerCustomizer$1.run(ConfigPersisterActivator.java:181) at java.lang.Thread.run(Thread.java:745) Caused by: org.opendaylight.controller.netconf.persist.impl.ConfigPusherImpl$NotEnoughCapabilitiesException: Not enough capabilities for hello.xml(odl-hello-ui,odl-hello). Expected but not found: [urn:opendaylight:params:xml:ns:yang:hello:impl?module=hello-impl&revision=2014-12-10] at org.opendaylight.controller.netconf.persist.impl.ConfigPusherImpl.getOperationService(ConfigPusherImpl.java:189) at org.opendaylight.controller.netconf.persist.impl.ConfigPusherImpl.getOperationServiceWithRetries(ConfigPusherImpl.java:144) ... 5 more

Thanks & Regards, Abdul Rasheed

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
0

answered 2015-03-26 21:40:57 -0800

Ashwini_Mhatre gravatar image

Hi, Could you please check your configuration file. like if you are using data broker service you have to mention that service in config file. and check that config file is present in etc/open daylight/karaf directory.

Thanks,

Regards, Ashwini Mhatre

edit flag offensive delete publish link more
0

answered 2015-03-27 03:37:26 -0800

Maros gravatar image

Hi, It looks like model: hello-impl with revision 2014-12-10 is not picked up by ODL. Possible reasons:

  1. Bundle with hello-impl model is not active in karaf. Please check using bundle:list command in karaf console and try to find your bundle and its state.
  2. The model could not be parsed/resolved in ODL. Try to check the logs of ODL for possible issues using following command in karaf console: log:display | grep hello-impl.
  3. The configuration file is pushed before the hello-impl model is picked up. If you are using archetype, this is very unlikely.

Maros

edit flag offensive delete publish link more
Login/Signup to Answer

Question Tools

Follow
2 followers

Stats

Asked: 2015-03-26 17:35:12 -0800

Seen: 354 times

Last updated: Mar 27 '15