<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:22:58 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-995] All SG Rules getting Removed while removing any one of the SG associated With the VM instance</title>
                <link>https://jira.opendaylight.org/browse/NETVIRT-995</link>
                <project id="10144" key="NETVIRT">netvirt</project>
                    <description>&lt;p&gt;Created Two Vm instance and attached Two Security groups(sg1,sg2) both having ICMP ingress/egress and TCP ingress/egress.&lt;br/&gt;
After removing sg2 from VM instance all the rules getting removed from table 243.&lt;/p&gt;

&lt;p&gt;steps to reproduce the issue:&lt;br/&gt;
1. Create Security groups,&lt;br/&gt;
   openstack security group create sg1&lt;br/&gt;
   openstack security group create sg2&lt;/p&gt;

&lt;p&gt;2. Delete default rules from sg1 and sg2&lt;/p&gt;

&lt;p&gt;    openstack security group rule delete &amp;lt;rule_id_ingress&amp;gt; &lt;br/&gt;
     openstack security group rule delete &amp;lt;rule_id_egress&amp;gt;&lt;/p&gt;

&lt;p&gt;3. Associate rules to SG,&lt;/p&gt;

&lt;p&gt;     openstack security group rule create --ingress --protocol tcp   sg1&lt;br/&gt;
     openstack security group rule create --ingress --protocol icmp   sg1&lt;br/&gt;
     openstack security group rule create --egress --protocol icmp   sg1&lt;/p&gt;


&lt;p&gt;     openstack security group rule create --ingress --protocol tcp   sg2 &lt;br/&gt;
     openstack security group rule create --ingress --protocol icmp  --icmp-type 8 --icmp-code  0 sg2&lt;br/&gt;
     openstack security group rule create --egress --protocol icmp  --icmp-type 8 --icmp-code  0 sg2&lt;/p&gt;

&lt;p&gt;4. Create Network&lt;br/&gt;
      openstack network create l2_network_1 --provider-network-type vxlan&lt;/p&gt;

&lt;p&gt;      openstack subnet create --network l2_network_1 --subnet-range 30.0.0.0/24 l2_subnet_1&lt;/p&gt;

&lt;p&gt;5. Create VM&lt;br/&gt;
      openstack server create --image &amp;lt;imageID&amp;gt; --flavor m1.tiny --nic net-id=l2_network_1 VM1 --security-group sg1&lt;/p&gt;

&lt;p&gt;     openstack server create --image &amp;lt;imageID&amp;gt; --flavor m1.tiny --nic net-id=l2_network_1 VM2 --security-group sg1&lt;br/&gt;
6.Add sg2 to VM&lt;br/&gt;
openstack server add security group VM1 sg2&lt;br/&gt;
openstack server add security group VM2 sg2&lt;/p&gt;

&lt;p&gt;7. Test ping between VM1 and VM2&lt;/p&gt;

&lt;p&gt;8. Remove SG2 from VMs&lt;/p&gt;

&lt;p&gt;     openstack server remove security group VM1 sg2&lt;br/&gt;
    openstack server remove security group VM2 sg2&lt;/p&gt;

&lt;p&gt;9. Test ping between VM1 and VM2&lt;/p&gt;

&lt;p&gt;After step 8 unable to login to the VM instance. all the rules getting removed from table 243.&lt;/p&gt;

&lt;p&gt;Flows after step 5:&lt;br/&gt;
VM1 &amp;amp;VM2 with sg1&lt;/p&gt;

&lt;p&gt;cookie=0x6900000, duration=239.553s, table=242, n_packets=4, n_bytes=1352, priority=0 actions=goto_table:243&lt;br/&gt;
cookie=0x6900000, duration=239.553s, table=243, n_packets=0, n_bytes=0, priority=62020,ct_state=-new+est-rel-inv+trk actions=resubmit(,220)&lt;br/&gt;
cookie=0x6900000, duration=239.553s, table=243, n_packets=0, n_bytes=0, priority=62020,ct_state=-new-est+rel-inv+trk actions=resubmit(,220)&lt;br/&gt;
cookie=0x6900001, duration=110.514s, table=243, n_packets=0, n_bytes=0, priority=62015,ct_state=+inv+trk,reg6=0x200/0xfffff00 actions=drop&lt;br/&gt;
cookie=0x6900001, duration=88.868s, table=243, n_packets=0, n_bytes=0, priority=62015,ct_state=+inv+trk,reg6=0x500/0xfffff00 actions=drop&lt;br/&gt;
cookie=0x6900000, duration=110.514s, table=243, n_packets=0, n_bytes=0, priority=1000,ct_state=+new+trk,icmp,reg6=0x200/0xfffff00 actions=ct(commit,zone=5002),resubmit(,220)&lt;br/&gt;
cookie=0x6900000, duration=110.514s, table=243, n_packets=0, n_bytes=0, priority=1001,ct_state=+new+trk,tcp,reg6=0x200/0xfffff00 actions=ct(commit,zone=5002),resubmit(,220)&lt;br/&gt;
cookie=0x6900000, duration=88.868s, table=243, n_packets=0, n_bytes=0, priority=1002,ct_state=+new+trk,icmp,reg6=0x500/0xfffff00 actions=ct(commit,zone=5002),resubmit(,220)&lt;br/&gt;
cookie=0x6900000, duration=88.868s, table=243, n_packets=0, n_bytes=0, priority=1003,ct_state=+new+trk,tcp,reg6=0x500/0xfffff00 actions=ct(commit,zone=5002),resubmit(,220)&lt;br/&gt;
cookie=0x6900001, duration=110.514s, table=243, n_packets=0, n_bytes=0, priority=50,ct_state=+new+trk,reg6=0x200/0xfffff00 actions=drop&lt;br/&gt;
cookie=0x6900001, duration=88.868s, table=243, n_packets=0, n_bytes=0, priority=50,ct_state=+new+trk,reg6=0x500/0xfffff00 actions=drop&lt;br/&gt;
cookie=0x6900000, duration=239.553s, table=243, n_packets=4, n_bytes=1352, priority=0 actions=drop&lt;/p&gt;

&lt;p&gt;Flows after step 6:&lt;br/&gt;
VM1 &amp;amp; Vm2 with sg1 &amp;amp;sg2&lt;/p&gt;

&lt;p&gt;cookie=0x6900000, duration=770.806s, table=243, n_packets=102, n_bytes=11321, priority=62020,ct_state=-new+est-rel-inv+trk actions=resubmit(,220)&lt;br/&gt;
cookie=0x6900000, duration=770.806s, table=243, n_packets=0, n_bytes=0, priority=62020,ct_state=-new-est+rel-inv+trk actions=resubmit(,220)&lt;br/&gt;
cookie=0x6900001, duration=641.767s, table=243, n_packets=0, n_bytes=0, priority=62015,ct_state=+inv+trk,reg6=0x200/0xfffff00 actions=drop&lt;br/&gt;
cookie=0x6900001, duration=620.121s, table=243, n_packets=0, n_bytes=0, priority=62015,ct_state=+inv+trk,reg6=0x500/0xfffff00 actions=drop&lt;br/&gt;
cookie=0x6900000, duration=17.146s, table=243, n_packets=0, n_bytes=0, priority=1004,ct_state=+new+trk,icmp,reg6=0x200/0xfffff00 actions=ct(commit,zone=5002),resubmit(,220)&lt;br/&gt;
cookie=0x6900000, duration=17.137s, table=243, n_packets=0, n_bytes=0, priority=1005,ct_state=+new+trk,tcp,reg6=0x200/0xfffff00 actions=ct(commit,zone=5002),resubmit(,220)&lt;br/&gt;
cookie=0x6900000, duration=17.129s, table=243, n_packets=0, n_bytes=0, priority=1006,ct_state=+new+trk,tcp,reg6=0x200/0xfffff00 actions=ct(commit,zone=5002),resubmit(,220)&lt;br/&gt;
cookie=0x6900000, duration=0.429s, table=243, n_packets=0, n_bytes=0, priority=1007,ct_state=+new+trk,icmp,reg6=0x500/0xfffff00 actions=ct(commit,zone=5002),resubmit(,220)&lt;br/&gt;
cookie=0x6900000, duration=0.429s, table=243, n_packets=0, n_bytes=0, priority=1008,ct_state=+new+trk,tcp,reg6=0x500/0xfffff00 actions=ct(commit,zone=5002),resubmit(,220)&lt;br/&gt;
cookie=0x6900000, duration=0.429s, table=243, n_packets=0, n_bytes=0, priority=1009,ct_state=+new+trk,tcp,reg6=0x500/0xfffff00 actions=ct(commit,zone=5002),resubmit(,220)&lt;br/&gt;
cookie=0x6900001, duration=641.767s, table=243, n_packets=0, n_bytes=0, priority=50,ct_state=+new+trk,reg6=0x200/0xfffff00 actions=drop&lt;br/&gt;
cookie=0x6900001, duration=620.121s, table=243, n_packets=0, n_bytes=0, priority=50,ct_state=+new+trk,reg6=0x500/0xfffff00 actions=drop&lt;br/&gt;
cookie=0x6900000, duration=770.806s, table=243, n_packets=4, n_bytes=1352, priority=0 actions=drop&lt;/p&gt;

&lt;p&gt;Flows after step 6:&lt;br/&gt;
removed sg2 from VM1 &amp;amp; VM2 &lt;/p&gt;

&lt;p&gt; cookie=0x6900000, duration=852.849s, table=243, n_packets=163, n_bytes=18836, priority=62020,ct_state=-new+est-rel-inv+trk actions=resubmit(,220)&lt;br/&gt;
cookie=0x6900000, duration=852.849s, table=243, n_packets=0, n_bytes=0, priority=62020,ct_state=-new-est+rel-inv+trk actions=resubmit(,220)&lt;br/&gt;
cookie=0x6900001, duration=723.810s, table=243, n_packets=0, n_bytes=0, priority=62015,ct_state=+inv+trk,reg6=0x200/0xfffff00 actions=drop&lt;br/&gt;
cookie=0x6900001, duration=702.164s, table=243, n_packets=0, n_bytes=0, priority=62015,ct_state=+inv+trk,reg6=0x500/0xfffff00 actions=drop&lt;br/&gt;
cookie=0x6900001, duration=723.810s, table=243, n_packets=0, n_bytes=0, priority=50,ct_state=+new+trk,reg6=0x200/0xfffff00 actions=drop&lt;br/&gt;
cookie=0x6900001, duration=702.164s, table=243, n_packets=3, n_bytes=222, priority=50,ct_state=+new+trk,reg6=0x500/0xfffff00 actions=drop&lt;br/&gt;
cookie=0x6900000, duration=852.849s, table=243, n_packets=4, n_bytes=1352, priority=0 actions=drop&lt;/p&gt;
</description>
                <environment>&lt;p&gt;openstack pike and ODL Nitrogen&lt;/p&gt;</environment>
        <key id="28776">NETVIRT-995</key>
            <summary>All SG Rules getting Removed while removing any one of the SG associated With the VM instance</summary>
                <type id="10104" iconUrl="https://jira.opendaylight.org/secure/viewavatar?size=xsmall&amp;avatarId=10303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="3" iconUrl="https://jira.opendaylight.org/images/icons/priorities/major.svg">Medium</priority>
                        <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="balakrishnan">balakrishnan k</reporter>
                        <labels>
                    </labels>
                <created>Wed, 15 Nov 2017 12:37:15 +0000</created>
                <updated>Wed, 31 Jan 2018 07:20:53 +0000</updated>
                            <resolved>Wed, 31 Jan 2018 07:20:53 +0000</resolved>
                                    <version>Nitrogen</version>
                                                    <component>General</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="60890" author="gvrangan" created="Wed, 31 Jan 2018 07:20:53 +0000"  >&lt;p&gt;Fixed in &quot;Master&quot; branch of Openstck Client&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_10000" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i037rb:</customfieldvalue>

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