[CONTROLLER-1086] Inability to install feature odl-mdsal-broker causing Max wait for capabilities reached Created: 07/Jan/15  Updated: 19/Oct/17  Resolved: 08/Jan/15

Status: Resolved
Project: controller
Component/s: mdsal
Affects Version/s: Post-Helium
Fix Version/s: None

Type: Bug
Reporter: Andrej Kincel Assignee: Unassigned
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All


External issue ID: 2565

 Description   

The issue occurs while trying to run SFC Karaf but I think it is not related only to SFC.

>Exception in thread "config-pusher" java.lang.IllegalStateException: Max wait for capabilities reached.Not enough capabilities for 01-md-sal.xml(odl-mdsal-broker). Expected but not found: [urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding:impl?module=opendaylight-sal-binding-broker-impl&revision=2013-10-28]
at org.opendaylight.controller.netconf.persist.impl.ConfigPusherImpl.getOperationServiceWithRetries(ConfigPusherImpl.java:148)
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:175)
at java.lang.Thread.run(Thread.java:745)
Caused by: org.opendaylight.controller.netconf.persist.impl.ConfigPusherImpl$NotEnoughCapabilitiesException: Not enough capabilities for 01-md-sal.xml(odl-mdsal-broker). Expected but not found: [urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding:impl?module=opendaylight-sal-binding-broker-impl&revision=2013-10-28]
at org.opendaylight.controller.netconf.persist.impl.ConfigPusherImpl.getOperationService(ConfigPusherImpl.java:186)
at org.opendaylight.controller.netconf.persist.impl.ConfigPusherImpl.getOperationServiceWithRetries(ConfigPusherImpl.java:141)
... 5 more

I guess that the exception is caused by failing installation of feature odl-mdsal-broker. The capabilities are not satisfied because odl-mdsal-broker is not installed at all.

> feature:install odl-mdsal-broker
> Error executing command: Could not start bundle mvn:org.opendaylight.controller/sal-binding-broker-impl/1.2.0-SNAPSHOT in feature(s) odl-mdsal-broker-1.2.0-SNAPSHOT: The bundle "org.opendaylight.controller.sal- binding-broker-impl_1.2.0.SNAPSHOT [251]" could not be resolved. Reason: Missing Constraint: Import-Package: org.eclipse.xtext.xbase.lib; version="0.0.0"



 Comments   
Comment by Andrej Kincel [ 08/Jan/15 ]

Seems to be fixed now.

Comment by Tony Tkacik [ 08/Jan/15 ]

Fixed on master

Generated at Wed Feb 07 19:54:39 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.