<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:15:22 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-574] No status for rogue device in callhome server API</title>
                <link>https://jira.opendaylight.org/browse/NETCONF-574</link>
                <project id="10142" key="NETCONF">netconf</project>
                    <description>&lt;p&gt;When a rogue device (it is not added in whitelist) tries to connect to controller (callhome server), it fails to connect (OK) but the device status &quot;FAILED_NOT_ALLOWED&quot; does not show in the callhome server API (NOK):&lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;
GET /restconf/operational/odl-netconf-callhome-server:netconf-callhome-server
404
{&lt;span class=&quot;code-quote&quot;&gt;&quot;errors&quot;&lt;/span&gt;:{&lt;span class=&quot;code-quote&quot;&gt;&quot;error&quot;&lt;/span&gt;:[{&lt;span class=&quot;code-quote&quot;&gt;&quot;error-type&quot;&lt;/span&gt;:&lt;span class=&quot;code-quote&quot;&gt;&quot;application&quot;&lt;/span&gt;,&lt;span class=&quot;code-quote&quot;&gt;&quot;error-tag&quot;&lt;/span&gt;:&lt;span class=&quot;code-quote&quot;&gt;&quot;data-missing&quot;&lt;/span&gt;,&lt;span class=&quot;code-quote&quot;&gt;&quot;error-message&quot;&lt;/span&gt;:&lt;span class=&quot;code-quote&quot;&gt;&quot;Request could not be completed because the relevant data model content does not exist &quot;&lt;/span&gt;}]}}
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;In the karaf log it can be seen:&lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;
2018-10-09T09:34:13,471 | INFO  | remote-connector-processing-executor-11 | NetconfDevice                    | 287 - org.opendaylight.netconf.sal-netconf-connector - 1.8.1.SNAPSHOT | RemoteDevice{netopeer}: Netconf connector initialized successfully
2018-10-09T09:34:13,474 | WARN  | opendaylight-cluster-data-notification-dispatcher-48 | CallhomeStatusReporter           | 268 - org.opendaylight.netconf.callhome-provider - 1.5.1.SNAPSHOT | No corresponding callhome device found - exiting.
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;So maybe this is expected behavior.&lt;/p&gt;

&lt;p&gt;In any case the failing test has been commented in this patch:&lt;br/&gt;
 &lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/76807&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/76807&lt;/a&gt;&lt;/p&gt;</description>
                <environment></environment>
        <key id="30859">NETCONF-574</key>
            <summary>No status for rogue device in callhome server API</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="3" iconUrl="https://jira.opendaylight.org/images/icons/statuses/inprogress.png" description="This issue is being actively worked on at the moment by the assignee.">In Progress</status>
                    <statusCategory id="4" key="indeterminate" colorName="yellow"/>
                                    <resolution id="-1">Unresolved</resolution>
                                        <assignee username="cmanoj">Manoj Chokka</assignee>
                                    <reporter username="ecelgp">Luis Gomez</reporter>
                        <labels>
                    </labels>
                <created>Tue, 9 Oct 2018 20:19:18 +0000</created>
                <updated>Tue, 2 Jun 2020 17:07:21 +0000</updated>
                                                                                <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="65389" author="jmorvay" created="Tue, 23 Oct 2018 07:41:36 +0000"  >&lt;p&gt;I&apos;ve just quickly ran trough the implementation and it seems that the device should be reported as FAILED_NOT_ALLOWED.&lt;/p&gt;

&lt;p&gt;Need to investigate it further why it is not reported that way.&lt;/p&gt;</comment>
                            <comment id="67643" author="cmanoj" created="Mon, 13 Jan 2020 06:41:52 +0000"  >&lt;p&gt;Update on the analysis done so far,&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;The code does not have any issues.&lt;/li&gt;
	&lt;li&gt;During manual testing we were not able to reproduce the issue. We were able to see the message FAILED_NOT_ALLOWED in the device status for rouge devices.&lt;/li&gt;
	&lt;li&gt;Upon examination of the callhome.robot test case, we found the &quot;apt-get update&quot; is taking more time than expected. But the wait time for the test case is only 30s. This is the reason the test case is failing.&lt;/li&gt;
	&lt;li&gt;A simple timeout change would do the trick.&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;&#160;&lt;/p&gt;</comment>
                            <comment id="67704" author="ecelgp" created="Tue, 28 Jan 2020 17:06:00 +0000"  >&lt;p&gt;I will fix this in the CSIT.&lt;/p&gt;</comment>
                            <comment id="68151" author="cmanoj" created="Thu, 28 May 2020 07:02:09 +0000"  >&lt;p&gt;Hi Luis,&lt;/p&gt;

&lt;p&gt;Found a better fix for the testcase.&lt;/p&gt;

&lt;p&gt;Looks like the entries in sources.list in the docker are working a few times and failing the other times.&lt;/p&gt;

&lt;p&gt;Found the actual sources list at &lt;a href=&quot;https://wiki.debian.org/LTS/Using&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://wiki.debian.org/LTS/Using&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;deb &lt;a href=&quot;http://deb.debian.org/debian/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://deb.debian.org/debian/&lt;/a&gt; jessie main contrib non-free&lt;/p&gt;

&lt;p&gt;deb-src &lt;a href=&quot;http://deb.debian.org/debian/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://deb.debian.org/debian/&lt;/a&gt; jessie main contrib non-free &lt;/p&gt;

&lt;p&gt;deb &lt;a href=&quot;http://security.debian.org/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://security.debian.org/&lt;/a&gt; jessie/updates main contrib non-free&lt;/p&gt;

&lt;p&gt;deb-src &lt;a href=&quot;http://security.debian.org/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://security.debian.org/&lt;/a&gt; jessie/updates main contrib non-free&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;To reflect these changes,&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;create sources.list file in ~/integration-test/csit/variables/netconf/callhome&lt;/li&gt;
	&lt;li&gt;add the above sources to the file.&lt;/li&gt;
	&lt;li&gt;add a volume in docker-compose.yaml file,
	&lt;ul&gt;
		&lt;li&gt;-&#160;&#160; /home/chokkma/integration-test/csit/variables/netconf/callhome/sources.list:/etc/apt/sources.list&lt;/li&gt;
	&lt;/ul&gt;
	&lt;/li&gt;
	&lt;li&gt;the above volume command will copy the new source.list to the /etc/apt/sources.list&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;And we also need to change the timeout in to 300s in callhome.robot, to allow &apos;apt-get update&apos; and &apos;apt-get install curl&apos; to finish successfully.&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;If you approve these changes, I can make the changes and push them.&lt;/p&gt;

&lt;p&gt;Please let me know.&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;BR&lt;/p&gt;

&lt;p&gt;Manoj&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;</comment>
                            <comment id="68165" author="jluhrsen" created="Tue, 2 Jun 2020 17:07:21 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.opendaylight.org/secure/ViewProfile.jspa?name=cmanoj&quot; class=&quot;user-hover&quot; rel=&quot;cmanoj&quot;&gt;cmanoj&lt;/a&gt;, per the conversation we had in the kernel call today is the &quot;fix&quot; for this issue&lt;br/&gt;
going to all happen on the test side of things? If so, we can move this ticket to that project.&lt;br/&gt;
let me know and I can take care of that.&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_10000" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i03jgf:</customfieldvalue>

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