<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 19:53:15 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>[CONTROLLER-529] Cannot bind a sample plugin similar to the toaster plugin with ODL.  Java illegal state exception thrown.</title>
                <link>https://jira.opendaylight.org/browse/CONTROLLER-529</link>
                <project id="10113" key="CONTROLLER">controller</project>
                    <description>&lt;p&gt;I was trying to create a toaster plugin by replicating the steps provided in the tutorial.  I got far till Part 1 and when I tried to run ODL then and I got the error of capabilities not found. Michal Rehak advised me that the module is not exposed correctly and I followed the steps given by him and modified the controller.xml in toaster-it folder, I was still stuck at the same exception.&lt;/p&gt;

&lt;p&gt;I am not sure whether this a bug or something important that I am missing, but I wanted to track this issue.&lt;/p&gt;

&lt;p&gt;Also my toaster module name &apos;toaster-provider-2&apos;, I made this change so not to overlap with the existing toaster.&lt;/p&gt;

&lt;p&gt;Pasting the error below.&lt;/p&gt;


&lt;p&gt;Exception in thread &quot;config-pusher&quot; java.lang.IllegalStateException: Max wait for capabilities reached.Not enough capabilities for ConfigSnapshot&lt;/p&gt;
{configSnapshot=&apos;&amp;lt;data xmlns=&quot;urn:ietf:params:xml:ns:netconf:base:1.0&quot;&amp;gt;&amp;lt;modules xmlns=&quot;urn:opendaylight:params:xml:ns:yang:controller:config&quot;&amp;gt;&amp;lt;module&amp;gt;&amp;lt;type xmlns:toaster=&quot;urn:opendaylight:params:xml:ns:yang:controller:config:toaster-provider-2:impl&quot;&amp;gt;

                    toaster:toaster-provider-impl-2

                  &amp;lt;/type&amp;gt;&amp;lt;name&amp;gt;toaster-provider-impl-2&amp;lt;/name&amp;gt;&amp;lt;data-broker&amp;gt;&amp;lt;typexmlns:binding=&quot;urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding&quot;&amp;gt;binding:binding-data-broker&amp;lt;/type&amp;gt;&amp;lt;name&amp;gt;binding-data-broker&amp;lt;/name&amp;gt;

                  &amp;lt;/data-broker&amp;gt;

                 

                &amp;lt;/module&amp;gt;

      &amp;lt;/modules&amp;gt;

    &amp;lt;/data&amp;gt;

 

  &apos;, capabilities=[urn:opendaylight:params:xml:ns:yang:controller:config:toaster-provider-2:impl?module=toaster-provider-impl-2&amp;amp;revision=2014-05-22]}
&lt;p&gt;. Expected but not found: &lt;span class=&quot;error&quot;&gt;&amp;#91;urn:opendaylight:params:xml:ns:yang:controller:config:toaster-provider-2:impl?module=toaster-provider-impl-2&amp;amp;revision=2014-05-22&amp;#93;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;                at org.opendaylight.controller.netconf.persist.impl.ConfigPusher.getOperationServiceWithRetries(ConfigPusher.java:111)&lt;/p&gt;

&lt;p&gt;                at org.opendaylight.controller.netconf.persist.impl.ConfigPusher.pushConfigWithConflictingVersionRetries(ConfigPusher.java:87)&lt;/p&gt;

&lt;p&gt;                at org.opendaylight.controller.netconf.persist.impl.ConfigPusher.pushConfigs(ConfigPusher.java:69)&lt;/p&gt;

&lt;p&gt;                at org.opendaylight.controller.netconf.persist.impl.osgi.ConfigPersisterActivator$InnerCustomizer$1.run(ConfigPersisterActivator.java:156)&lt;/p&gt;

&lt;p&gt;                at java.lang.Thread.run(Thread.java:744)&lt;/p&gt;

&lt;p&gt;Caused by: org.opendaylight.controller.netconf.persist.impl.ConfigPusher$NotEnoughCapabilitiesException: Not enough capabilities for ConfigSnapshot{configSnapshot=&apos;&amp;lt;data xmlns=&quot;urn:ietf:params:xml:ns:netconf:base:1.0&quot;&amp;gt;&amp;lt;modules xmlns=&quot;urn:opendaylight:params:xml:ns:yang:controller:config&quot;&amp;gt;&amp;lt;module&amp;gt;&amp;lt;type xmlns:toaster=&quot;urn:opendaylight:params:xml:ns:yang:controller:config:toaster-provider-2:impl&quot;&amp;gt;&lt;/p&gt;

&lt;p&gt;                    toaster:toaster-provider-impl-2&lt;/p&gt;

&lt;p&gt;                  &amp;lt;/type&amp;gt;&amp;lt;name&amp;gt;toaster-provider-impl-2&amp;lt;/name&amp;gt;&amp;lt;data-broker&amp;gt;&amp;lt;typexmlns:binding=&quot;urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding&quot;&amp;gt;binding:binding-data-broker&amp;lt;/type&amp;gt;&amp;lt;name&amp;gt;binding-data-broker&amp;lt;/name&amp;gt;&lt;/p&gt;

&lt;p&gt;                  &amp;lt;/data-broker&amp;gt;&lt;/p&gt;



&lt;p&gt;                &amp;lt;/module&amp;gt;&lt;/p&gt;

&lt;p&gt;      &amp;lt;/modules&amp;gt;&lt;/p&gt;

&lt;p&gt;    &amp;lt;/data&amp;gt;&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: Linux&lt;br/&gt;
Platform: PC&lt;/p&gt;</environment>
        <key id="25083">CONTROLLER-529</key>
            <summary>Cannot bind a sample plugin similar to the toaster plugin with ODL.  Java illegal state exception thrown.</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="10003">Cannot Reproduce</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="doshisiddharth1@gmail.com">Siddharth D Doshi</reporter>
                        <labels>
                    </labels>
                <created>Mon, 2 Jun 2014 12:21:22 +0000</created>
                <updated>Tue, 25 Jul 2023 08:23:49 +0000</updated>
                            <resolved>Mon, 14 Jul 2014 10:46:16 +0000</resolved>
                                                                    <component>netconf</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>5</watches>
                                                                                                                <comments>
                            <comment id="48449" author="anu.nair@ericsson.com" created="Mon, 2 Jun 2014 17:59:47 +0000"  >&lt;p&gt;I also have the same error. Followed the toaster example and not able to load my module. &lt;br/&gt;
Same exception is thrown.&lt;/p&gt;

&lt;p&gt;NetconfOperationServiceImpl::yangstoreSnapShot doesn&#8217;t have the new module. &lt;br/&gt;
Set&amp;lt;module&amp;gt; modules = yangStoreSnapshot.getModules(); &lt;/p&gt;

&lt;p&gt;Not sure how to find / locate the module&lt;/p&gt;</comment>
                            <comment id="48450" author="tony.tkacik@gmail.com" created="Thu, 19 Jun 2014 08:16:55 +0000"  >&lt;p&gt;Did you added references to your new bundles in integration test, which is failing?&lt;/p&gt;</comment>
                            <comment id="48451" author="tony.tkacik@gmail.com" created="Mon, 14 Jul 2014 10:46:16 +0000"  >&lt;p&gt;Please reopen this bug with additional information, when you are able to replicate it.&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                    </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>1122</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=1122]]></customfieldvalue>

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

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