<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:33:35 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>[OPNFLWPLUG-862] reg matches with a mask causes a flood of &quot;Message deserialization failed&quot; exceptions</title>
                <link>https://jira.opendaylight.org/browse/OPNFLWPLUG-862</link>
                <project id="10155" key="OPNFLWPLUG">OpenFlowPlugin</project>
                    <description>&lt;p&gt;Found in &lt;a href=&quot;https://logs.opendaylight.org/releng/jenkins092/netvirt-csit-1node-openstack-newton-nodl-v2-upstream-stateful-boron/158/archives/odl1_karaf.log.gz&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://logs.opendaylight.org/releng/jenkins092/netvirt-csit-1node-openstack-newton-nodl-v2-upstream-stateful-boron/158/archives/odl1_karaf.log.gz&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Found in Carbon &lt;a href=&quot;https://logs.opendaylight.org/releng/jenkins092/netvirt-csit-1node-openstack-newton-nodl-v2-upstream-stateful-carbon/152/archives/odl1_karaf.log.gz&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://logs.opendaylight.org/releng/jenkins092/netvirt-csit-1node-openstack-newton-nodl-v2-upstream-stateful-carbon/152/archives/odl1_karaf.log.gz&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Message deserialization failed&lt;br/&gt;
java.lang.IllegalStateException: Deserializer for key: msgVersion: 4 objectClass: org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.oxm.rev150225.match.entries.grouping.MatchEntry msgType: 15 oxm_field: 127 experimenterID: null was not found - please verify that all needed deserializers ale loaded correctly&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="28130">OPNFLWPLUG-862</key>
            <summary>reg matches with a mask causes a flood of &quot;Message deserialization failed&quot; exceptions</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="tomas.slusny@pantheon.tech">Tomas Slusny</assignee>
                                    <reporter username="JankiChhatbar">Janki Chhatbar</reporter>
                        <labels>
                    </labels>
                <created>Fri, 3 Mar 2017 13:29:00 +0000</created>
                <updated>Mon, 27 Sep 2021 09:02:00 +0000</updated>
                            <resolved>Thu, 16 Mar 2017 14:05:11 +0000</resolved>
                                                                    <component>General</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="58757" author="koby.aizer@hpe.com" created="Thu, 9 Mar 2017 20:23:50 +0000"  >&lt;p&gt;Attachment flowstats1.pcap has been added with description: flow stats that cause the exception&lt;/p&gt;</comment>
                            <comment id="58749" author="koby.aizer@hpe.com" created="Thu, 9 Mar 2017 20:25:31 +0000"  >&lt;p&gt;I looked into this exception a little bit, and I think it is caused by flow stats received from table=49. This table includes the rules like:&lt;br/&gt;
cookie=0x8600000, duration=1.507s, table=49, n_packets=0, n_bytes=0, hard_timeout=10, priority=0,reg1=0x2/0xfffff,dl_src=fa:16:3e:7d:5a:42 actions=load:0x1-&amp;gt;NXM_NX_REG4&lt;span class=&quot;error&quot;&gt;&amp;#91;0..7&amp;#93;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;I&apos;ve tcpdumped the flowstats, and for some reason the REG1 OXM value is 8byte long, while openflowplugin assumes it is 4byte long - and I think this causes the decoder to fail (the exception is just a side effect of the decoder trying to decode the additional 4bytes as the next OXM field) .&lt;br/&gt;
Other reg matches (for example, the ones from table=220) are indeed 4byte long.&lt;br/&gt;
Not sure why the table=49 reg matches has a different size, the only reason I can think of is that those matches are created by OVS learn action. &lt;/p&gt;

&lt;p&gt;Attached a pcap of the problematic flow stats  (look for the REG1 OXM match under table=49)&lt;/p&gt;</comment>
                            <comment id="58750" author="koby.aizer@hpe.com" created="Mon, 13 Mar 2017 14:10:42 +0000"  >&lt;p&gt;Updated the bug title to be more informative, and moving bug to openflowplugin.&lt;/p&gt;

&lt;p&gt;It seems like the 4byte/8byte difference I noted earlier is because the REG1 match was masked. Therefore, the OXM data is 8byte long (4byte value + 4byte mask). It seems like this wasn&apos;t taken into account when decoding the OXM.&lt;/p&gt;</comment>
                            <comment id="58751" author="jankichhatbar" created="Tue, 14 Mar 2017 09:25:53 +0000"  >&lt;p&gt;Hi Tomas,&lt;/p&gt;

&lt;p&gt;Are you working on this? I was working on it. Not sure why I was unassigned from this bug. We can work together if you haven&apos;t still submitted the patch. If you have, please share its link.&lt;/p&gt;</comment>
                            <comment id="58752" author="tomas.slusny@pantheon.tech" created="Tue, 14 Mar 2017 11:12:00 +0000"  >&lt;p&gt;You was assigned to it, but it was not in progress, so I assumed that no one is working on it. Yes, I already made patch for it, and also Guarav made patch for it, so I don&apos;t know, I can abandon mine patch.&lt;/p&gt;

&lt;p&gt;Anyway, here is link to Guarav&apos;s patch: &lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/51936/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/51936/&lt;/a&gt; and here is link to mine: &lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/51936/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/51936/&lt;/a&gt;.&lt;/p&gt;</comment>
                            <comment id="58753" author="tomas.slusny@pantheon.tech" created="Tue, 14 Mar 2017 11:12:47 +0000"  >&lt;ul&gt;
	&lt;li&gt;link to my patch: &lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/53259&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/53259&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
</comment>
                            <comment id="58754" author="jluhrsen" created="Wed, 15 Mar 2017 04:15:22 +0000"  >&lt;p&gt;(In reply to Tomas Slusny from comment #6)&lt;br/&gt;
&amp;gt; * link to my patch: &lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/53259&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/53259&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;looks to have worked.&lt;/p&gt;

&lt;p&gt;here is patch test job&apos;s karaf.log without these exceptions&lt;br/&gt;
(Note: the karaf log seems to be amost 100k smaller now too)&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://logs.opendaylight.org/releng/jenkins092/netvirt-csit-1node-openstack-newton-nodl-v2-gate-stateful-carbon/408/archives/odl1_karaf.log.gz&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://logs.opendaylight.org/releng/jenkins092/netvirt-csit-1node-openstack-newton-nodl-v2-gate-stateful-carbon/408/archives/odl1_karaf.log.gz&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;just go back one job if you want to double check how it was&lt;br/&gt;
&lt;a href=&quot;https://logs.opendaylight.org/releng/jenkins092/netvirt-csit-1node-openstack-newton-nodl-v2-gate-stateful-carbon/407/archives/odl1_karaf.log.gz&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://logs.opendaylight.org/releng/jenkins092/netvirt-csit-1node-openstack-newton-nodl-v2-gate-stateful-carbon/407/archives/odl1_karaf.log.gz&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Much appreciated Tomas!&lt;/p&gt;</comment>
                            <comment id="58755" author="jankichhatbar" created="Wed, 15 Mar 2017 11:55:16 +0000"  >&lt;p&gt;Works in local CSIT environment too. Thanks Tomas!&lt;/p&gt;</comment>
                            <comment id="58756" author="tomas.slusny@pantheon.tech" created="Thu, 16 Mar 2017 14:05:11 +0000"  >&lt;p&gt;Patch was merged, so based on comments I think I can close this.&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                            <attachment id="14124" name="flowstats1.pcap" size="33570" author="koby.aizer@hpe.com" created="Thu, 9 Mar 2017 20:23:50 +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>7897</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=7897]]></customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10203" key="com.atlassian.jira.plugin.system.customfieldtypes:textfield">
                        <customfieldname>Status Whiteboard</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>csit:exception</customfieldvalue>

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