<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 19:13:48 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>OpenDaylight JIRA</title>
    <link>https://jira.opendaylight.org</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>8.20.10</version>
        <build-number>820010</build-number>
        <build-date>22-06-2022</build-date>
    </build-info>


<item>
            <title>[BGPCEP-678] Karaf4 Unable to push configuration due to missing yang models</title>
                <link>https://jira.opendaylight.org/browse/BGPCEP-678</link>
                <project id="10108" key="BGPCEP">bgpcep</project>
                    <description>&lt;p&gt;2017-06-20 18:33:20,190 | ERROR | config-pusher    | ConfigPusherImpl                 | 214 - org.opendaylight.controller.config-persister-impl - 0.7.0.SNAPSHOT | Unable to push configuration due to missing yang models. Yang models that are missing, but required by the configuration: &lt;span class=&quot;error&quot;&gt;&amp;#91;urn:opendaylight:params:xml:ns:yang:controller:bgp:rib:impl?module=odl-bgp-rib-impl-cfg&amp;amp;revision=2016-03-30&amp;#93;&lt;/span&gt;. For each mentioned model check:  1. that the mentioned yang model namespace/name/revision is identical to those in the yang model itself 2. the yang file is present in the system 3. the bundle with that yang file is present in the system and active 4. the yang parser did not fail while attempting to parse that model&lt;br/&gt;
java.lang.IllegalStateException: Unable to push configuration due to missing yang models. Required yang models that are missing: &lt;span class=&quot;error&quot;&gt;&amp;#91;urn:opendaylight:params:xml:ns:yang:controller:bgp:rib:impl?module=odl-bgp-rib-impl-cfg&amp;amp;revision=2016-03-30&amp;#93;&lt;/span&gt;&lt;br/&gt;
Caused by: org.opendaylight.controller.config.persist.impl.ConfigPusherImpl$NotEnoughCapabilitiesException: Not enough capabilities for 31-bgp.xml(odl-bgpcep-bgp,odl-bgpcep-bgp). Expected but not found: &lt;span class=&quot;error&quot;&gt;&amp;#91;urn:opendaylight:params:xml:ns:yang:controller:bgp:rib:impl?module=odl-bgp-rib-impl-cfg&amp;amp;revision=2016-03-30&amp;#93;&lt;/span&gt;&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="23918">BGPCEP-678</key>
            <summary>Karaf4 Unable to push configuration due to missing yang models</summary>
                <type id="10104" iconUrl="https://jira.opendaylight.org/secure/viewavatar?size=xsmall&amp;avatarId=10303&amp;avatarType=issuetype">Bug</type>
                                                <status id="5" iconUrl="https://jira.opendaylight.org/images/icons/statuses/resolved.png" description="A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.">Resolved</status>
                    <statusCategory id="3" key="done" colorName="green"/>
                                    <resolution id="10000">Done</resolution>
                                        <assignee username="rovarga">Robert Varga</assignee>
                                    <reporter username="cdgasparini">Claudio David Gasparini</reporter>
                        <labels>
                    </labels>
                <created>Tue, 20 Jun 2017 16:36:18 +0000</created>
                <updated>Sun, 3 Mar 2019 11:50:04 +0000</updated>
                            <resolved>Sat, 5 Aug 2017 16:26:47 +0000</resolved>
                                    <version>Bugzilla Migration</version>
                                    <fixVersion>Bugzilla Migration</fixVersion>
                                    <component>BGP</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>7</watches>
                                                                                                                <comments>
                            <comment id="46211" author="cdgasparini" created="Tue, 20 Jun 2017 16:39:13 +0000"  >&lt;p&gt;Steps&lt;/p&gt;

&lt;p&gt;execute &lt;br/&gt;
feature:install odl-restconf odl-bgpcep-bgp&lt;/p&gt;</comment>
                            <comment id="46212" author="cdgasparini" created="Wed, 21 Jun 2017 10:27:07 +0000"  >&lt;p&gt;same issue is observed with bmp feature&lt;/p&gt;

&lt;p&gt;2017-06-21 12:22:29,678 | ERROR | config-pusher    | ConfigPusherImpl                 | 213 - org.opendaylight.controller.config-persister-impl - 0.7.0.SNAPSHOT | Unable to push configuration due to missing yang models. Yang models that are missing, but required by the configuration: &lt;span class=&quot;error&quot;&gt;&amp;#91;urn:opendaylight:params:xml:ns:yang:controller:bmp:impl?module=odl-bmp-impl-cfg&amp;amp;revision=2015-05-18&amp;#93;&lt;/span&gt;. For each mentioned model check:  1. that the mentioned yang model namespace/name/revision is identical to those in the yang model itself 2. the yang file is present in the system 3. the bundle with that yang file is present in the system and active 4. the yang parser did not fail while attempting to parse that model&lt;br/&gt;
2017-06-21 12:22:29,680 | ERROR | config-pusher    | ConfigPusherImpl                 | 213 - org.opendaylight.controller.config-persister-impl - 0.7.0.SNAPSHOT | Failed to apply configuration snapshot: 32-bmp.xml(odl-bgpcep-bmp,odl-bgpcep-bmp)&lt;br/&gt;
java.lang.IllegalStateException: Unable to push configuration due to missing yang models. Required yang models that are missing: &lt;span class=&quot;error&quot;&gt;&amp;#91;urn:opendaylight:params:xml:ns:yang:controller:bmp:impl?module=odl-bmp-impl-cfg&amp;amp;revision=2015-05-18&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at org.opendaylight.controller.config.persist.impl.ConfigPusherImpl.waitForCapabilities(ConfigPusherImpl.java:204)&lt;span class=&quot;error&quot;&gt;&amp;#91;213:org.opendaylight.controller.config-persister-impl:0.7.0.SNAPSHOT&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at org.opendaylight.controller.config.persist.impl.ConfigPusherImpl.pushConfigWithConflictingVersionRetries(ConfigPusherImpl.java:154)&lt;span class=&quot;error&quot;&gt;&amp;#91;213:org.opendaylight.controller.config-persister-impl:0.7.0.SNAPSHOT&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at org.opendaylight.controller.config.persist.impl.ConfigPusherImpl.internalPushConfigs(ConfigPusherImpl.java:124)&lt;span class=&quot;error&quot;&gt;&amp;#91;213:org.opendaylight.controller.config-persister-impl:0.7.0.SNAPSHOT&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at org.opendaylight.controller.config.persist.impl.ConfigPusherImpl.processSingle(ConfigPusherImpl.java:78)&lt;span class=&quot;error&quot;&gt;&amp;#91;213:org.opendaylight.controller.config-persister-impl:0.7.0.SNAPSHOT&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at org.opendaylight.controller.config.persist.impl.ConfigPusherImpl.process(ConfigPusherImpl.java:70)&lt;span class=&quot;error&quot;&gt;&amp;#91;213:org.opendaylight.controller.config-persister-impl:0.7.0.SNAPSHOT&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at org.opendaylight.controller.config.persist.impl.osgi.ConfigPersisterActivator$2.run(ConfigPersisterActivator.java:131)&lt;span class=&quot;error&quot;&gt;&amp;#91;213:org.opendaylight.controller.config-persister-impl:0.7.0.SNAPSHOT&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at java.lang.Thread.run(Thread.java:748)&lt;span class=&quot;error&quot;&gt;&amp;#91;:1.8.0_131&amp;#93;&lt;/span&gt;&lt;br/&gt;
Caused by: org.opendaylight.controller.config.persist.impl.ConfigPusherImpl$NotEnoughCapabilitiesException: Not enough capabilities for 32-bmp.xml(odl-bgpcep-bmp,odl-bgpcep-bmp). Expected but not found: &lt;span class=&quot;error&quot;&gt;&amp;#91;urn:opendaylight:params:xml:ns:yang:controller:bmp:impl?module=odl-bmp-impl-cfg&amp;amp;revision=2015-05-18&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at org.opendaylight.controller.config.persist.impl.ConfigPusherImpl.waitForCapabilities(ConfigPusherImpl.java:184)&lt;span class=&quot;error&quot;&gt;&amp;#91;213:org.opendaylight.controller.config-persister-impl:0.7.0.SNAPSHOT&amp;#93;&lt;/span&gt;&lt;br/&gt;
	... 6 more&lt;/p&gt;</comment>
                            <comment id="46213" author="cdgasparini" created="Wed, 21 Jun 2017 15:26:57 +0000"  >&lt;p&gt;found in logs&lt;/p&gt;

&lt;p&gt;2017-06-21 17:14:23,730 | ERROR | pool-2-thread-1  | ModuleInfoBundleTracker          | 208 - org.opendaylight.controller.config-manager - 0.7.0.SNAPSHOT | Failed to process bundleentry://196.fwk596706728/META-INF/services/org.opendaylight.yangtools.yang.binding.YangModelBindingProvider for bundle org.opendaylight.bgpcep.bgp-rib-impl_0.8.0.SNAPSHOT &lt;span class=&quot;error&quot;&gt;&amp;#91;196&amp;#93;&lt;/span&gt;&lt;br/&gt;
java.lang.IllegalStateException: Error while executing getModuleInfo on org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.controller.bgp.rib.impl.rev160330.$YangModelBindingProvider@726b7f4&lt;br/&gt;
	at org.opendaylight.controller.config.manager.impl.osgi.mapping.ModuleInfoBundleTracker.retrieveModuleInfo(ModuleInfoBundleTracker.java:149)&lt;br/&gt;
	at org.opendaylight.controller.config.manager.impl.osgi.mapping.ModuleInfoBundleTracker.addingBundle(ModuleInfoBundleTracker.java:86)&lt;br/&gt;
	at org.opendaylight.controller.config.manager.impl.osgi.mapping.ModuleInfoBundleTracker.addingBundle(ModuleInfoBundleTracker.java:31)&lt;br/&gt;
	at org.osgi.util.tracker.BundleTracker$Tracked.customizerAdding(BundleTracker.java:469)&lt;span class=&quot;error&quot;&gt;&amp;#91;org.osgi.core-6.0.0.jar:&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at org.osgi.util.tracker.BundleTracker$Tracked.customizerAdding(BundleTracker.java:415)&lt;span class=&quot;error&quot;&gt;&amp;#91;org.osgi.core-6.0.0.jar:&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at org.osgi.util.tracker.AbstractTracked.trackAdding(AbstractTracked.java:256)&lt;span class=&quot;error&quot;&gt;&amp;#91;org.osgi.core-6.0.0.jar:&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at org.osgi.util.tracker.AbstractTracked.trackInitial(AbstractTracked.java:183)&lt;span class=&quot;error&quot;&gt;&amp;#91;org.osgi.core-6.0.0.jar:&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at org.osgi.util.tracker.BundleTracker.open(BundleTracker.java:156)&lt;span class=&quot;error&quot;&gt;&amp;#91;org.osgi.core-6.0.0.jar:&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at org.opendaylight.controller.config.manager.impl.osgi.mapping.ModuleInfoBundleTracker.open(ModuleInfoBundleTracker.java:55)&lt;br/&gt;
	at org.opendaylight.controller.config.manager.impl.osgi.ConfigManagerActivator.start(ConfigManagerActivator.java:84)&lt;br/&gt;
	at org.eclipse.osgi.internal.framework.BundleContextImpl$3.run(BundleContextImpl.java:771)&lt;span class=&quot;error&quot;&gt;&amp;#91;org.eclipse.osgi-3.10.101.v20150820-1432.jar:&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at org.eclipse.osgi.internal.framework.BundleContextImpl$3.run(BundleContextImpl.java:1)&lt;span class=&quot;error&quot;&gt;&amp;#91;org.eclipse.osgi-3.10.101.v20150820-1432.jar:&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at java.security.AccessController.doPrivileged(Native Method)&lt;span class=&quot;error&quot;&gt;&amp;#91;:1.8.0_131&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at org.eclipse.osgi.internal.framework.BundleContextImpl.startActivator(BundleContextImpl.java:764)&lt;span class=&quot;error&quot;&gt;&amp;#91;org.eclipse.osgi-3.10.101.v20150820-1432.jar:&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at org.eclipse.osgi.internal.framework.BundleContextImpl.start(BundleContextImpl.java:721)&lt;span class=&quot;error&quot;&gt;&amp;#91;org.eclipse.osgi-3.10.101.v20150820-1432.jar:&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at org.eclipse.osgi.internal.framework.EquinoxBundle.startWorker0(EquinoxBundle.java:941)&lt;span class=&quot;error&quot;&gt;&amp;#91;org.eclipse.osgi-3.10.101.v20150820-1432.jar:&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at org.eclipse.osgi.internal.framework.EquinoxBundle$EquinoxModule.startWorker(EquinoxBundle.java:318)&lt;span class=&quot;error&quot;&gt;&amp;#91;org.eclipse.osgi-3.10.101.v20150820-1432.jar:&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at org.eclipse.osgi.container.Module.doStart(Module.java:571)&lt;span class=&quot;error&quot;&gt;&amp;#91;org.eclipse.osgi-3.10.101.v20150820-1432.jar:&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at org.eclipse.osgi.container.Module.start(Module.java:439)&lt;span class=&quot;error&quot;&gt;&amp;#91;org.eclipse.osgi-3.10.101.v20150820-1432.jar:&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at org.eclipse.osgi.internal.framework.EquinoxBundle.start(EquinoxBundle.java:392)&lt;span class=&quot;error&quot;&gt;&amp;#91;org.eclipse.osgi-3.10.101.v20150820-1432.jar:&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at org.eclipse.osgi.internal.framework.EquinoxBundle.start(EquinoxBundle.java:411)&lt;span class=&quot;error&quot;&gt;&amp;#91;org.eclipse.osgi-3.10.101.v20150820-1432.jar:&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at org.apache.karaf.features.internal.service.FeaturesServiceImpl.startBundle(FeaturesServiceImpl.java:1287)&lt;span class=&quot;error&quot;&gt;&amp;#91;9:org.apache.karaf.features.core:4.0.9&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at org.apache.karaf.features.internal.service.Deployer.deploy(Deployer.java:860)&lt;span class=&quot;error&quot;&gt;&amp;#91;9:org.apache.karaf.features.core:4.0.9&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at org.apache.karaf.features.internal.service.FeaturesServiceImpl.doProvision(FeaturesServiceImpl.java:1176)&lt;span class=&quot;error&quot;&gt;&amp;#91;9:org.apache.karaf.features.core:4.0.9&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at org.apache.karaf.features.internal.service.FeaturesServiceImpl$1.call(FeaturesServiceImpl.java:1074)&lt;span class=&quot;error&quot;&gt;&amp;#91;9:org.apache.karaf.features.core:4.0.9&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)&lt;span class=&quot;error&quot;&gt;&amp;#91;:1.8.0_131&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)&lt;span class=&quot;error&quot;&gt;&amp;#91;:1.8.0_131&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)&lt;span class=&quot;error&quot;&gt;&amp;#91;:1.8.0_131&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at java.lang.Thread.run(Thread.java:748)&lt;span class=&quot;error&quot;&gt;&amp;#91;:1.8.0_131&amp;#93;&lt;/span&gt;&lt;br/&gt;
Caused by: java.lang.NoClassDefFoundError: Could not initialize class org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.controller.bgp.rib.spi.rev131115.$YangModuleInfoImpl&lt;br/&gt;
	at org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.controller.bgp.rib.impl.rev160330.$YangModuleInfoImpl.&amp;lt;init&amp;gt;($YangModuleInfoImpl.java:27)&lt;br/&gt;
	at org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.controller.bgp.rib.impl.rev160330.$YangModuleInfoImpl.&amp;lt;clinit&amp;gt;($YangModuleInfoImpl.java:10)&lt;br/&gt;
	at org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.controller.bgp.rib.impl.rev160330.$YangModelBindingProvider.getModuleInfo($YangModelBindingProvider.java:6)&lt;br/&gt;
	at org.opendaylight.controller.config.manager.impl.osgi.mapping.ModuleInfoBundleTracker.retrieveModuleInfo(ModuleInfoBundleTracker.java:147)&lt;br/&gt;
	... 28 more&lt;/p&gt;</comment>
                            <comment id="46234" author="cdgasparini" created="Wed, 21 Jun 2017 15:30:14 +0000"  >&lt;p&gt;Attachment karaf.log has been added with description: log&lt;/p&gt;</comment>
                            <comment id="46235" author="cdgasparini" created="Wed, 21 Jun 2017 15:31:42 +0000"  >&lt;p&gt;Attachment log.tar.gz has been added with description: fullLogs&lt;/p&gt;</comment>
                            <comment id="46214" author="pgubka@cisco.com" created="Tue, 4 Jul 2017 16:51:19 +0000"  >&lt;p&gt;This is also applicable for bmp&lt;/p&gt;

&lt;p&gt;2017-07-04 13:49:10,232 | ERROR | config-pusher    | ConfigPusherImpl                 | 237 - org.opendaylight.controller.config-persister-impl - 0.7.0.SNAPSHOT | Failed to apply configuration snapshot: 31-bgp.xml(odl-bgpcep-bmp,odl-bgpcep-bmp)&lt;br/&gt;
java.lang.IllegalStateException: Unable to push configuration due to missing yang models. Required yang models that are missing: &lt;span class=&quot;error&quot;&gt;&amp;#91;urn:opendaylight:params:xml:ns:yang:controller:bgp:rib:impl?module=odl-bgp-rib-impl-cfg&amp;amp;revision=2016-03-30&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at org.opendaylight.controller.config.persist.impl.ConfigPusherImpl.waitForCapabilities(ConfigPusherImpl.java:204)&lt;span class=&quot;error&quot;&gt;&amp;#91;237:org.opendaylight.controller.config-persister-impl:0.7.0.SNAPSHOT&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at org.opendaylight.controller.config.persist.impl.ConfigPusherImpl.pushConfigWithConflictingVersionRetries(ConfigPusherImpl.java:154)&lt;span class=&quot;error&quot;&gt;&amp;#91;237:org.opendaylight.controller.config-persister-impl:0.7.0.SNAPSHOT&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at org.opendaylight.controller.config.persist.impl.ConfigPusherImpl.internalPushConfigs(ConfigPusherImpl.java:124)&lt;span class=&quot;error&quot;&gt;&amp;#91;237:org.opendaylight.controller.config-persister-impl:0.7.0.SNAPSHOT&amp;#93;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;log in attachment.&lt;/p&gt;</comment>
                            <comment id="46236" author="pgubka@cisco.com" created="Tue, 4 Jul 2017 16:55:11 +0000"  >&lt;p&gt;Attachment odl1_karaf.log.gz has been added with description: bmp log&lt;/p&gt;</comment>
                            <comment id="46215" author="pgubka@cisco.com" created="Tue, 4 Jul 2017 17:03:34 +0000"  >&lt;p&gt;because the &lt;a href=&quot;https://jenkins.opendaylight.org/releng/view/bgpcep/job/bgpcep-csit-1node-userfeatures-only-nitrogen/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://jenkins.opendaylight.org/releng/view/bgpcep/job/bgpcep-csit-1node-userfeatures-only-nitrogen/&lt;/a&gt; performs badly, i increased the importance to major&lt;/p&gt;</comment>
                            <comment id="46216" author="cdgasparini" created="Wed, 5 Jul 2017 18:27:12 +0000"  >&lt;p&gt;seems to be some packaging issue&lt;/p&gt;

&lt;p&gt;Caused by: java.lang.IllegalStateException: Resource &apos;/META-INF/yang/odl-bgp-rib-spi-cfg.yang&apos; is missing&lt;/p&gt;

&lt;p&gt;compiled and tested today&apos;s distribution and it worked fine, but I see that today&apos;s test failed.&lt;br/&gt;
I will recheck it tomorrow, to check whether this is intermittent or whether has been solved somewhere else.&lt;/p&gt;</comment>
                            <comment id="46217" author="cdgasparini" created="Mon, 10 Jul 2017 10:31:20 +0000"  >&lt;p&gt;Issue still present&lt;/p&gt;

&lt;p&gt;2017-07-10 10:40:08,185 | ERROR | pool-2-thread-1  | ModuleInfoBundleTracker          | 209 - org.opendaylight.controller.config-manager - 0.7.0.SNAPSHOT | Failed to process bundleentry://177.fwk1088872417/META-INF/services/org.opendaylight.yangtools.yang.binding.YangModelBindingProvider for bundle org.opendaylight.bgpcep.bgp-bmp-impl_0.8.0.SNAPSHOT &lt;span class=&quot;error&quot;&gt;&amp;#91;177&amp;#93;&lt;/span&gt;&lt;br/&gt;
java.lang.IllegalStateException: Error while executing getModuleInfo on org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.controller.bmp.impl.rev150518.$YangModelBindingProvider@62d385d0&lt;br/&gt;
	at org.opendaylight.controller.config.manager.impl.osgi.mapping.ModuleInfoBundleTracker.retrieveModuleInfo(ModuleInfoBundleTracker.java:149)&lt;br/&gt;
	at org.opendaylight.controller.config.manager.impl.osgi.mapping.ModuleInfoBundleTracker.addingBundle(ModuleInfoBundleTracker.java:86)&lt;br/&gt;
	at org.opendaylight.controller.config.manager.impl.osgi.mapping.ModuleInfoBundleTracker.addingBundle(ModuleInfoBundleTracker.java:31)&lt;br/&gt;
	at org.osgi.util.tracker.BundleTracker$Tracked.customizerAdding(BundleTracker.java:469)&lt;span class=&quot;error&quot;&gt;&amp;#91;org.osgi.core-6.0.0.jar:&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at org.osgi.util.tracker.BundleTracker$Tracked.customizerAdding(BundleTracker.java:415)&lt;span class=&quot;error&quot;&gt;&amp;#91;org.osgi.core-6.0.0.jar:&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at org.osgi.util.tracker.AbstractTracked.trackAdding(AbstractTracked.java:256)&lt;span class=&quot;error&quot;&gt;&amp;#91;org.osgi.core-6.0.0.jar:&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at org.osgi.util.tracker.AbstractTracked.trackInitial(AbstractTracked.java:183)&lt;span class=&quot;error&quot;&gt;&amp;#91;org.osgi.core-6.0.0.jar:&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at org.osgi.util.tracker.BundleTracker.open(BundleTracker.java:156)&lt;span class=&quot;error&quot;&gt;&amp;#91;org.osgi.core-6.0.0.jar:&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at org.opendaylight.controller.config.manager.impl.osgi.mapping.ModuleInfoBundleTracker.open(ModuleInfoBundleTracker.java:55)&lt;br/&gt;
	at org.opendaylight.controller.config.manager.impl.osgi.ConfigManagerActivator.start(ConfigManagerActivator.java:84)&lt;br/&gt;
	at org.eclipse.osgi.internal.framework.BundleContextImpl$3.run(BundleContextImpl.java:771)&lt;span class=&quot;error&quot;&gt;&amp;#91;org.eclipse.osgi-3.10.101.v20150820-1432.jar:&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at org.eclipse.osgi.internal.framework.BundleContextImpl$3.run(BundleContextImpl.java:1)&lt;span class=&quot;error&quot;&gt;&amp;#91;org.eclipse.osgi-3.10.101.v20150820-1432.jar:&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at java.security.AccessController.doPrivileged(Native Method)&lt;span class=&quot;error&quot;&gt;&amp;#91;:1.8.0_131&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at org.eclipse.osgi.internal.framework.BundleContextImpl.startActivator(BundleContextImpl.java:764)&lt;span class=&quot;error&quot;&gt;&amp;#91;org.eclipse.osgi-3.10.101.v20150820-1432.jar:&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at org.eclipse.osgi.internal.framework.BundleContextImpl.start(BundleContextImpl.java:721)&lt;span class=&quot;error&quot;&gt;&amp;#91;org.eclipse.osgi-3.10.101.v20150820-1432.jar:&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at org.eclipse.osgi.internal.framework.EquinoxBundle.startWorker0(EquinoxBundle.java:941)&lt;span class=&quot;error&quot;&gt;&amp;#91;org.eclipse.osgi-3.10.101.v20150820-1432.jar:&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at org.eclipse.osgi.internal.framework.EquinoxBundle$EquinoxModule.startWorker(EquinoxBundle.java:318)&lt;span class=&quot;error&quot;&gt;&amp;#91;org.eclipse.osgi-3.10.101.v20150820-1432.jar:&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at org.eclipse.osgi.container.Module.doStart(Module.java:571)&lt;span class=&quot;error&quot;&gt;&amp;#91;org.eclipse.osgi-3.10.101.v20150820-1432.jar:&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at org.eclipse.osgi.container.Module.start(Module.java:439)&lt;span class=&quot;error&quot;&gt;&amp;#91;org.eclipse.osgi-3.10.101.v20150820-1432.jar:&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at org.eclipse.osgi.internal.framework.EquinoxBundle.start(EquinoxBundle.java:392)&lt;span class=&quot;error&quot;&gt;&amp;#91;org.eclipse.osgi-3.10.101.v20150820-1432.jar:&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at org.eclipse.osgi.internal.framework.EquinoxBundle.start(EquinoxBundle.java:411)&lt;span class=&quot;error&quot;&gt;&amp;#91;org.eclipse.osgi-3.10.101.v20150820-1432.jar:&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at org.apache.karaf.features.internal.service.FeaturesServiceImpl.startBundle(FeaturesServiceImpl.java:1287)&lt;span class=&quot;error&quot;&gt;&amp;#91;9:org.apache.karaf.features.core:4.0.9&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at org.apache.karaf.features.internal.service.Deployer.deploy(Deployer.java:860)&lt;span class=&quot;error&quot;&gt;&amp;#91;9:org.apache.karaf.features.core:4.0.9&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at org.apache.karaf.features.internal.service.FeaturesServiceImpl.doProvision(FeaturesServiceImpl.java:1176)&lt;span class=&quot;error&quot;&gt;&amp;#91;9:org.apache.karaf.features.core:4.0.9&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at org.apache.karaf.features.internal.service.FeaturesServiceImpl$1.call(FeaturesServiceImpl.java:1074)&lt;span class=&quot;error&quot;&gt;&amp;#91;9:org.apache.karaf.features.core:4.0.9&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)&lt;span class=&quot;error&quot;&gt;&amp;#91;:1.8.0_131&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)&lt;span class=&quot;error&quot;&gt;&amp;#91;:1.8.0_131&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)&lt;span class=&quot;error&quot;&gt;&amp;#91;:1.8.0_131&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at java.lang.Thread.run(Thread.java:748)&lt;span class=&quot;error&quot;&gt;&amp;#91;:1.8.0_131&amp;#93;&lt;/span&gt;&lt;br/&gt;
Caused by: java.lang.ExceptionInInitializerError&lt;br/&gt;
	at org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.controller.bmp.impl.rev150518.$YangModuleInfoImpl.&amp;lt;init&amp;gt;($YangModuleInfoImpl.java:31)&lt;br/&gt;
	at org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.controller.bmp.impl.rev150518.$YangModuleInfoImpl.&amp;lt;clinit&amp;gt;($YangModuleInfoImpl.java:10)&lt;br/&gt;
	at org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.controller.bmp.impl.rev150518.$YangModelBindingProvider.getModuleInfo($YangModelBindingProvider.java:6)&lt;br/&gt;
	at org.opendaylight.controller.config.manager.impl.osgi.mapping.ModuleInfoBundleTracker.retrieveModuleInfo(ModuleInfoBundleTracker.java:147)&lt;br/&gt;
	... 28 more&lt;br/&gt;
Caused by: java.lang.IllegalStateException: Resource &apos;/META-INF/yang/odl-bgp-rib-spi-cfg.yang&apos; is missing&lt;br/&gt;
	at org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.controller.bgp.rib.spi.rev131115.$YangModuleInfoImpl.&amp;lt;init&amp;gt;($YangModuleInfoImpl.java:30)&lt;br/&gt;
	at org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.controller.bgp.rib.spi.rev131115.$YangModuleInfoImpl.&amp;lt;clinit&amp;gt;($YangModuleInfoImpl.java:10)&lt;br/&gt;
	... 32 more&lt;/p&gt;</comment>
                            <comment id="46218" author="cdgasparini" created="Mon, 10 Jul 2017 10:31:55 +0000"  >&lt;p&gt;yang file is seen inside the bundle as expected&lt;/p&gt;</comment>
                            <comment id="46219" author="pgubka@cisco.com" created="Mon, 24 Jul 2017 12:18:30 +0000"  >&lt;p&gt;The exception is present in the logs and the overall job has a very bad pass rate.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://logs.opendaylight.org/releng/jenkins092/bgpcep-csit-1node-userfeatures-only-nitrogen/90/odl1_karaf.log.gz&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://logs.opendaylight.org/releng/jenkins092/bgpcep-csit-1node-userfeatures-only-nitrogen/90/odl1_karaf.log.gz&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="46220" author="vrpolak" created="Fri, 28 Jul 2017 18:18:22 +0000"  >&lt;p&gt;I tried to narrow this down. The error happens when installing (on Karaf with no ODL features in featuresBoot):&lt;br/&gt;
  feature:install odl-bgpcep-bgp-rib-impl&lt;/p&gt;

&lt;p&gt;And it does not happen in either install in this order:&lt;br/&gt;
  feature:install odl-bgpcep-bgp-rib-api&lt;br/&gt;
  feature:install odl-bgpcep-bgp-rib-impl&lt;/p&gt;

&lt;p&gt;Here are the two final causes again:&lt;/p&gt;

&lt;p&gt;Caused by: java.lang.ExceptionInInitializerError&lt;br/&gt;
        at org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.controller.bgp.rib.impl.rev160330.$YangModuleInfoImpl.&amp;lt;init&amp;gt;($YangModuleInfoImpl.java:41)&lt;br/&gt;
        at org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.controller.bgp.rib.impl.rev160330.$YangModuleInfoImpl.&amp;lt;clinit&amp;gt;($YangModuleInfoImpl.java:10)&lt;br/&gt;
        at org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.controller.bgp.rib.impl.rev160330.$YangModelBindingProvider.getModuleInfo($YangModelBindingProvider.java:6)&lt;br/&gt;
        at org.opendaylight.controller.config.manager.impl.osgi.mapping.ModuleInfoBundleTracker.retrieveModuleInfo(ModuleInfoBundleTracker.java:147)&lt;br/&gt;
        ... 28 more&lt;br/&gt;
Caused by: java.lang.IllegalStateException: Resource &apos;/META-INF/yang/odl-bgp-rib-spi-cfg.yang&apos; is missing&lt;br/&gt;
        at org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.controller.bgp.rib.spi.rev131115.$YangModuleInfoImpl.&amp;lt;init&amp;gt;($YangModuleInfoImpl.java:30)&lt;br/&gt;
        at org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.controller.bgp.rib.spi.rev131115.$YangModuleInfoImpl.&amp;lt;clinit&amp;gt;($YangModuleInfoImpl.java:10)&lt;br/&gt;
        ... 32 more&lt;/p&gt;


&lt;p&gt;bgp.rib.spi.rev131115.$YangModuleInfoImpl implies the bundle was loaded enough for the class to be executing, but apparently not enough for locating resource present there.&lt;/p&gt;

&lt;p&gt;Assigning to Mdsal/bindingv1 as that (as opposed to config subsystem) is the part of code which does not work as expected.&lt;/p&gt;</comment>
                            <comment id="46221" author="rovarga" created="Fri, 28 Jul 2017 18:57:17 +0000"  >&lt;p&gt;So from infrastructure (controller-and-below) perspective what happens is:&lt;/p&gt;

&lt;p&gt;Compile-time:&lt;/p&gt;
&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;the resource is bundled by yang-maven-plugin&lt;/li&gt;
	&lt;li&gt;the code requesting it is generated by mdsal binding-v1&lt;/li&gt;
	&lt;li&gt;the result is packaged into a bundle&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;Run-time:&lt;/p&gt;
&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;the bundle is deployed into OSGi&lt;/li&gt;
	&lt;li&gt;the bundle enters RESOLVED state. binding-v1-generated code is structured in a way that ensures all the model&apos;s dependencies have been previously RESOLVED&lt;/li&gt;
	&lt;li&gt;the bundle is picked up by mdsal&apos;s binding runtime (listenining on OSGi events), identified as having model&lt;/li&gt;
	&lt;li&gt;the bundle is determined to contain a binding-v1-generated model provider&lt;/li&gt;
	&lt;li&gt;the bundle is added to a YANG parser reactor&lt;/li&gt;
	&lt;li&gt;SchemaContext assembly is attempted&lt;/li&gt;
	&lt;li&gt;the reactor requests the model source file from the generated code&lt;/li&gt;
	&lt;li&gt;Class.getResource() fails to find the file located in the same jar as the class&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;The only explanation for this is that something at-or-below OSGi is happening, probably involving karaf&apos;s bundle cache location.&lt;/p&gt;

&lt;p&gt;Check that the bundle is present in only a single feature, no bundle refreshes/reinstalls are happening. I suspect a reinstall, as that would involve erasing things from the filesystem...&lt;/p&gt;</comment>
                            <comment id="46222" author="rovarga" created="Fri, 28 Jul 2017 19:06:24 +0000"  >&lt;p&gt;Right, and:&lt;/p&gt;

&lt;p&gt;Caused by: java.lang.NoClassDefFoundError: Could not initialize class org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.controller.bgp.rib.spi.rev131115.$YangModuleInfoImpl&lt;br/&gt;
	at &lt;/p&gt;

&lt;p&gt;should never happen, either.&lt;/p&gt;</comment>
                            <comment id="46223" author="vrpolak" created="Tue, 1 Aug 2017 14:57:50 +0000"  >&lt;p&gt;&amp;gt; Check that the bundle is present in only a single feature, &lt;/p&gt;

&lt;p&gt;It is, only odl-bgpcep-bgp-rib-api feature depends directly on bgp-rib-spi bundle.&lt;/p&gt;

&lt;p&gt;But odl-bgpcep-bgp-rib-api feature also depends on bundles bgp-parser-api and bgp-parser-spi, which are also among dependencies of odl-bgpcep-bgp-parser feature. And both of those features are dependencies of odl-bgpcep-bgp feature, which is in featuresBoot.&lt;/p&gt;

&lt;p&gt;Is &quot;the bundle is present in only a single feature&quot; a Nitrogen requirement for all bundles (with bundled resources)?&lt;br/&gt;
If yes, multiple projects would need to restructure their features.&lt;/p&gt;

&lt;p&gt;&amp;gt; no bundle refreshes/reinstalls are happening. &lt;/p&gt;

&lt;p&gt;There is this segment, but it does not seem to be related:&lt;/p&gt;

&lt;p&gt;2017-08-01 12:17:01,688 | INFO  | pool-2-thread-1  | FeaturesServiceImpl              | 6 - org.apache.karaf.features.core - 4.0.9 | Stopping bundles:&lt;br/&gt;
2017-08-01 12:17:01,689 | INFO  | pool-2-thread-1  | FeaturesServiceImpl              | 6 - org.apache.karaf.features.core - 4.0.9 |   org.ops4j.pax.jdbc.config/1.0.1&lt;br/&gt;
2017-08-01 12:17:01,691 | INFO  | pool-2-thread-1  | FeaturesServiceImpl              | 6 - org.apache.karaf.features.core - 4.0.9 |   org.apache.servicemix.bundles.jasypt/1.9.2.1&lt;br/&gt;
2017-08-01 12:17:01,691 | INFO  | pool-2-thread-1  | FeaturesServiceImpl              | 6 - org.apache.karaf.features.core - 4.0.9 | Refreshing bundles:&lt;br/&gt;
2017-08-01 12:17:01,691 | INFO  | pool-2-thread-1  | FeaturesServiceImpl              | 6 - org.apache.karaf.features.core - 4.0.9 |     org.apache.servicemix.bundles.jasypt/1.9.2.1 (Should be wired to: javax.servlet-api/3.1.0 (through &lt;span class=&quot;error&quot;&gt;&amp;#91;org.apache.servicemix.bundles.jasypt/1.9.2.1&amp;#93;&lt;/span&gt; osgi.wiring.package; filter:=&quot;(osgi.wiring.package=javax.servlet)&quot;; resolution:=optional))&lt;br/&gt;
2017-08-01 12:17:01,691 | INFO  | pool-2-thread-1  | FeaturesServiceImpl              | 6 - org.apache.karaf.features.core - 4.0.9 |     org.ops4j.pax.jdbc.config/1.0.1 (Wired to org.apache.servicemix.bundles.jasypt/1.9.2.1 which is being refreshed)&lt;/p&gt;

&lt;p&gt;&amp;gt; I suspect a reinstall&lt;/p&gt;

&lt;p&gt;Not visible in karaf.log (at INFO level).&lt;/p&gt;</comment>
                            <comment id="46224" author="vrpolak" created="Wed, 2 Aug 2017 13:51:27 +0000"  >&lt;p&gt;&amp;gt; which are also among dependencies&lt;/p&gt;

&lt;p&gt;I tried to extract the two bundles to a separate feature &lt;span class=&quot;error&quot;&gt;&amp;#91;1&amp;#93;&lt;/span&gt;. But it had no effect on the test behavior. Both &quot;resource is missing&quot; and &quot;could not initialize class&quot; error are still present in the karaf log &lt;span class=&quot;error&quot;&gt;&amp;#91;2&amp;#93;&lt;/span&gt;.&lt;/p&gt;

&lt;p&gt;&amp;gt; the reactor requests the model source file from the generated code&lt;/p&gt;

&lt;p&gt;Not sure about that. I mean, I think this Bug hits already in the &quot;the bundle is determined to contain a binding-v1-generated model provider&quot; step. Line numbers in the stack traces show the exception comes from the constructor (line generated here &lt;span class=&quot;error&quot;&gt;&amp;#91;3&amp;#93;&lt;/span&gt;, called from downstream constructor line generated here &lt;span class=&quot;error&quot;&gt;&amp;#91;4&amp;#93;&lt;/span&gt;), as opposed to coming from getModuleSourceStream (line generated here &lt;span class=&quot;error&quot;&gt;&amp;#91;5&amp;#93;&lt;/span&gt;).&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;1&amp;#93;&lt;/span&gt; &lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/61036/2&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/61036/2&lt;/a&gt;&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;2&amp;#93;&lt;/span&gt; &lt;a href=&quot;https://logs.opendaylight.org/sandbox/jenkins091/bgpcep-csit-1node-userfeatures-only-nitrogen/2/odl1_karaf.log.gz&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://logs.opendaylight.org/sandbox/jenkins091/bgpcep-csit-1node-userfeatures-only-nitrogen/2/odl1_karaf.log.gz&lt;/a&gt;&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;3&amp;#93;&lt;/span&gt; &lt;a href=&quot;https://git.opendaylight.org/gerrit/gitweb?p=mdsal.git;a=blob;f=binding/mdsal-binding-java-api-generator/src/main/java/org/opendaylight/mdsal/binding/java/api/generator/YangModuleInfoTemplate.xtend;h=5b791a57a69ca829b95ba6cf1649a1ffc2652603;hb=refs/heads/master#l140&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/gitweb?p=mdsal.git;a=blob;f=binding/mdsal-binding-java-api-generator/src/main/java/org/opendaylight/mdsal/binding/java/api/generator/YangModuleInfoTemplate.xtend;h=5b791a57a69ca829b95ba6cf1649a1ffc2652603;hb=refs/heads/master#l140&lt;/a&gt;&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;4&amp;#93;&lt;/span&gt; &lt;a href=&quot;https://git.opendaylight.org/gerrit/gitweb?p=mdsal.git;a=blob;f=binding/mdsal-binding-java-api-generator/src/main/java/org/opendaylight/mdsal/binding/java/api/generator/YangModuleInfoTemplate.xtend;h=5b791a57a69ca829b95ba6cf1649a1ffc2652603;hb=refs/heads/master#l123&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/gitweb?p=mdsal.git;a=blob;f=binding/mdsal-binding-java-api-generator/src/main/java/org/opendaylight/mdsal/binding/java/api/generator/YangModuleInfoTemplate.xtend;h=5b791a57a69ca829b95ba6cf1649a1ffc2652603;hb=refs/heads/master#l123&lt;/a&gt;&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;5&amp;#93;&lt;/span&gt; &lt;a href=&quot;https://git.opendaylight.org/gerrit/gitweb?p=mdsal.git;a=blob;f=binding/mdsal-binding-java-api-generator/src/main/java/org/opendaylight/mdsal/binding/java/api/generator/YangModuleInfoTemplate.xtend;h=5b791a57a69ca829b95ba6cf1649a1ffc2652603;hb=refs/heads/master#l168&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/gitweb?p=mdsal.git;a=blob;f=binding/mdsal-binding-java-api-generator/src/main/java/org/opendaylight/mdsal/binding/java/api/generator/YangModuleInfoTemplate.xtend;h=5b791a57a69ca829b95ba6cf1649a1ffc2652603;hb=refs/heads/master#l168&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="46225" author="rovarga" created="Fri, 4 Aug 2017 15:43:12 +0000"  >&lt;p&gt;Enabled traces on org.opendaylight.controller.config.manager.impl.osgi show that the bundle events are firing in an order which is not making complete sense:&lt;/p&gt;

&lt;p&gt;2017-08-04 17:31:43,832 | DEBUG | pool-2-thread-1  | ModuleInfoBundleTracker          | 117 - org.opendaylight.controller.config-manager - 0.7.0.Nitrogen | Got addingBundle(org.opendaylight.bgpcep.bgp-rib-api_0.8.0.Nitrogen &lt;span class=&quot;error&quot;&gt;&amp;#91;107&amp;#93;&lt;/span&gt;) with YangModelBindingProvider resource bundleentry://107.fwk521960438/META-INF/service&lt;br/&gt;
s/org.opendaylight.yangtools.yang.binding.YangModelBindingProvider&lt;br/&gt;
2017-08-04 17:31:43,837 | DEBUG | pool-2-thread-1  | ModuleInfoBundleTracker          | 117 - org.opendaylight.controller.config-manager - 0.7.0.Nitrogen | Got addingBundle(org.opendaylight.bgpcep.bgp-rib-impl_0.8.0.Nitrogen &lt;span class=&quot;error&quot;&gt;&amp;#91;108&amp;#93;&lt;/span&gt;) with YangModelBindingProvider resource bundleentry://108.fwk521960438/META-INF/services/org.opendaylight.yangtools.yang.binding.YangModelBindingProvider&lt;br/&gt;
2017-08-04 17:31:43,861 | DEBUG | pool-2-thread-1  | ModuleInfoBundleTracker          | 117 - org.opendaylight.controller.config-manager - 0.7.0.Nitrogen | Got addingBundle(org.opendaylight.bgpcep.bgp-rib-spi_0.8.0.Nitrogen &lt;span class=&quot;error&quot;&gt;&amp;#91;109&amp;#93;&lt;/span&gt;) with YangModelBindingProvider resource bundleentry://109.fwk521960438/META-INF/services/org.opendaylight.yangtools.yang.binding.YangModelBindingProvider&lt;/p&gt;

&lt;p&gt;I.e. bgp-rib-impl is reported as resolved just before bgp-rib-spi on which it depends. The exception is thrown during processing of bgp-rib-impl.&lt;/p&gt;</comment>
                            <comment id="46237" author="rovarga" created="Fri, 4 Aug 2017 15:43:57 +0000"  >&lt;p&gt;Attachment k.log.gz has been added with description: logs with tracing enabled&lt;/p&gt;</comment>
                            <comment id="46226" author="rovarga" created="Fri, 4 Aug 2017 16:16:30 +0000"  >&lt;p&gt;This is a bug in ModuleInfoBundleTracker, as it is reacting to wrong events.&lt;/p&gt;</comment>
                            <comment id="46227" author="rovarga" created="Fri, 4 Aug 2017 16:18:29 +0000"  >&lt;p&gt;The issue is that we are starting scanning the bundle when it is first reported, which is usually with no event at all &amp;#8211; hence we are reacting to bundles even before they are actually ordered by their dependencies and before they are actually resolved.&lt;/p&gt;</comment>
                            <comment id="46228" author="rovarga" created="Fri, 4 Aug 2017 21:09:11 +0000"  >&lt;p&gt;After prototyping a patch, &lt;a href=&quot;https://git.opendaylight.org/gerrit/61194&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/61194&lt;/a&gt;, which does not help one bit, I got struck with the tail end of the log message:&lt;/p&gt;

&lt;p&gt;Caused by: java.lang.IllegalStateException: Resource &apos;/META-INF/yang/odl-bgp-rib-spi-cfg.yang&apos; is missing&lt;br/&gt;
        at org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.controller.bgp.rib.spi.rev131115.$YangModuleInfoImpl.&amp;lt;init&amp;gt;($YangModuleInfoImpl.java:30)&lt;span class=&quot;error&quot;&gt;&amp;#91;108:org.opendaylight.bgpcep.bgp-rib-impl:0.8.0.Nitrogen&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.controller.bgp.rib.spi.rev131115.$YangModuleInfoImpl.&amp;lt;clinit&amp;gt;($YangModuleInfoImpl.java:10)&lt;span class=&quot;error&quot;&gt;&amp;#91;108:org.opendaylight.bgpcep.bgp-rib-impl:0.8.0.Nitrogen&amp;#93;&lt;/span&gt;&lt;br/&gt;
        ... 33 more&lt;/p&gt;

&lt;p&gt;Note how spi.rev131115 YangModuleInfoImpl resides in bgp-rib-impl &amp;#8211; and it should be in bgp-rib-spi. Rebuilding bgpcep shows that the resulting jar file in fact contains these files &amp;#8211; hence we are dealing with a split package, which leads to this grief.&lt;/p&gt;</comment>
                            <comment id="46229" author="rovarga" created="Fri, 4 Aug 2017 21:24:50 +0000"  >&lt;p&gt;This regression was introduced by &lt;a href=&quot;https://git.opendaylight.org/gerrit/39808&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/39808&lt;/a&gt; and just happened to work.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://git.opendaylight.org/gerrit/61211&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/61211&lt;/a&gt; fixes it up.&lt;/p&gt;</comment>
                            <comment id="46230" author="kevixw@gmail.com" created="Fri, 4 Aug 2017 23:07:48 +0000"  >&lt;p&gt;Hi Robert,&lt;/p&gt;

&lt;p&gt;I am confused about the cause.  Is it due to wrong order of &quot;export-package&quot; or what?  I see my patch only exported more packages.  I am not very clear what your patch actually fixes.&lt;br/&gt;
I am also wondering why this is considered as regression as the patched was merged 1 year ago.  Do we have similar issue in Boron/Carbon before?&lt;/p&gt;

&lt;p&gt;Please help me understand the problem.  Thanks.&lt;/p&gt;</comment>
                            <comment id="46231" author="rovarga" created="Fri, 4 Aug 2017 23:13:02 +0000"  >&lt;p&gt;Compare the resulting MANIFEST.MF and .jar contents vs. the contents of things like bgp-rib-api.&lt;/p&gt;

&lt;p&gt;Your change caused packages from dependencies to be re-exported, leading to them being merged in bgp-rib-impl.&lt;/p&gt;</comment>
                            <comment id="46232" author="kevixw@gmail.com" created="Fri, 4 Aug 2017 23:24:23 +0000"  >&lt;p&gt;To be clear org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.controller.bgp.rib.spi.rev131115&lt;br/&gt;
is re-exported by org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.controller.bgp.* and caused the problem?&lt;/p&gt;

&lt;p&gt;Is this problem tight to karaf4?  I never see such issue before.&lt;/p&gt;</comment>
                            <comment id="46233" author="rovarga" created="Fri, 4 Aug 2017 23:36:17 +0000"  >&lt;p&gt;Compare the results as I mentioned, google for &apos;osgi split package&apos;. If what is happening and why is not clear, use &apos;karaf debug&apos; and attach a debugger to under what is going on.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10000">
                    <name>Blocks</name>
                                            <outwardlinks description="blocks">
                                        <issuelink>
            <issuekey id="23907">BGPCEP-667</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="22146">ODLPARENT-23</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10002">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                        <issuelink>
            <issuekey id="23907">BGPCEP-667</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                            <attachment id="13239" name="k.log.gz" size="63581" author="rovarga" created="Fri, 4 Aug 2017 15:43:57 +0000"/>
                            <attachment id="13236" name="karaf.log" size="874670" author="claudio.gasparini@pantheon.tech" created="Wed, 21 Jun 2017 15:30:14 +0000"/>
                            <attachment id="13237" name="log.tar.gz" size="321513" author="claudio.gasparini@pantheon.tech" created="Wed, 21 Jun 2017 15:31:42 +0000"/>
                            <attachment id="13238" name="odl1_karaf.log.gz" size="39814" author="pgubka@cisco.com" created="Tue, 4 Jul 2017 16:55:11 +0000"/>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                            <customfield id="customfield_11400" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_10208" key="com.atlassian.jira.plugin.system.customfieldtypes:textfield">
                        <customfieldname>External issue ID</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>8722</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10201" key="com.atlassian.jira.plugin.system.customfieldtypes:url">
                        <customfieldname>External issue URL</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[https://bugs.opendaylight.org/show_bug.cgi?id=8722]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10206" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Issue Type</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10300"><![CDATA[Bug]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10204" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>ODL SR Target Milestone</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10320"><![CDATA[Nitrogen]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                    <customfield id="customfield_10000" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i02drr:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                </customfields>
    </item>
</channel>
</rss>