<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:53:42 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>[YANGTOOLS-590] java.lang.RuntimeException: RemoteDevice{}: readOperationalData failed</title>
                <link>https://jira.opendaylight.org/browse/YANGTOOLS-590</link>
                <project id="10188" key="YANGTOOLS">yangtools</project>
                    <description>&lt;p&gt;The module exists on the netconf node and the yang file for that is successfully parsed and seen as available capabilities in netconf operational tree&lt;/p&gt;

&lt;p&gt;HTTP ERROR 500&lt;/p&gt;

&lt;p&gt;Problem accessing /restconf/config/network-topology:network-topology/topology/topology-netconf/node/vyatta-4.1/yang-ext:mount/vyatta-security-v1:security/. Reason:&lt;/p&gt;

&lt;p&gt;    Server Error&lt;/p&gt;

&lt;p&gt;Caused by:&lt;/p&gt;

&lt;p&gt;java.lang.RuntimeException: RemoteDevice&lt;/p&gt;
{vyatta-4.1}
&lt;p&gt;: readOperationalData failed&lt;br/&gt;
 at org.opendaylight.netconf.sal.connect.netconf.sal.tx.ReadOnlyTx.readWithTimeout(ReadOnlyTx.java:170)&lt;br/&gt;
 at org.opendaylight.netconf.sal.connect.netconf.sal.tx.ReadOnlyTx.readConfigurationData(ReadOnlyTx.java:87)&lt;br/&gt;
 at org.opendaylight.netconf.sal.connect.netconf.sal.tx.ReadOnlyTx.read(ReadOnlyTx.java:139)&lt;br/&gt;
 at org.opendaylight.netconf.sal.restconf.impl.BrokerFacade.readDataViaTransaction(BrokerFacade.java:194)&lt;br/&gt;
 at org.opendaylight.netconf.sal.restconf.impl.BrokerFacade.readConfigurationData(BrokerFacade.java:87)&lt;br/&gt;
 at org.opendaylight.netconf.sal.restconf.impl.RestconfImpl.readConfigurationData(RestconfImpl.java:663)&lt;br/&gt;
 at org.opendaylight.netconf.sal.restconf.impl.StatisticsRestconfServiceWrapper.readConfigurationData(StatisticsRestconfServiceWrapper.java:95)&lt;br/&gt;
 at org.opendaylight.netconf.sal.rest.impl.RestconfCompositeWrapper.readConfigurationData(RestconfCompositeWrapper.java:72)&lt;br/&gt;
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)&lt;br/&gt;
 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)&lt;br/&gt;
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)&lt;br/&gt;
 at java.lang.reflect.Method.invoke(Method.java:606)&lt;br/&gt;
 at com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60)&lt;br/&gt;
 at com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$TypeOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.java:185)&lt;br/&gt;
 at com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:75)&lt;br/&gt;
 at com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:302)&lt;br/&gt;
 at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)&lt;br/&gt;
 at com.sun.jersey.server.impl.uri.rules.ResourceObjectRule.accept(ResourceObjectRule.java:100)&lt;br/&gt;
 at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)&lt;br/&gt;
 at com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootResourceClassesRule.java:84)&lt;br/&gt;
 at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1511)&lt;br/&gt;
 at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1442)&lt;br/&gt;
 at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1391)&lt;br/&gt;
 at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1381)&lt;br/&gt;
 at com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:416)&lt;br/&gt;
 at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:538)&lt;br/&gt;
 at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:716)&lt;br/&gt;
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:668)&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="23010">YANGTOOLS-590</key>
            <summary>java.lang.RuntimeException: RemoteDevice{}: readOperationalData failed</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="pkajsa">Peter Kajsa</assignee>
                                    <reporter username="carolsand@gmail.com">Carol Sanders</reporter>
                        <labels>
                    </labels>
                <created>Wed, 9 Mar 2016 18:33:04 +0000</created>
                <updated>Sun, 10 Apr 2022 18:35:45 +0000</updated>
                            <resolved>Thu, 12 May 2016 21:51:46 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>8</watches>
                                                                                                                <comments>
                            <comment id="43800" author="carolsand@gmail.com" created="Wed, 9 Mar 2016 19:01:28 +0000"  >&lt;p&gt;Additionally,&lt;br/&gt;
This device and version work in Li.&lt;/p&gt;</comment>
                            <comment id="43801" author="jmorvay@cisco.com" created="Thu, 10 Mar 2016 11:35:47 +0000"  >&lt;p&gt;Hi Carol,&lt;/p&gt;

&lt;p&gt;This server response with exception doesn&apos;t contain enough information to find the problem causing this error.&lt;/p&gt;

&lt;p&gt;If it is possible and this stuff isn&apos;t confidential, can you also attach karaf log, device configuration and relevant yang schemas?&lt;/p&gt;

&lt;p&gt;Or at least karaf&apos;s ERROR log related to this data read would be helpful.&lt;/p&gt;</comment>
                            <comment id="43815" author="carolsand@gmail.com" created="Thu, 10 Mar 2016 20:27:21 +0000"  >&lt;p&gt;Attachment karaf.zip has been added with description: karaf.log&lt;/p&gt;</comment>
                            <comment id="43802" author="jmorvay@cisco.com" created="Mon, 14 Mar 2016 15:44:07 +0000"  >&lt;p&gt;I checked provided log and it seems that this issue is not netconf related. &lt;/p&gt;

&lt;p&gt;Log:&lt;br/&gt;
2016-03-08 22:58:33,901 | WARN  | ssing-executor-9 | NetconfDevice                    | 228 - org.opendaylight.netconf.sal-netconf-connector - 1.3.0.Beryllium-RC2 | RemoteDevice&lt;/p&gt;
{vyatta-4.1}
&lt;p&gt;: Unable to build schema context, unsatisfied imports &lt;/p&gt;
{SourceIdentifier [name=ietf-netconf-monitoring@2010-10-04]=[ModuleImportImpl [name=ietf-inet-types, revision=2010-09-24], ModuleImportImpl [name=ietf-yang-types, revision=2010-09-24]], SourceIdentifier [name=vyatta-interfaces-l2tpeth-v1@2015-08-14]=[ModuleImportImpl [name=vyatta-xconnect-v1, revision=null]]}
&lt;p&gt;, will reattempt with resolved only&lt;/p&gt;

&lt;p&gt;indicates that some modules are missing from device&apos;s schema context. Read error states that you want to read unknown nodes data (node firewall in container security). Is this node defined in vyatta-interfaces-l2tpeth-v1 module or its submodules?&lt;/p&gt;</comment>
                            <comment id="43803" author="bvaradar@brocade.com" created="Mon, 14 Mar 2016 18:47:17 +0000"  >&lt;p&gt;Yes this module is defined. In addition we tested the same node on Lithium and it works fine. On Be, yang modules are resolved and shown in available capabilities in the operational store. However when we do a get on that, controller is unable to parse even though it&apos;s in resolved state. This looks like a regression from Li to Be.&lt;/p&gt;</comment>
                            <comment id="43804" author="bvaradar@brocade.com" created="Tue, 15 Mar 2016 06:56:48 +0000"  >&lt;p&gt;I think we know the cause. One of the YANG files has pattern restrictions for the value.&lt;/p&gt;

&lt;p&gt;If you see the pattern values are not enclosed in double quotes. When I enclose them in double quotes, we do not see the problem. But we see the issue when they are not. However on Li this is not an issue.  Is this something changed in Be? Is the validation more strict in Be?&lt;/p&gt;

&lt;p&gt;Also refer to this bug which is also related to patterns. ( Go to the end of comments section)&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://bugs.opendaylight.org/show_bug.cgi?id=5396&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://bugs.opendaylight.org/show_bug.cgi?id=5396&lt;/a&gt;&lt;/p&gt;



&lt;p&gt; leaf vhost {&lt;br/&gt;
                                configd:help &quot;Virtio vhost devices&quot;;&lt;br/&gt;
                                type union {&lt;br/&gt;
                                     type types:interface-ifname &lt;/p&gt;
{
                                        pattern dp[0-9]+vhost[0-9]+;
                                     }
&lt;p&gt;                                     type types:interface-ifname &lt;/p&gt;
{
                                        pattern dp[0-9]+vhost[0-9]+\.[1-9][0-9]*;
                                     }
&lt;p&gt;                                }&lt;br/&gt;
                        }&lt;/p&gt;</comment>
                            <comment id="43805" author="pkajsa" created="Tue, 15 Mar 2016 13:06:22 +0000"  >&lt;p&gt;The new yang statement parser has been introduced in Beryllium release of Yang Tools. Pattern value should be enclosed in double quotes, since it may contains characters like &apos;;&apos;,&apos;&lt;/p&gt;
{&apos;,&apos;}
&lt;p&gt;&apos; etc.&lt;/p&gt;</comment>
                            <comment id="43806" author="bvaradar@brocade.com" created="Tue, 15 Mar 2016 15:40:08 +0000"  >&lt;p&gt;But the quotes are not mandatory if no escaping is required right. By making this mandatory we are artificially making it a requirement and hence are breaking files which may not have it. I don&apos;t think YANG specifications require quotes for patterns unless it needs escaping.&lt;/p&gt;</comment>
                            <comment id="43807" author="pkajsa" created="Tue, 22 Mar 2016 12:13:36 +0000"  >&lt;p&gt;If an expression contains one of the following characters (&apos;\r&apos; | &apos;\n&apos; | &apos;\t&apos; | &apos; &apos; | &apos;;&apos; | &apos;&lt;/p&gt;
{&apos; | &apos;&quot;&apos; | &apos;\&apos;&apos; | &apos;/&apos; | &apos;=&apos; | &apos;[&apos; | &apos;]&apos; | &apos;+&apos; | &apos;}
&lt;p&gt;&apos;), it must be enclosed in &quot;&quot; or &apos;&apos;.&lt;/p&gt;</comment>
                            <comment id="43808" author="bvaradar@brocade.com" created="Tue, 22 Mar 2016 14:36:02 +0000"  >&lt;p&gt;Peter, Can you please take a look at this?&lt;br/&gt;
&lt;a href=&quot;https://bugs.opendaylight.org/show_bug.cgi?id=5396&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://bugs.opendaylight.org/show_bug.cgi?id=5396&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Regex processing seems to have broken in Be.&lt;/p&gt;</comment>
                            <comment id="43809" author="tony.tkacik@gmail.com" created="Tue, 22 Mar 2016 16:44:01 +0000"  >&lt;p&gt;STRING definition in old parser (used in Lithium):&lt;/p&gt;

&lt;p&gt;STRING: ((&lt;sub&gt;( &apos;\r&apos; | &apos;\n&apos; | &apos;\t&apos; | &apos; &apos; | &apos;;&apos; | &apos;{&apos; | &apos;&quot;&apos; | &apos;\&apos;&apos;)&lt;/sub&gt;( &apos;\r&apos; | &apos;\n&apos; | &apos;\t&apos; | &apos; &apos; | &apos;;&apos; | &apos;{&apos; )* ) | SUB_STRING ) -&amp;gt;popMode;&lt;/p&gt;

&lt;p&gt;STRING definition in new parser:&lt;/p&gt;

&lt;p&gt;STRING : ((~( &apos;\r&apos; | &apos;\n&apos; | &apos;\t&apos; | &apos; &apos; | &apos;;&apos; | &apos;&lt;/p&gt;
{&apos; | &apos;&quot;&apos; | &apos;\&apos;&apos; | &apos;/&apos; | &apos;=&apos; | &apos;[&apos; | &apos;]&apos; | &apos;+&apos; | &apos;}
&lt;p&gt;&apos; )~( &apos;\r&apos; | &apos;\n&apos; |&lt;br/&gt;
&apos;\t&apos; | &apos; &apos; | &apos;;&apos; | &apos;&lt;/p&gt;
{&apos; | &apos;/&apos; | &apos;=&apos; | &apos;[&apos; | &apos;]&apos; | &apos;}
&lt;p&gt;&apos;)* ) | SUB_STRING );&lt;/p&gt;

&lt;p&gt;Which adds additional characters such as =[]} to exclusion which does not seems correct.&lt;/p&gt;</comment>
                            <comment id="43810" author="pkajsa" created="Tue, 22 Mar 2016 17:31:42 +0000"  >&lt;p&gt;Hmmm ok, I will discuss this issue with author of the grammar, maybe he had some reasons for this change (e.g. fix of a bug etc.).&lt;/p&gt;</comment>
                            <comment id="43811" author="colin@colindixon.com" created="Thu, 24 Mar 2016 19:26:38 +0000"  >&lt;p&gt;Any progress here?&lt;/p&gt;</comment>
                            <comment id="43812" author="pkajsa" created="Thu, 31 Mar 2016 13:39:18 +0000"  >&lt;p&gt;We are trying to change current yang statement grammar to support such arguments and retest all yang models. Still in progress.&lt;/p&gt;</comment>
                            <comment id="43813" author="pkajsa" created="Thu, 28 Apr 2016 12:46:33 +0000"  >&lt;p&gt;Yang lexer fix: &lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/38190/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/38190/&lt;/a&gt;&lt;br/&gt;
Please retest with this patch.&lt;/p&gt;</comment>
                            <comment id="43814" author="rovarga" created="Fri, 29 Apr 2016 08:35:50 +0000"  >&lt;p&gt;be: &lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/38219/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/38219/&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10000">
                    <name>Blocks</name>
                                            <outwardlinks description="blocks">
                                        <issuelink>
            <issuekey id="23006">YANGTOOLS-586</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10002">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                        <issuelink>
            <issuekey id="23025">YANGTOOLS-605</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                            <attachment id="13045" name="karaf.zip" size="213025" author="carolsand@gmail.com" created="Thu, 10 Mar 2016 20:27:21 +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>5484</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=5484]]></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="10341"><![CDATA[Beryllium-3]]></customfieldvalue>

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

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