<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 19:54:31 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-1040] Issue with Big size schema</title>
                <link>https://jira.opendaylight.org/browse/CONTROLLER-1040</link>
                <project id="10113" key="CONTROLLER">controller</project>
                    <description>&lt;p&gt;My device schema is of size around 7MB. If i manually put that schema in cache/schema directory, controller is&lt;br/&gt;
able to compile this and establish connection with the device and able to respond to restconf queries.&lt;br/&gt;
But when controller fetches it from the device using get-schema, i see such exceptions&lt;/p&gt;

&lt;p&gt;io.netty.handler.codec.DecoderException: org.xml.sax.SAXParseException; lineNumber: 18008; columnNumber: 83; The content of elements must consist of well-formed character data or markup.&lt;br/&gt;
        at io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:280) &lt;span class=&quot;error&quot;&gt;&amp;#91;bundlefile:4.0.23.Final&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:149) &lt;span class=&quot;error&quot;&gt;&amp;#91;bundlefile:4.0.23.Final&amp;#93;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;io.netty.handler.codec.DecoderException: org.xml.sax.SAXParseException; lineNumber: 2; columnNumber: 16; Content is not allowed in prolog.&lt;br/&gt;
        at io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:280) &lt;span class=&quot;error&quot;&gt;&amp;#91;bundlefile:4.0.23.Final&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at io.netty.handler.codec.ByteToMessageDecoder.channelInactive(ByteToMessageDecoder.java:205) &lt;span class=&quot;error&quot;&gt;&amp;#91;bundlefile:4.0.23.Final&amp;#93;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;Just to verify that the schema which is being fetched by device does not have any issue, I downloaded that schema through&lt;br/&gt;
get-schema and compiled using pyang and it compiled well.&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="25594">CONTROLLER-1040</key>
            <summary>Issue with Big size schema</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="mmarsale@cisco.com">Maros Marsalek</assignee>
                                    <reporter username="dhirutrivedi@gmail.com">Dhirendra Kumar Trivedi</reporter>
                        <labels>
                    </labels>
                <created>Mon, 24 Nov 2014 08:26:05 +0000</created>
                <updated>Tue, 25 Jul 2023 08:24:20 +0000</updated>
                            <resolved>Fri, 27 Mar 2015 12:40:56 +0000</resolved>
                                                                    <component>netconf</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>6</watches>
                                                                                                                <comments>
                            <comment id="49845" author="tony.tkacik@gmail.com" created="Mon, 24 Nov 2014 09:27:53 +0000"  >&lt;p&gt;Could you provide more information about offending message or model?&lt;/p&gt;

&lt;p&gt;It seems some character in YANG model is treated differently / incorrectly during download,&lt;br/&gt;
from log you provided it is hard to determine what really happened?&lt;/p&gt;</comment>
                            <comment id="49846" author="dhirutrivedi@gmail.com" created="Mon, 24 Nov 2014 09:52:52 +0000"  >&lt;p&gt;(In reply to Tony Tkacik from comment #1)&lt;br/&gt;
&amp;gt; Could you provide more information about offending message or model?&lt;br/&gt;
Message what i got, have already provided in description.&lt;br/&gt;
&amp;gt; &lt;br/&gt;
&amp;gt; It seems some character in YANG model is treated differently / incorrectly&lt;br/&gt;
&amp;gt; during download,&lt;/p&gt;

&lt;p&gt;True, that is why I mentioned in description that i fetched the schema from &lt;br/&gt;
the device manually using get-schema and tried compiling with pyang(open source&lt;br/&gt;
yang compiler) and it compiled well. Also when i put the same schema in&lt;br/&gt;
controller&apos;s cache/schema directory, controller does not throw any error while &lt;br/&gt;
coming up. So it seems like controller&apos;s yang compiler is able to build&lt;br/&gt;
that schema and is able build schema context for the device.&lt;br/&gt;
That is why i suspect some buffer issue which is surfacing in case of &lt;br/&gt;
big schema.&lt;/p&gt;

&lt;p&gt;&amp;gt; from log you provided it is hard to determine what really happened?&lt;br/&gt;
Let me know what all logs do i need to enable and provide you opendaylight.log&lt;/p&gt;</comment>
                            <comment id="49847" author="tony.tkacik@gmail.com" created="Mon, 24 Nov 2014 10:04:39 +0000"  >&lt;p&gt;Possible duplicate of &lt;a href=&quot;https://jira.opendaylight.org/browse/CONTROLLER-1038&quot; title=&quot;Message transfer halt while transfering big messages towards netconf client&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CONTROLLER-1038&quot;&gt;&lt;del&gt;CONTROLLER-1038&lt;/del&gt;&lt;/a&gt;. Need confirmation from Maros Marsalek, who is Netconf maintainer.&lt;/p&gt;</comment>
                            <comment id="49848" author="mmarsale@cisco.com" created="Tue, 25 Nov 2014 07:30:37 +0000"  >&lt;p&gt;Marking 2421 as duplicate(even though it was reported first, this bug contains more information). I was able to reproduce this problem and the transfer of the get-schema response stopped half way through. With logs set to debug, the SSH library (probably) stopped the transfer and requested a window resize with no response. This needs further investigation.&lt;/p&gt;

&lt;p&gt;However I did not get the SAXParseException, can you check the response of get-schema from your device manually (using curl or wget) ? I just want to verify that the produced xml is well formed.&lt;/p&gt;</comment>
                            <comment id="49849" author="mdubai@cisco.com" created="Thu, 18 Dec 2014 14:47:29 +0000"  >&lt;p&gt;Error caused by incorrect handling of ssh connection protocol message SSH_MSG_CHANNEL_WINDOW_ADJUST in mina-sshd.&lt;br/&gt;
Fix proposal pull out:&lt;br/&gt;
&lt;a href=&quot;https://github.com/apache/mina-sshd/pull/10&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/apache/mina-sshd/pull/10&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="49850" author="mmarsale@cisco.com" created="Fri, 20 Feb 2015 08:46:57 +0000"  >&lt;p&gt;The fix in the SSH library has been merged. We need to increase the version of the lib to the newest one after the nearest release.&lt;/p&gt;</comment>
                            <comment id="49851" author="mmarsale@cisco.com" created="Wed, 25 Mar 2015 08:19:03 +0000"  >&lt;p&gt;New version of apache mina sshd (0.14) was released, needs to be bumped in ODL and tested.&lt;/p&gt;</comment>
                            <comment id="49852" author="mmarsale@cisco.com" created="Wed, 25 Mar 2015 10:15:40 +0000"  >&lt;p&gt;&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/17093/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/17093/&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10002">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                        <issuelink>
            <issuekey id="25592">CONTROLLER-1038</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <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>2424</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=2424]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10206" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Issue Type</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10300"><![CDATA[Bug]]></customfieldvalue>

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

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

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