<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:15:25 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-598] Keys and certificates used for Netconf over TLS not found after restart, Fluorine SR1</title>
                <link>https://jira.opendaylight.org/browse/NETCONF-598</link>
                <project id="10142" key="NETCONF">netconf</project>
                    <description>&lt;p&gt;Keys and certificates used for Netconf over TLS are configured using the RPCs in the opendaylight:netconf-keystore Yang model. After a restart of ODL, the netconf connector is unable to find keys and certificates that were configured before the restart. It throws an exception saying for example &quot;Unable to find private key&quot;.&lt;/p&gt;

&lt;p&gt;The keys and certificates can be read out over the restconf interface also after a restart, so they seem to be persistently stored. But internally, the netconf connector seem unaware of them, or unable to find them after the restart.&lt;/p&gt;</description>
                <environment></environment>
        <key id="31309">NETCONF-598</key>
            <summary>Keys and certificates used for Netconf over TLS not found after restart, Fluorine SR1</summary>
                <type id="10104" iconUrl="https://jira.opendaylight.org/secure/viewavatar?size=xsmall&amp;avatarId=10303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="3" iconUrl="https://jira.opendaylight.org/images/icons/priorities/major.svg">Medium</priority>
                        <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="JMorvay">Jakub Morvay</assignee>
                                    <reporter username="Martin_S">Martin Sandberg</reporter>
                        <labels>
                    </labels>
                <created>Mon, 14 Jan 2019 12:16:31 +0000</created>
                <updated>Thu, 17 Jan 2019 15:56:21 +0000</updated>
                            <resolved>Thu, 17 Jan 2019 15:56:21 +0000</resolved>
                                    <version>Fluorine</version>
                    <version>Neon</version>
                    <version>Fluorine SR1</version>
                                    <fixVersion>Neon</fixVersion>
                    <fixVersion>Fluorine SR2</fixVersion>
                                    <component>netconf</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="66229" author="jmorvay" created="Thu, 17 Jan 2019 13:42:46 +0000"  >&lt;p&gt;Hi &lt;a href=&quot;https://jira.opendaylight.org/secure/ViewProfile.jspa?name=Martin_S&quot; class=&quot;user-hover&quot; rel=&quot;Martin_S&quot;&gt;Martin_S&lt;/a&gt;, is it possible for you to provide me with the RPCs you use to configure keys and certificates? &lt;/p&gt;

&lt;p&gt;Also karaf log with the exception would be useful.&lt;/p&gt;</comment>
                            <comment id="66231" author="martin_s" created="Thu, 17 Jan 2019 14:40:26 +0000"  >&lt;p&gt;karaf log and restconf calls attached.&lt;/p&gt;

&lt;p&gt;Immediatly after restart, ODL enters a fast loop, where it keeps retrying to setup the netconf connection but fails when it can&apos;t find it&apos;s own private key it seems. This cyclic behavior is also reported in &lt;a href=&quot;https://jira.opendaylight.org/browse/NETCONF-597&quot; title=&quot;Improve robustness of Netconf over TLS setup procedure, Fluorine SR1&quot; class=&quot;issue-link&quot; data-issue-key=&quot;NETCONF-597&quot;&gt;NETCONF-597&lt;/a&gt;.&#160;&lt;/p&gt;

&lt;p&gt;I realize I didn&apos;t say so explicitly, but this test uses the ordinary non-clustered toplogy. The scenario is to configure the keys and certificates with the attached restconf calls, then successfully setup a netconf/tls connection to the device. After that, close down ODL and restart it. During restart, ODL reads the persistently stored connection configuration of the device and enters the unsuccessful cyclic setup attempt behavoir.&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                            <attachment id="15091" name="add-keystore_entry.txt" size="1973" author="Martin_S" created="Thu, 17 Jan 2019 14:32:54 +0000"/>
                            <attachment id="15092" name="add-private-key.txt" size="4793" author="Martin_S" created="Thu, 17 Jan 2019 14:32:54 +0000"/>
                            <attachment id="15093" name="add-trusted-certificate.txt" size="3216" author="Martin_S" created="Thu, 17 Jan 2019 14:32:54 +0000"/>
                            <attachment id="15090" name="karaf.log" size="434922" author="Martin_S" created="Thu, 17 Jan 2019 14:32:37 +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_10000" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i03m3b:</customfieldvalue>

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