<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:22:13 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-694] Communication is not working properly when ICMP rules are changed dynamically</title>
                <link>https://jira.opendaylight.org/browse/NETVIRT-694</link>
                <project id="10144" key="NETVIRT">netvirt</project>
                    <description>&lt;p&gt;Steps:&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;Created SG1 with ICMP all ingress and egress rules.&lt;/li&gt;
	&lt;li&gt;Created 2 VMs with SG1 and verified ping communication between the VMs.&lt;/li&gt;
	&lt;li&gt;Removed ICMP all ingress and egress rules from SG1. Verifed ping communication is not working as expected.&lt;/li&gt;
	&lt;li&gt;Once again added the same ICMP all ingress and egress rule to SG1.&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;Observation: &lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;The communication between the VM is not working.&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;Expected behavior:&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;Ping has to succeed.&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;Observed the above behavior two out of three times.&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="20615">NETVIRT-694</key>
            <summary>Communication is not working properly when ICMP rules are changed dynamically</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="arthi.b@hcl.com">Arthi Bhattacharjee</assignee>
                                    <reporter username="arthi.b@hcl.com">Arthi Bhattacharjee</reporter>
                        <labels>
                    </labels>
                <created>Fri, 26 May 2017 12:37:30 +0000</created>
                <updated>Tue, 21 Nov 2017 14:20:28 +0000</updated>
                            <resolved>Wed, 28 Jun 2017 13:19:11 +0000</resolved>
                                    <version>Carbon</version>
                                                    <component>General</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>9</watches>
                                                                                                                <comments>
                            <comment id="37858" author="arthi.b@hcl.com" created="Fri, 26 May 2017 12:37:30 +0000"  >&lt;p&gt;Attachment dump-flows.txt has been added with description: Dump-flows&lt;/p&gt;</comment>
                            <comment id="37859" author="arthi.b@hcl.com" created="Tue, 6 Jun 2017 07:27:19 +0000"  >&lt;p&gt;Attachment karaf_logs.zip has been added with description: Karaf logs&lt;/p&gt;</comment>
                            <comment id="37856" author="vinothb" created="Mon, 12 Jun 2017 13:34:19 +0000"  >&lt;p&gt;Additional issue found:&lt;/p&gt;

&lt;p&gt;Steps:&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;Created SG1 with ICMP all ingress and egress rules.&lt;/li&gt;
	&lt;li&gt;Created 2 VMs with SG1 and verified ping communication between the VMs.&lt;/li&gt;
	&lt;li&gt;Removed ICMP all ingress and egress rules from SG1.&lt;/li&gt;
	&lt;li&gt;Verified Ping communication between VMS&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;Observation: &lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;The communication between the VM is still working and flows are sustained.&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;Expected behavior:&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;Ping has to fail.&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;Note:&lt;br/&gt;
While adding/removing rules from SG1, flows are not added/removed appropriately.&lt;/p&gt;</comment>
                            <comment id="37857" author="arthi.b@hcl.com" created="Wed, 21 Jun 2017 06:28:01 +0000"  >&lt;p&gt;Following is the observation for the bug:&lt;br/&gt;
Flows are not installed when the last rule that is removed from the Security Group and after deleting the all rules, first rule that is added to the same security group.&lt;/p&gt;

&lt;p&gt;Patch ref:: &lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/56279&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/56279&lt;/a&gt;&lt;br/&gt;
Class: AclEventListener.java&lt;/p&gt;

&lt;p&gt;        if (!AclServiceUtils.isOfAclInterest(aclAfter) || !AclServiceUtils.isOfAclInterest(aclBefore)) {&lt;br/&gt;
            LOG.trace(&quot;before {} and/or after {} does not have SecurityRuleAttr augmentation&quot;,&lt;br/&gt;
                    aclBefore.getAclName(), aclAfter.getAclName());&lt;br/&gt;
            return;&lt;br/&gt;
        }&lt;br/&gt;
When the event is received, the above condition checks whether before and after ACL are not empty. &lt;br/&gt;
If either of those are empty, deletion and addition of rules are not processed.&lt;/p&gt;

&lt;p&gt;Scenario#1: While deleting last rule from the Security Group.&lt;br/&gt;
-&amp;gt; AclServiceUtils.isOfAclInterest(aclAfter) is false. Thus, the condition satisfied and returns from the method.&lt;br/&gt;
-&amp;gt; Because aclAfter is empty.&lt;/p&gt;

&lt;p&gt;Scenario#2: While adding the first rule to the same Security Group after deleting the previous rules &lt;br/&gt;
-&amp;gt; AclServiceUtils.isOfAclInterest(aclAfter) will be true but, AclServiceUtils.isOfAclInterest(aclBefore) will be false. Thus, the condition satisfied and returns from the method.&lt;br/&gt;
-&amp;gt; Because aclBefore is empty.&lt;/p&gt;

&lt;p&gt;Patch fix: &lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/59213/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/59213/&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                            <attachment id="12500" name="dump-flows.txt" size="33090" author="arthi.b@hcl.com" created="Fri, 26 May 2017 12:37:30 +0000"/>
                            <attachment id="12501" name="karaf_logs.zip" size="168373" author="arthi.b@hcl.com" created="Tue, 6 Jun 2017 07:27:19 +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>8553</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=8553]]></customfieldvalue>

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

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