<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:33:30 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-835] Bridge br-int added but flows not created after OVS stop and start in control node and compute nodes</title>
                <link>https://jira.opendaylight.org/browse/OPNFLWPLUG-835</link>
                <project id="10155" key="OPNFLWPLUG">OpenFlowPlugin</project>
                    <description>&lt;p&gt;ODL Version : distribution-karaf-0.5.2-Boron-SR2&lt;/p&gt;

&lt;p&gt;Openstack Version : mitaka&lt;/p&gt;

&lt;p&gt;Setup Details : 3 ODL Nodes + 1 Control Node + 2 Compute Nodes&lt;/p&gt;

&lt;p&gt;Steps to Reproduce:&lt;br/&gt;
1. OVS Clean&lt;br/&gt;
	sudo systemctl stop openvswitch&lt;br/&gt;
	sudo rm -rf /var/log/openvswitch/*&lt;br/&gt;
	sudo rm -rf /etc/openvswitch/conf.db&lt;br/&gt;
	sudo systemctl start openvswitch&lt;br/&gt;
	sudo ovs-vsctl show&lt;/p&gt;

&lt;p&gt;2. Stop All 3 ODLs&lt;br/&gt;
	cd /root/distribution-karaf-0.5.2-Boron-SR2/bin&lt;br/&gt;
	LANG=C;./stop&lt;br/&gt;
	ps -ef | grep java&lt;br/&gt;
	Note:&lt;br/&gt;
	Verify controller is not running for all 3 ODL nodes&lt;/p&gt;

&lt;p&gt;3. Clean data, journal and snapshot for all 3 ODL nodes and start ODL&lt;br/&gt;
	cd /root/distribution-karaf-0.5.2-Boron-SR2/bin&lt;br/&gt;
	LANG=C;./start&lt;/p&gt;

&lt;p&gt;4. Wait for a while ODL starting log back to normal&lt;br/&gt;
	Note:&lt;br/&gt;
	Wait some times to verify whether ODLs are up, cluster forms and initial flows initiated in operational data store for all 3 ODL nodes.&lt;/p&gt;

&lt;p&gt;5. OVS setting&lt;br/&gt;
	sudo ovs-vsctl set-manager tcp:10.106.138.68:6640 tcp:10.106.138.110:6640 tcp:10.106.138.154:6640&lt;/p&gt;

&lt;p&gt;6. OVS stop and start&lt;br/&gt;
	sudo systemctl stop openvswitch&lt;br/&gt;
	sudo systemctl start openvswitch&lt;/p&gt;

&lt;p&gt;Observation:&lt;br/&gt;
When we run step (6) repeatedly in control and compute nodes without delay. The bridge &quot;br-int&quot; is added but flows not created in control node and in compute nodes bridge &quot;br-int&quot; is not getting created.&lt;/p&gt;

&lt;p&gt;Please find the attached files for karaf logs and OVS details.&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="28103">OPNFLWPLUG-835</key>
            <summary>Bridge br-int added but flows not created after OVS stop and start in control node and compute nodes</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="bertrandlow">Bertrand Low</assignee>
                                    <reporter username="ranjithkumar_t@hcl.com">ranjithkumar_t</reporter>
                        <labels>
                    </labels>
                <created>Fri, 30 Dec 2016 09:50:13 +0000</created>
                <updated>Mon, 27 Sep 2021 09:01:58 +0000</updated>
                            <resolved>Mon, 6 Mar 2017 23:51:05 +0000</resolved>
                                                                    <component>General</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="58595" author="ranjithkumar_t@hcl.com" created="Fri, 30 Dec 2016 09:52:37 +0000"  >&lt;p&gt;Attachment karaf logs.zip has been added with description: Karaf logs for your reference&lt;/p&gt;</comment>
                            <comment id="58596" author="ranjithkumar_t@hcl.com" created="Fri, 30 Dec 2016 09:53:48 +0000"  >&lt;p&gt;Attachment OVS details.zip has been added with description: OVS details for your reference&lt;/p&gt;</comment>
                            <comment id="58588" author="bertrandlow" created="Fri, 13 Jan 2017 01:14:31 +0000"  >&lt;p&gt;The problem is the immediate succession of starting the ovs-vswitchd process after stopping it when the device is connected to an ODL cluster; using &#8220;systemctl restart openvswitch&#8221; has the same effect.&lt;/p&gt;

&lt;p&gt;This issue is not observed in a non-clustered setup, single ODL setup.&lt;/p&gt;

&lt;p&gt;If there is even a 2s (two second) delay between stopping and starting, installation of br-int and flows is successful.&lt;/p&gt;

&lt;p&gt;Resetting the ovs-manager appears to successfully install br-int and the flows.&lt;/p&gt;</comment>
                            <comment id="58589" author="bertrandlow" created="Thu, 19 Jan 2017 08:12:39 +0000"  >&lt;p&gt;Please see related &lt;a href=&quot;https://jira.opendaylight.org/browse/NETVIRT-402&quot; title=&quot;Bridge br-int is not getting created after OVS stop and start in control node and compute nodes&quot; class=&quot;issue-link&quot; data-issue-key=&quot;NETVIRT-402&quot;&gt;&lt;del&gt;NETVIRT-402&lt;/del&gt;&lt;/a&gt; for a description of a possible similar timing issue that openflow plugin may be facing here.&lt;/p&gt;

&lt;p&gt;The difference compared to &lt;a href=&quot;https://jira.opendaylight.org/browse/NETVIRT-402&quot; title=&quot;Bridge br-int is not getting created after OVS stop and start in control node and compute nodes&quot; class=&quot;issue-link&quot; data-issue-key=&quot;NETVIRT-402&quot;&gt;&lt;del&gt;NETVIRT-402&lt;/del&gt;&lt;/a&gt; seems to be that no request to delete br-int makes it to the device, so the br-int is present but FRM sees the node as removed so flows are not pushed down.&lt;/p&gt;

&lt;p&gt;I&apos;ve attached a couple of logs: one which shows what happens when the openvswitch process is restarted on the device and br-int gets successfully installed but not the flows, and also a successful case where the flows get installed as well (FRM sees the node as added due to the timing order of the events).&lt;br/&gt;
In the successful case, there is some difficulty in connecting with odl33 as observed in the logs, however odl34 ends up pushing the flows down to the device.&lt;/p&gt;

&lt;p&gt;In both of these log captures, the controller has issues connecting to odl35, but this may prove not to be meaningful.&lt;/p&gt;</comment>
                            <comment id="58597" author="bertrandlow" created="Thu, 19 Jan 2017 08:13:24 +0000"  >&lt;p&gt;Attachment NoFlows.tar.gz has been added with description: no flows installed&lt;/p&gt;</comment>
                            <comment id="58598" author="bertrandlow" created="Thu, 19 Jan 2017 08:15:17 +0000"  >&lt;p&gt;Attachment Success.tar.gz has been added with description: successful flow installation after restarting openvswitch&lt;/p&gt;</comment>
                            <comment id="58590" author="ananthip@hcl.com" created="Mon, 30 Jan 2017 10:47:39 +0000"  >&lt;p&gt;Tested the patch &lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/51058/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/51058/&lt;/a&gt;&lt;br/&gt;
Flows are not installed while restarting the openvswitch service repeatedly and two of the ODL nodes are disconnected from bridge br-int.&lt;/p&gt;

&lt;p&gt;Attached karaf logs.&lt;/p&gt;</comment>
                            <comment id="58599" author="ananthip@hcl.com" created="Mon, 30 Jan 2017 10:57:01 +0000"  >&lt;p&gt;Attachment ODL1karaf log -10.106.138.68.zip has been added with description: ODL1 karaf log&lt;/p&gt;</comment>
                            <comment id="58600" author="ananthip@hcl.com" created="Mon, 30 Jan 2017 11:11:04 +0000"  >&lt;p&gt;Attachment ODL2 karaf log-10.106.138.110.zip has been added with description: ODL2 karaf log&lt;/p&gt;</comment>
                            <comment id="58601" author="ananthip@hcl.com" created="Mon, 30 Jan 2017 11:11:36 +0000"  >&lt;p&gt;Attachment ODL3 karaf log-10.106.138.154.zip has been added with description: ODL3 karaf log&lt;/p&gt;</comment>
                            <comment id="58602" author="ananthip@hcl.com" created="Mon, 30 Jan 2017 11:13:28 +0000"  >&lt;p&gt;Attachment OVS Control node details.jpg has been added with description: OVS details Control node&lt;/p&gt;</comment>
                            <comment id="58591" author="ananthip@hcl.com" created="Tue, 31 Jan 2017 07:09:44 +0000"  >&lt;p&gt;Please ignore logs added on 30.0.2017,&lt;br/&gt;
would upload latest logs.&lt;/p&gt;</comment>
                            <comment id="58592" author="bertrandlow" created="Fri, 3 Feb 2017 03:16:54 +0000"  >&lt;p&gt;Jozef&apos;s following patches:&lt;/p&gt;
&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;All the patches related to 6802.&lt;/li&gt;
	&lt;li&gt;&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/51071/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/51071/&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;appear to resolve this bug.&lt;/p&gt;

&lt;p&gt;The above patches can be ported over to stable/boron when they are ready.&lt;/p&gt;</comment>
                            <comment id="58593" author="bertrandlow" created="Wed, 1 Mar 2017 18:42:57 +0000"  >&lt;p&gt;Anil&apos;s fix for 7736 also appears to address this issue:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/51489/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/51489/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Will confirm the findings before closing the bugs&lt;/p&gt;</comment>
                            <comment id="58594" author="bertrandlow" created="Mon, 6 Mar 2017 23:51:05 +0000"  >&lt;p&gt;Fixed with Anil&apos;s patch for &lt;a href=&quot;https://jira.opendaylight.org/browse/OPNFLWPLUG-848&quot; title=&quot;controllers with no connectivity with the switch gets device ownership&quot; class=&quot;issue-link&quot; data-issue-key=&quot;OPNFLWPLUG-848&quot;&gt;&lt;del&gt;OPNFLWPLUG-848&lt;/del&gt;&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                            <attachment id="14109" name="NoFlows.tar.gz" size="62708" author="bertrand.low@hcl.com" created="Thu, 19 Jan 2017 08:13:24 +0000"/>
                            <attachment id="14111" name="ODL1karaf log -10.106.138.68.zip" size="799791" author="ananthip@hcl.com" created="Mon, 30 Jan 2017 10:57:01 +0000"/>
                            <attachment id="14112" name="ODL2 karaf log-10.106.138.110.zip" size="1018845" author="ananthip@hcl.com" created="Mon, 30 Jan 2017 11:11:04 +0000"/>
                            <attachment id="14113" name="ODL3 karaf log-10.106.138.154.zip" size="787658" author="ananthip@hcl.com" created="Mon, 30 Jan 2017 11:11:36 +0000"/>
                            <attachment id="14114" name="OVS Control node details.jpg" size="54819" author="ananthip@hcl.com" created="Mon, 30 Jan 2017 11:13:28 +0000"/>
                            <attachment id="14108" name="OVS details.zip" size="169112" author="ranjithkumar_t@hcl.com" created="Fri, 30 Dec 2016 09:53:48 +0000"/>
                            <attachment id="14110" name="Success.tar.gz" size="65890" author="bertrand.low@hcl.com" created="Thu, 19 Jan 2017 08:15:17 +0000"/>
                            <attachment id="14107" name="karaf logs.zip" size="178773" author="ranjithkumar_t@hcl.com" created="Fri, 30 Dec 2016 09:52:37 +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>7462</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=7462]]></customfieldvalue>

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

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