<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:25:36 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>[NEUTRON-116] Null values received on neutron security-group-rule-delete and security-group-delete</title>
                <link>https://jira.opendaylight.org/browse/NEUTRON-116</link>
                <project id="10145" key="NEUTRON">neutron</project>
                    <description>&lt;p&gt;The problem occur when working with liberty devstack.&lt;/p&gt;

&lt;p&gt;How to reproduce:&lt;/p&gt;

&lt;p&gt;1)&lt;br/&gt;
create a security-group&lt;br/&gt;
remove one of it&apos;s default rule&lt;/p&gt;

&lt;p&gt;neutron security-group-create sg1&lt;br/&gt;
neutron security-group-rule-delete &amp;lt;uuid&amp;gt; # one of the dafault rules&lt;/p&gt;

&lt;p&gt;When deleting neutron security group rules, NeutronSecurityRule object is null in neutronSecurityRuleDeleted method.&lt;/p&gt;

&lt;p&gt;2)&lt;br/&gt;
create a security-group&lt;br/&gt;
remove the security-group (securityRules list will contain null values)&lt;/p&gt;

&lt;p&gt;neutron security-group-create sg1&lt;br/&gt;
neutron security-group-delete sg1&lt;/p&gt;

&lt;p&gt;This also happens when deleting security groups. Security rules in NeutronSecurityGroup object are also null in neutronSecurityGroupDeleted method.&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="26678">NEUTRON-116</key>
            <summary>Null values received on neutron security-group-rule-delete and security-group-delete</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="-1">Unassigned</assignee>
                                    <reporter username="tcechval">Tomas Cechvala</reporter>
                        <labels>
                    </labels>
                <created>Wed, 9 Mar 2016 09:45:30 +0000</created>
                <updated>Thu, 19 Oct 2017 21:24:59 +0000</updated>
                            <resolved>Wed, 3 Aug 2016 15:00:27 +0000</resolved>
                                    <version>Multiple</version>
                                                    <component>neutron-spi</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="53543" author="tcechval@cisco.com" created="Wed, 9 Mar 2016 09:59:09 +0000"  >&lt;p&gt;on #2&lt;br/&gt;
securityRules in NeutronSecurityGroup is a list with null values in it.&lt;/p&gt;</comment>
                            <comment id="53544" author="yamahata" created="Thu, 10 Mar 2016 18:08:53 +0000"  >&lt;p&gt;This seems like related to &lt;a href=&quot;https://bugs.opendaylight.org/show_bug.cgi?id=4550&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://bugs.opendaylight.org/show_bug.cgi?id=4550&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;So can you please try &lt;br/&gt;
&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/33957&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/33957&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;For Boron, the direction is to delete securitygroup::securitygrouprules because&lt;br/&gt;
it&apos;s backpointer instead of maintaining data integrity.&lt;br/&gt;
&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/35837/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/35837/&lt;/a&gt;&lt;br/&gt;
The patch isn&apos;t ready for merge yet, though.&lt;/p&gt;</comment>
                            <comment id="53545" author="yamahata" created="Sat, 12 Mar 2016 01:17:05 +0000"  >&lt;p&gt;The patch was merged into master branch.&lt;br/&gt;
The expected result is&lt;/p&gt;
&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;on I*Aware interface, security-group:security-rules should be populated.&lt;/li&gt;
	&lt;li&gt;on MD-SAL model, security-group:security-rules is always [] (empty list).&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;If your code is using MD-SAL, you need to listen to data change notification of security rules in addition to security-group rules. and check security-rule:security-group-id.&lt;/p&gt;

&lt;p&gt;In boron cycle, security-group:security-rules will be deleted.&lt;br/&gt;
&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/35837/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/35837/&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="53559" author="tcechval@cisco.com" created="Tue, 15 Mar 2016 10:34:50 +0000"  >&lt;p&gt;Attachment command sequence.txt has been added with description: Devstack commands&lt;/p&gt;</comment>
                            <comment id="53560" author="tcechval@cisco.com" created="Tue, 15 Mar 2016 10:35:18 +0000"  >&lt;p&gt;Attachment mikita-beryllium_karaflog.log has been added with description: karaf.log&lt;/p&gt;</comment>
                            <comment id="53561" author="tcechval@cisco.com" created="Tue, 15 Mar 2016 10:35:42 +0000"  >&lt;p&gt;Attachment mikita-master_karaflog.log has been added with description: karaf.log&lt;/p&gt;</comment>
                            <comment id="53562" author="tcechval@cisco.com" created="Tue, 15 Mar 2016 10:36:02 +0000"  >&lt;p&gt;Attachment mikita-master_karaflog_patch33957.log has been added with description: karaf log&lt;/p&gt;</comment>
                            <comment id="53546" author="tcechval@cisco.com" created="Tue, 15 Mar 2016 10:36:30 +0000"  >&lt;p&gt;I&apos;m not quite sure if I follow, let me attach karaf.log for more info.&lt;br/&gt;
Neutron mapper was set on trace.&lt;br/&gt;
log:set TRACE org.opendaylight.groupbasedpolicy.neutron.mapper&lt;/p&gt;

&lt;p&gt;When removing a security-group, it&#8217;s rules are missing in NeutronSecurityGroup object. Please notice canDeleteNeutronSecurityGroup message&lt;br/&gt;
  in master:&lt;br/&gt;
    securityRules=[]&lt;br/&gt;
  in beryllium:&lt;br/&gt;
    securityRules=&lt;span class=&quot;error&quot;&gt;&amp;#91;null, null&amp;#93;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;When removing just a rule, it comes to us as null. Please notice canDeleteNeutronSecurityRule. It behaves the same in master and beryllium.&lt;/p&gt;

&lt;p&gt;Unfortunately patch &lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/33957&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/33957&lt;/a&gt; didn&apos;t change this behavior.&lt;/p&gt;</comment>
                            <comment id="53547" author="yamahata" created="Tue, 15 Mar 2016 22:19:17 +0000"  >&lt;p&gt;what version of networking-odlare you using?&lt;/p&gt;

&lt;p&gt;Does it include the merged patch into master?&lt;br/&gt;
&lt;a href=&quot;https://review.openstack.org/#/c/281621/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.openstack.org/#/c/281621/&lt;/a&gt;&lt;/p&gt;


&lt;p&gt;Can you please provide the packet capture between networking-odl and ODL?&lt;/p&gt;</comment>
                            <comment id="53548" author="yamahata" created="Tue, 15 Mar 2016 22:40:23 +0000"  >&lt;p&gt;With Beryllium, did you apply the patch to beryllium branch?&lt;br/&gt;
the log doesn&apos;t seem so.&lt;/p&gt;

&lt;p&gt;Can you please check it?&lt;/p&gt;</comment>
                            <comment id="53549" author="yamahata" created="Tue, 15 Mar 2016 22:48:53 +0000"  >&lt;p&gt;For beryllium, the proposed patch is found at&lt;br/&gt;
&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/34586&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/34586&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="53550" author="dileep.ranganathan@intel.com" created="Sat, 19 Mar 2016 00:18:46 +0000"  >&lt;p&gt;Patch for handling the default rules associated with a security group&lt;br/&gt;
&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/36466/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/36466/&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="53551" author="tcechval@cisco.com" created="Mon, 21 Mar 2016 13:21:23 +0000"  >&lt;p&gt;The problem still persits,&lt;/p&gt;

&lt;p&gt;I checked out neutron beryllium patch &lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/34586&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/34586&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Networking-odl master patch was included as well&lt;br/&gt;
&lt;a href=&quot;https://review.openstack.org/#/c/281621/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.openstack.org/#/c/281621/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I&apos;m not sure if packet capture can get us closer, but i&apos;m going to attach it.&lt;br/&gt;
Is there a package for which setting log to TRACE would help? Were you gents able to replicate this with GBP?&lt;/p&gt;

&lt;p&gt;The following features should be installed&lt;br/&gt;
  odl-groupbasedpolicy-neutronmapper&lt;br/&gt;
  odl-restconf&lt;br/&gt;
and log set to trace&lt;br/&gt;
  log:set TRACE org.opendaylight.groupbasedpolicy.neutron.mapper&lt;/p&gt;</comment>
                            <comment id="53552" author="tcechval@cisco.com" created="Mon, 21 Mar 2016 13:27:00 +0000"  >&lt;p&gt;What i&apos;ve tried&lt;/p&gt;

&lt;p&gt;neutron net-create net1 (just to test logging)&lt;br/&gt;
neutron security-group-create sg1&lt;br/&gt;
neutron security-group-delete sg1 (no rules in NeutronSecurityGroup object and no other notification about removing the rules)&lt;br/&gt;
neutron security-group-create sg2&lt;br/&gt;
neutron security-group-rule-list (to find one of defaults for sg2)&lt;br/&gt;
neutron security-group-rule-delete &amp;lt;rule_uuid&amp;gt; (NeutronSecurityRule object is null)&lt;/p&gt;

&lt;p&gt;logs looks the same as before.&lt;/p&gt;</comment>
                            <comment id="53553" author="tcechval@cisco.com" created="Mon, 21 Mar 2016 13:29:15 +0000"  >&lt;p&gt;192.168.50.1 - ODL, 192.168.50.20 - Devstack Control Node&lt;/p&gt;</comment>
                            <comment id="53563" author="tcechval@cisco.com" created="Mon, 21 Mar 2016 13:29:15 +0000"  >&lt;p&gt;Attachment testing_sg.pcap has been added with description: Wireshark capture on devstack-control&lt;/p&gt;</comment>
                            <comment id="53554" author="yamahata" created="Mon, 21 Mar 2016 21:11:28 +0000"  >&lt;p&gt;Thanks, the remaining issues is null as NeutornSecurityRule.&lt;br/&gt;
There are &lt;/p&gt;
&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;one patches for boron,&lt;/li&gt;
	&lt;li&gt;two patches for stable/beryllium(will be SR2)&lt;/li&gt;
	&lt;li&gt;one patch for networking-odl mitaka.&lt;/li&gt;
&lt;/ul&gt;



&lt;p&gt;details: &lt;/p&gt;

&lt;p&gt;It will be addressed by the following patch.&lt;br/&gt;
&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/36467/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/36467/&lt;/a&gt;&lt;br/&gt;
This is for master branch.(and also picked for beryllium SR2)&lt;br/&gt;
There is an issue for networking-odl that it doesn&apos;t send request to create/delete default rules on group creation/deletion.&lt;br/&gt;
It is being addressed now.&lt;br/&gt;
&lt;a href=&quot;https://review.openstack.org/#/c/294451/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.openstack.org/#/c/294451/&lt;/a&gt;&lt;br/&gt;
The fix will goes in networking-odl Mitaka&lt;/p&gt;

&lt;p&gt;As stable/beryllium which support liberty, the work around patch will be needed.&lt;br/&gt;
The patch is at&lt;br/&gt;
&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/36466/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/36466/&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="53555" author="tcechval@cisco.com" created="Wed, 23 Mar 2016 13:40:20 +0000"  >&lt;p&gt;I&apos;ve tested mitaka-boron with&lt;/p&gt;

&lt;p&gt;neutron patch (already in master):&lt;br/&gt;
&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/36467/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/36467/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;networking-odl patch:&lt;br/&gt;
&lt;a href=&quot;https://review.openstack.org/#/c/294451/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.openstack.org/#/c/294451/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I don&apos;t recommend to merge networking-odl patch. An exception occurred in ODL everytime security-group was created (neutron security-group-create sg-name). Please, see error message.&lt;/p&gt;

&lt;p&gt;I tried to test again but without networking-odl patch.&lt;br/&gt;
The only difference is that no notification came to ODL when default security-group-rule was removed.&lt;/p&gt;</comment>
                            <comment id="53564" author="tcechval@cisco.com" created="Wed, 23 Mar 2016 13:43:34 +0000"  >&lt;p&gt;Attachment error_in_log.txt has been added with description: error after neutron security-group-create sg123&lt;/p&gt;</comment>
                            <comment id="53556" author="tcechval@cisco.com" created="Wed, 30 Mar 2016 14:06:56 +0000"  >&lt;p&gt;I&apos;ve just tested again with&lt;br/&gt;
&lt;a href=&quot;https://review.openstack.org/#/c/294451/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.openstack.org/#/c/294451/&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;https://review.openstack.org/#/c/294423/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.openstack.org/#/c/294423/&lt;/a&gt;&lt;br/&gt;
and everything seem to be working, thanks.&lt;/p&gt;</comment>
                            <comment id="53557" author="yamahata" created="Wed, 30 Mar 2016 16:25:56 +0000"  >&lt;p&gt;@Tomas, thank you for test.&lt;br/&gt;
Once those patches are merged, let&apos;s close it.&lt;/p&gt;</comment>
                            <comment id="53558" author="yamahata" created="Wed, 3 Aug 2016 15:00:27 +0000"  >&lt;p&gt;As it&apos;s tested and there is no further comments. let&apos;s close this.&lt;br/&gt;
If there is anything, feel free to re-open this.&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                            <attachment id="13754" name="command sequence.txt" size="269" author="tcechval" created="Tue, 15 Mar 2016 10:34:50 +0000"/>
                            <attachment id="13759" name="error_in_log.txt" size="18366" author="tcechval" created="Wed, 23 Mar 2016 13:43:34 +0000"/>
                            <attachment id="13755" name="mikita-beryllium_karaflog.log" size="227007" author="tcechval" created="Tue, 15 Mar 2016 10:35:18 +0000"/>
                            <attachment id="13756" name="mikita-master_karaflog.log" size="274524" author="tcechval" created="Tue, 15 Mar 2016 10:35:42 +0000"/>
                            <attachment id="13757" name="mikita-master_karaflog_patch33957.log" size="207519" author="tcechval" created="Tue, 15 Mar 2016 10:36:02 +0000"/>
                            <attachment id="13758" name="testing_sg.pcap" size="106248" author="tcechval" created="Mon, 21 Mar 2016 13:29:15 +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>5478</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=5478]]></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="10342"><![CDATA[Boron-M1]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_10202" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Priority</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10313"><![CDATA[Highest]]></customfieldvalue>

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

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