<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:15:05 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-456] Honeycomb mounting sometimes fails in Oxygen</title>
                <link>https://jira.opendaylight.org/browse/NETCONF-456</link>
                <project id="10142" key="NETCONF">netconf</project>
                    <description>&lt;p&gt;This doesn&apos;t happen everytime.&lt;/p&gt;

&lt;p&gt;The environment is Oxygen three node cluster.&lt;/p&gt;

&lt;p&gt;Node mount configuration:&lt;/p&gt;
                {
                    &quot;netconf-node-topology:between-attempts-timeout-millis&quot;: 10000,
                    &quot;netconf-node-topology:connection-timeout-millis&quot;: 10000,
                    &quot;netconf-node-topology:default-request-timeout-millis&quot;: 10000,
                    &quot;netconf-node-topology:host&quot;: &quot;192.168.10.26&quot;,
                    &quot;netconf-node-topology:keepalive-delay&quot;: 0,
                    &quot;netconf-node-topology:max-connection-attempts&quot;: 10,
                    &quot;netconf-node-topology:password&quot;: &quot;HBfU1gKHExw89lMB3juq1g==&quot;,
                    &quot;netconf-node-topology:port&quot;: 2831,
                    &quot;netconf-node-topology:tcp-only&quot;: false,
                    &quot;netconf-node-topology:username&quot;: &quot;HBfU1gKHExw89lMB3juq1g==&quot;,
                    &quot;node-id&quot;: &quot;overcloud-novacompute-0.opnfv.org&quot;
                }

&lt;p&gt;Attached log corresponds to one of our nodes being stuck in connecting state:&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;root@overcloud-controller-0 scripts&amp;#93;&lt;/span&gt;# curl -XGET -u admin:admin &lt;a href=&quot;http://$(grep&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://$(grep&lt;/a&gt; host /opt/opendaylight/etc/jetty.xml | grep -Eo &apos;(&lt;span class=&quot;error&quot;&gt;&amp;#91;0-9&amp;#93;&lt;/span&gt;&lt;/p&gt;

{1,3}.){3}&lt;span class=&quot;error&quot;&gt;&amp;#91;0-9&amp;#93;&lt;/span&gt;{1,3}

&lt;p&gt;&apos; | head -1):8081/restconf/operational/network-topology:network-topology/ | python -mjson.tool | grep netconf-node-topology:connection-status -A 4&lt;br/&gt;
&quot;netconf-node-topology:connection-status&quot;: &quot;connecting&quot;,&lt;br/&gt;
&quot;netconf-node-topology:host&quot;: &quot;192.168.10.26&quot;,&lt;br/&gt;
&quot;netconf-node-topology:port&quot;: 2831,&lt;br/&gt;
&quot;netconf-node-topology:unavailable-capabilities&quot;: {},&lt;br/&gt;
&quot;node-id&quot;: &quot;overcloud-novacompute-0.opnfv.org&quot;&lt;br/&gt;
&#8211;&lt;br/&gt;
&quot;netconf-node-topology:connection-status&quot;: &quot;connected&quot;,&lt;br/&gt;
&quot;netconf-node-topology:host&quot;: &quot;192.168.10.22&quot;,&lt;br/&gt;
&quot;netconf-node-topology:port&quot;: 2831,&lt;br/&gt;
&quot;netconf-node-topology:unavailable-capabilities&quot;: {},&lt;br/&gt;
&quot;node-id&quot;: &quot;overcloud-controller-1.opnfv.org&quot;&lt;br/&gt;
&#8211;&lt;br/&gt;
&quot;netconf-node-topology:connection-status&quot;: &quot;connected&quot;,&lt;br/&gt;
&quot;netconf-node-topology:host&quot;: &quot;192.168.10.14&quot;,&lt;br/&gt;
&quot;netconf-node-topology:port&quot;: 2831,&lt;br/&gt;
&quot;netconf-node-topology:unavailable-capabilities&quot;: {},&lt;br/&gt;
&quot;node-id&quot;: &quot;overcloud-controller-0.opnfv.org&quot;&lt;br/&gt;
&#8211;&lt;br/&gt;
&quot;netconf-node-topology:connection-status&quot;: &quot;connected&quot;,&lt;br/&gt;
&quot;netconf-node-topology:host&quot;: &quot;192.168.10.20&quot;,&lt;br/&gt;
&quot;netconf-node-topology:port&quot;: 2831,&lt;br/&gt;
&quot;netconf-node-topology:unavailable-capabilities&quot;: {},&lt;br/&gt;
&quot;node-id&quot;: &quot;overcloud-controller-2.opnfv.org&quot;&lt;br/&gt;
&#8211;&lt;br/&gt;
&quot;netconf-node-topology:connection-status&quot;: &quot;connected&quot;,&lt;br/&gt;
&quot;netconf-node-topology:host&quot;: &quot;192.168.10.24&quot;,&lt;br/&gt;
&quot;netconf-node-topology:port&quot;: 2831,&lt;br/&gt;
&quot;netconf-node-topology:unavailable-capabilities&quot;: {},&lt;br/&gt;
&quot;node-id&quot;: &quot;overcloud-novacompute-1.opnfv.org&quot;&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: Linux&lt;br/&gt;
Platform: PC&lt;/p&gt;</environment>
        <key id="21469">NETCONF-456</key>
            <summary>Honeycomb mounting sometimes fails in Oxygen</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="tcere">Tomas Cere</assignee>
                                    <reporter username="juraj.linkes">Juraj Linke&#353;</reporter>
                        <labels>
                    </labels>
                <created>Wed, 23 Aug 2017 09:18:57 +0000</created>
                <updated>Fri, 15 Mar 2019 22:22:44 +0000</updated>
                            <resolved>Mon, 25 Sep 2017 11:47:20 +0000</resolved>
                                                                    <component>netconf</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>4</watches>
                                                                                                                <comments>
                            <comment id="40192" author="juraj.linkes" created="Wed, 23 Aug 2017 09:18:57 +0000"  >&lt;p&gt;Attachment compute0-karaf.zip has been added with description: karaf log&lt;/p&gt;</comment>
                            <comment id="40186" author="jmorvay@cisco.com" created="Thu, 24 Aug 2017 10:31:27 +0000"  >&lt;p&gt;First of all, I have to mention that this issue only with clustered netconf topology.&lt;/p&gt;

&lt;p&gt;This seems to be related to patch &lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/52528/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/52528/&lt;/a&gt;. This patch introduced netconf mountpoints credentials encryption. Now, I won&apos;t go into detail how does this credentials encryption exactly work, I have already described it in &lt;a href=&quot;https://jira.opendaylight.org/browse/NETCONF-450&quot; title=&quot;Failed to decrypt encoded data while mounting NETCONF&quot; class=&quot;issue-link&quot; data-issue-key=&quot;NETCONF-450&quot;&gt;&lt;del&gt;NETCONF-450&lt;/del&gt;&lt;/a&gt; and &lt;a href=&quot;https://jira.opendaylight.org/browse/NETCONF-453&quot; title=&quot;odl-netconf-topology creates two parallel connection for each configured device&quot; class=&quot;issue-link&quot; data-issue-key=&quot;NETCONF-453&quot;&gt;&lt;del&gt;NETCONF-453&lt;/del&gt;&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;The problem is this second DS write of netconf node config with encrypted credentials into netconf-topology. This triggers the reconfiguration of netconf node mountpoint. In the case that mountpoint has not been properly initialized, this reconfiguration can cause some problems. I think it&apos;s issue with some incorrect resource cleanup after disconnecting the old connection and closing the sal facade as a first step of reconfiguration process.&lt;/p&gt;</comment>
                            <comment id="40187" author="klou" created="Tue, 5 Sep 2017 19:38:32 +0000"  >&lt;p&gt;Is this a blocker for nitrogen?  Please confirm.  Thanks!&lt;/p&gt;</comment>
                            <comment id="40188" author="juraj.linkes" created="Wed, 6 Sep 2017 07:49:02 +0000"  >&lt;p&gt;Yes, it is a blocker for Nitrogen.&lt;/p&gt;</comment>
                            <comment id="40189" author="jmorvay@cisco.com" created="Wed, 6 Sep 2017 10:02:39 +0000"  >&lt;p&gt;There is some discrepancy between stable/nitrogen and stable/carbon branches. We have to cherry-pick some patches to nitrogen (and master) so we will end up in the same state regarding the credentials encryption as in carbon.&lt;/p&gt;

&lt;p&gt;There was a consensus that we should not automatically encrypt mountpoint&apos;s credentials because it triggers the problematic second data tree change event. So the original patch that introduced it was reverted in carbon. &lt;/p&gt;

&lt;p&gt;Cherry-pick to nitrogen:&lt;br/&gt;
&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/62680/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/62680/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;To allow users to encrypt mountpoint&apos;s credentials, new add-netconf-node RPC is introduced. This RPC does not issue problematic second write of the same netconf node to DS, so this approach does not suffer from the issues the original approach suffers from.&lt;/p&gt;

&lt;p&gt;Cherry-picks to nitrogen:&lt;br/&gt;
&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/62681/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/62681/&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/62682/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/62682/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The first patch actually introduces SSH public key authentication to netconf southbound. We need this patch to avoid complex cherry-pick of the second patch (that is actual add-netconf-node RPC), because it depends on some functionality the first patch introduces. Anyway, the public key authentication is present on Carbon and should be present also on Nitrogen.&lt;/p&gt;

&lt;p&gt;We also depends on some util stuff from AAA project and we need to port that util stuff to Nitrogen too.&lt;/p&gt;

&lt;p&gt;Cherry-pick to nitrogen:&lt;br/&gt;
&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/62686/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/62686/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;With all of this in nitrogen, the bug should not be present anymore. There will be no automatic second writes to DS for each new netconf node, so there won&apos;t be no reconnects during mountpoints creation.&lt;/p&gt;

&lt;p&gt;However, we can still hit this when application or user will try to write the same node to netconf-topology multiple times in short time. I am going to open a new bug for that, since that is not blocker and does not happen automatically on our side with each new netconf node as this bug itself.&lt;/p&gt;</comment>
                            <comment id="40190" author="jmorvay@cisco.com" created="Wed, 6 Sep 2017 15:26:26 +0000"  >&lt;p&gt;The patches are in Nitrogen already. We have to cherry-pick them also to Oxygen.&lt;/p&gt;</comment>
                            <comment id="40191" author="tcere" created="Mon, 25 Sep 2017 11:47:20 +0000"  >&lt;p&gt;All cherry-picks should be in Oxygen now&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10002">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                        <issuelink>
            <issuekey id="19394">INTTEST-12</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                            <attachment id="12730" name="compute0-karaf.zip" size="249982" author="juraj.linkes@pantheon.tech" created="Wed, 23 Aug 2017 09:18:57 +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>9033</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=9033]]></customfieldvalue>

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

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

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