<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:14:27 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>[NETCONF-218] &quot;odl-netconf-mdsal&quot; or &quot;odl-netconf-clustered-topology&quot; breaks feature:install in karaf client</title>
                <link>https://jira.opendaylight.org/browse/NETCONF-218</link>
                <project id="10142" key="NETCONF">netconf</project>
                    <description>&lt;p&gt;Tested on latest Boron.&lt;/p&gt;

&lt;p&gt;1. Extract bare ODL; cd to the distribution; run bin/start.&lt;br/&gt;
2. sshpass -pkaraf bin/client feature:install odl-restconf&lt;br/&gt;
3. sshpass -pkaraf bin/client feature:install odl-clustering-test-app&lt;br/&gt;
4. sshpass -pkaraf bin/client feature:install odl-netconf-mdsal&lt;br/&gt;
5. sshpass -pkaraf bin/client feature:install odl-netconf-connector-all&lt;/p&gt;

&lt;p&gt;The command 5 will be rejected with &quot;Failed to get the session&quot;.&lt;/p&gt;

&lt;p&gt;The same happens if in step 3 you say &quot;odl-netconf-mdsal&quot;.&lt;/p&gt;

&lt;p&gt;However the sequence works when you run &quot;bin/karaf&quot; at the step 1 and enter the &quot;feature:install&quot; commands at the karaf console prompt instead of using the karaf client.&lt;/p&gt;

&lt;p&gt;The logs show &quot;Duplicate interface name in class file Proxy&lt;/p&gt;
{some_GUID_here}
&lt;p&gt;&quot; (see attached file).&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="21231">NETCONF-218</key>
            <summary>&quot;odl-netconf-mdsal&quot; or &quot;odl-netconf-clustered-topology&quot; breaks feature:install in karaf client</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="jbehran@cisco.com">Jozef Behran</reporter>
                        <labels>
                    </labels>
                <created>Fri, 10 Jun 2016 09:38:51 +0000</created>
                <updated>Fri, 15 Mar 2019 22:22:25 +0000</updated>
                            <resolved>Mon, 17 Oct 2016 11:32:04 +0000</resolved>
                                                                    <component>netconf</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="39465" author="jbehran@cisco.com" created="Fri, 10 Jun 2016 09:38:51 +0000"  >&lt;p&gt;Attachment karaf.log.xz has been added with description: karaf.log from the steps described in the description&lt;/p&gt;</comment>
                            <comment id="39463" author="tcere" created="Mon, 13 Jun 2016 08:44:26 +0000"  >&lt;p&gt;(In reply to Jozef Behran from comment #0)&lt;br/&gt;
&amp;gt; Created attachment 1037 &lt;span class=&quot;error&quot;&gt;&amp;#91;details&amp;#93;&lt;/span&gt;&lt;br/&gt;
&amp;gt; karaf.log from the steps described in the description&lt;br/&gt;
&amp;gt; &lt;br/&gt;
&amp;gt; Tested on latest Boron.&lt;br/&gt;
&amp;gt; &lt;br/&gt;
&amp;gt; 1. Extract bare ODL; cd to the distribution; run bin/start.&lt;br/&gt;
&amp;gt; 2. sshpass -pkaraf bin/client feature:install odl-restconf&lt;br/&gt;
&amp;gt; 3. sshpass -pkaraf bin/client feature:install odl-clustering-test-app&lt;br/&gt;
&amp;gt; 4. sshpass -pkaraf bin/client feature:install odl-netconf-mdsal&lt;br/&gt;
&amp;gt; 5. sshpass -pkaraf bin/client feature:install odl-netconf-connector-all&lt;br/&gt;
&amp;gt; &lt;/p&gt;

&lt;p&gt;I just tried and I couldn&apos;t reproduce this. Are you installing the features one after another without leaving any time to actually finish installing the previous feature?&lt;/p&gt;

&lt;p&gt;&amp;gt; The command 5 will be rejected with &quot;Failed to get the session&quot;.&lt;br/&gt;
&amp;gt; &lt;br/&gt;
This suggests that karaf is still busy with the previous feature since this&lt;br/&gt;
is just a failure from the client script.&lt;/p&gt;

&lt;p&gt;&amp;gt; &lt;br/&gt;
&amp;gt; The logs show &quot;Duplicate interface name in class file Proxy&lt;/p&gt;
{some_GUID_here}
&lt;p&gt;&quot;&lt;br/&gt;
&amp;gt; (see attached file).&lt;br/&gt;
Unrelated&lt;/p&gt;</comment>
                            <comment id="39464" author="vrpolak" created="Mon, 17 Oct 2016 11:32:04 +0000"  >&lt;p&gt;I think I figured this one out.&lt;/p&gt;

&lt;p&gt;By default, the described 5 step procedure works.&lt;br/&gt;
But if user has exported KARAF_REDIRECT environment variable, pointing to a file in a directory which does not exist yet ($KARAF_HOME/data/log/ for example),&lt;br/&gt;
bin/start fails without any message, and of course client cannot connect when no ODL is running.&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                            <attachment id="12678" name="karaf.log.xz" size="11932" author="jbehran@cisco.com" created="Fri, 10 Jun 2016 09:38:51 +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>6045</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=6045]]></customfieldvalue>

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

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