<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:21:54 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>[NETVIRT-571] IllegalArgumentException: Cannot create IpAddress from 134235392</title>
                <link>https://jira.opendaylight.org/browse/NETVIRT-571</link>
                <project id="10144" key="NETVIRT">netvirt</project>
                    <description>&lt;p&gt;Found at &lt;a href=&quot;https://logs.opendaylight.org/releng/jenkins092/netvirt-csit-1node-openstack-newton-nodl-v2-upstream-stateful-carbon/274/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/274/archives/odl1_karaf.log.gz&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;2017-03-30 01:32:53,410 | ERROR | pool-16-thread-1 | DOMNotificationRouterEvent       | 144 - org.opendaylight.controller.sal-broker-impl - 1.5.0.SNAPSHOT | Delivery of notification org.opendaylight.controller.md.sal.binding.impl.LazySerializedDOMNotification@45aff39a caused an error in listener org.opendaylight.controller.md.sal.binding.impl.BindingDOMNotificationListenerAdapter@72f56fda&lt;br/&gt;
java.lang.IllegalArgumentException: Cannot create IpAddress from 134235392&lt;br/&gt;
	at org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpAddressBuilder.getDefaultInstance(IpAddressBuilder.java:43)&lt;span class=&quot;error&quot;&gt;&amp;#91;63:org.opendaylight.mdsal.model.ietf-inet-types-2013-07-15:1.2.0.SNAPSHOT&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at org.opendaylight.netvirt.elan.utils.ElanUtils.getSourceIpV4Address(ElanUtils.java:2212)&lt;span class=&quot;error&quot;&gt;&amp;#91;348:org.opendaylight.netvirt.elanmanager-impl:0.4.0.SNAPSHOT&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at org.opendaylight.netvirt.elan.utils.ElanUtils.getSourceIpAddress(ElanUtils.java:2231)&lt;span class=&quot;error&quot;&gt;&amp;#91;348:org.opendaylight.netvirt.elanmanager-impl:0.4.0.SNAPSHOT&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at org.opendaylight.netvirt.elan.internal.ElanPacketInHandler.onPacketReceived(ElanPacketInHandler.java:101)&lt;span class=&quot;error&quot;&gt;&amp;#91;348:org.opendaylight.netvirt.elanmanager-impl:0.4.0.SNAPSHOT&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at org.opendaylight.yangtools.yang.binding.util.NotificationListenerInvoker.invokeNotification(NotificationListenerInvoker.java:117)&lt;span class=&quot;error&quot;&gt;&amp;#91;47:org.opendaylight.mdsal.yang-binding:0.10.0.SNAPSHOT&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at org.opendaylight.controller.md.sal.binding.impl.BindingDOMNotificationListenerAdapter.onNotification(BindingDOMNotificationListenerAdapter.java:44)&lt;span class=&quot;error&quot;&gt;&amp;#91;146:org.opendaylight.controller.sal-binding-broker-impl:1.5.0.SNAPSHOT&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at org.opendaylight.controller.md.sal.dom.broker.impl.DOMNotificationRouterEvent.deliverNotification(DOMNotificationRouterEvent.java:56)&lt;span class=&quot;error&quot;&gt;&amp;#91;144:org.opendaylight.controller.sal-broker-impl:1.5.0.SNAPSHOT&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at org.opendaylight.controller.md.sal.dom.broker.impl.DOMNotificationRouter$1.onEvent(DOMNotificationRouter.java:68)&lt;span class=&quot;error&quot;&gt;&amp;#91;144:org.opendaylight.controller.sal-broker-impl:1.5.0.SNAPSHOT&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at org.opendaylight.controller.md.sal.dom.broker.impl.DOMNotificationRouter$1.onEvent(DOMNotificationRouter.java:65)&lt;span class=&quot;error&quot;&gt;&amp;#91;144:org.opendaylight.controller.sal-broker-impl:1.5.0.SNAPSHOT&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at com.lmax.disruptor.BatchEventProcessor.run(BatchEventProcessor.java:129)&lt;span class=&quot;error&quot;&gt;&amp;#91;131:com.lmax.disruptor:3.3.6&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)&lt;span class=&quot;error&quot;&gt;&amp;#91;:1.8.0_121&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)&lt;span class=&quot;error&quot;&gt;&amp;#91;:1.8.0_121&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at java.lang.Thread.run(Thread.java:745)&lt;span class=&quot;error&quot;&gt;&amp;#91;:1.8.0_121&amp;#93;&lt;/span&gt;&lt;br/&gt;
2017-03-30 01:32:53,412 | ERROR | pool-16-thread-1 | DOMNotificationRouterEvent       | 144 - org.opendaylight.controller.sal-broker-impl - 1.5.0.SNAPSHOT | Delivery of notification org.opendaylight.controller.md.sal.binding.impl.LazySerializedDOMNotification@75722179 caused an error in listener org.opendaylight.controller.md.sal.binding.impl.BindingDOMNotificationListenerAdapter@72f56fda&lt;br/&gt;
java.lang.IllegalArgumentException: Cannot create IpAddress from 134235392&lt;br/&gt;
	at org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpAddressBuilder.getDefaultInstance(IpAddressBuilder.java:43)&lt;span class=&quot;error&quot;&gt;&amp;#91;63:org.opendaylight.mdsal.model.ietf-inet-types-2013-07-15:1.2.0.SNAPSHOT&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at org.opendaylight.netvirt.elan.utils.ElanUtils.getSourceIpV4Address(ElanUtils.java:2212)&lt;span class=&quot;error&quot;&gt;&amp;#91;348:org.opendaylight.netvirt.elanmanager-impl:0.4.0.SNAPSHOT&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at org.opendaylight.netvirt.elan.utils.ElanUtils.getSourceIpAddress(ElanUtils.java:2231)&lt;span class=&quot;error&quot;&gt;&amp;#91;348:org.opendaylight.netvirt.elanmanager-impl:0.4.0.SNAPSHOT&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at org.opendaylight.netvirt.elan.internal.ElanPacketInHandler.onPacketReceived(ElanPacketInHandler.java:101)&lt;span class=&quot;error&quot;&gt;&amp;#91;348:org.opendaylight.netvirt.elanmanager-impl:0.4.0.SNAPSHOT&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at org.opendaylight.yangtools.yang.binding.util.NotificationListenerInvoker.invokeNotification(NotificationListenerInvoker.java:117)&lt;span class=&quot;error&quot;&gt;&amp;#91;47:org.opendaylight.mdsal.yang-binding:0.10.0.SNAPSHOT&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at org.opendaylight.controller.md.sal.binding.impl.BindingDOMNotificationListenerAdapter.onNotification(BindingDOMNotificationListenerAdapter.java:44)&lt;span class=&quot;error&quot;&gt;&amp;#91;146:org.opendaylight.controller.sal-binding-broker-impl:1.5.0.SNAPSHOT&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at org.opendaylight.controller.md.sal.dom.broker.impl.DOMNotificationRouterEvent.deliverNotification(DOMNotificationRouterEvent.java:56)&lt;span class=&quot;error&quot;&gt;&amp;#91;144:org.opendaylight.controller.sal-broker-impl:1.5.0.SNAPSHOT&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at org.opendaylight.controller.md.sal.dom.broker.impl.DOMNotificationRouter$1.onEvent(DOMNotificationRouter.java:68)&lt;span class=&quot;error&quot;&gt;&amp;#91;144:org.opendaylight.controller.sal-broker-impl:1.5.0.SNAPSHOT&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at org.opendaylight.controller.md.sal.dom.broker.impl.DOMNotificationRouter$1.onEvent(DOMNotificationRouter.java:65)&lt;span class=&quot;error&quot;&gt;&amp;#91;144:org.opendaylight.controller.sal-broker-impl:1.5.0.SNAPSHOT&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at com.lmax.disruptor.BatchEventProcessor.run(BatchEventProcessor.java:129)&lt;span class=&quot;error&quot;&gt;&amp;#91;131:com.lmax.disruptor:3.3.6&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)&lt;span class=&quot;error&quot;&gt;&amp;#91;:1.8.0_121&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)&lt;span class=&quot;error&quot;&gt;&amp;#91;:1.8.0_121&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at java.lang.Thread.run(Thread.java:745)&lt;span class=&quot;error&quot;&gt;&amp;#91;:1.8.0_121&amp;#93;&lt;/span&gt;&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="20492">NETVIRT-571</key>
            <summary>IllegalArgumentException: Cannot create IpAddress from 134235392</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="riyazahmed.d.talikoti@ericsson.com">Riyazahmed Talikoti</assignee>
                                    <reporter username="JankiChhatbar">Janki Chhatbar</reporter>
                        <labels>
                    </labels>
                <created>Thu, 30 Mar 2017 11:59:32 +0000</created>
                <updated>Mon, 30 Oct 2017 16:55:35 +0000</updated>
                            <resolved>Mon, 17 Apr 2017 06:33:13 +0000</resolved>
                                    <version>Carbon</version>
                                                    <component>General</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="37569" author="shague@redhat.com" created="Tue, 11 Apr 2017 18:24:59 +0000"  >&lt;p&gt;&lt;a href=&quot;https://git.opendaylight.org/gerrit/54805&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/54805&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="37570" author="riyazahmed.d.talikoti@ericsson.com" created="Wed, 12 Apr 2017 10:00:00 +0000"  >&lt;p&gt;1. Identified issue &lt;br/&gt;
2. Fix is DONE&lt;br/&gt;
3. Tested and its working fine (with IPv4 and ARP packets)&lt;br/&gt;
4. Raised patch for review. and Review under progress&lt;/p&gt;

&lt;p&gt;ISSUE AND FIX details below&lt;br/&gt;
1. reading IP and ARP payload was wrong, which is fixed by getting payload from deserialised ethernet data based on IPv4 or ARP, getPayload will return&lt;br/&gt;
the right payload as the offsets are maintained in Packet based on&lt;br/&gt;
type of payload.&lt;/p&gt;

&lt;p&gt;2. IllegalArgumentException was for payload type IPv4 where&lt;br/&gt;
getSourceAddress method will return of type int, and&lt;br/&gt;
NWUtil.toStringIpAddress will accept input as byte.&lt;br/&gt;
The same was working fine with payload type ARP as&lt;br/&gt;
getSenderProtocolAddress return byte.&lt;/p&gt;

&lt;p&gt;3. Tested these changes by creating 2 ports in neutron network, delete 1&lt;br/&gt;
port and send ping packets from deleted port to the other port.&lt;br/&gt;
First ARP packet hit and was able to retrieve IP address properly, and&lt;br/&gt;
then data traffic hit and was able to retrieve IP address.&lt;/p&gt;</comment>
                            <comment id="37571" author="jankichhatbar" created="Mon, 17 Apr 2017 06:33:13 +0000"  >&lt;p&gt;Cherry picked to Carbon &lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/54857/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/54857/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Master &lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/54844/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/54844/&lt;/a&gt;&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_10208" key="com.atlassian.jira.plugin.system.customfieldtypes:textfield">
                        <customfieldname>External issue ID</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>8105</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=8105]]></customfieldvalue>

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