<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:21:28 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-402] Bridge br-int is not getting created after OVS stop and start in control node and compute nodes</title>
                <link>https://jira.opendaylight.org/browse/NETVIRT-402</link>
                <project id="10144" key="NETVIRT">netvirt</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 time 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 not getting created in control node and compute nodes.&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="20323">NETVIRT-402</key>
            <summary>Bridge br-int is not getting 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:40:19 +0000</created>
                <updated>Fri, 9 Mar 2018 18:21:32 +0000</updated>
                            <resolved>Sun, 29 Jan 2017 08:19:34 +0000</resolved>
                                    <version>Boron</version>
                                                        <due></due>
                            <votes>0</votes>
                                    <watches>1</watches>
                                                                                                                <comments>
                            <comment id="37066" author="ranjithkumar_t@hcl.com" created="Fri, 30 Dec 2016 09:42:53 +0000"  >&lt;p&gt;Attachment karaf logs.zip has been added with description: Karaf logs for your reference&lt;/p&gt;</comment>
                            <comment id="37067" author="ranjithkumar_t@hcl.com" created="Fri, 30 Dec 2016 09:44:38 +0000"  >&lt;p&gt;Attachment OVS details.zip has been added with description: OVS details for your reference&lt;/p&gt;</comment>
                            <comment id="37063" author="bertrandlow" created="Thu, 19 Jan 2017 07:58:11 +0000"  >&lt;p&gt;As with &lt;a href=&quot;https://jira.opendaylight.org/browse/OPNFLWPLUG-835&quot; title=&quot;Bridge br-int added but flows not created after OVS stop and start in control node and compute nodes&quot; class=&quot;issue-link&quot; data-issue-key=&quot;OPNFLWPLUG-835&quot;&gt;&lt;del&gt;OPNFLWPLUG-835&lt;/del&gt;&lt;/a&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;

&lt;p&gt;For &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; where br-int is not installed, some variation of the following sequence of events is happening*:&lt;br/&gt;
*note that if there is an alphabetical suffix for the step, these steps may be reversed in some instances. E.g Sometimes, 2b) comes before 2a) and sometimes 3b) comes before 3a)&lt;/p&gt;

&lt;p&gt;Karaf.log&lt;br/&gt;
1)  Connection closed by device (due to &quot;restart openvswitch&quot;)&lt;br/&gt;
2a) ODL deleteBridge br-int from config DS&lt;br/&gt;
2b) Device connected to controller (due to &#8220;restart openvswitch&#8221;)&lt;br/&gt;
3a) Connection closed by device&lt;br/&gt;
3b) ODL addBridge br-int to config DS&lt;br/&gt;
4)  Device connected to controller (due to connection flap)&lt;br/&gt;
5a) ODL deleteBridge br-int from config DS&lt;br/&gt;
5b) Connection closed by device&lt;/p&gt;

&lt;p&gt;Note that ODL processes a deleteBridge after the addBridge.&lt;/p&gt;

&lt;p&gt;On the device-side, it appears that before Step 3a) the device receives a mutation request from ODL for &#8220;deleting ovsdbbridgename&#8221;. Moments later, the connection flaps and in some instances, the br-int dpid changes.&lt;/p&gt;

&lt;p&gt;I&apos;ve attached the logs for two instances of this bug, one where the dpid remains the same, and another one where the dpid changes.&lt;/p&gt;</comment>
                            <comment id="37068" author="bertrandlow" created="Thu, 19 Jan 2017 07:59:15 +0000"  >&lt;p&gt;Attachment NoBridge-NoDpidChange.tar.gz has been added with description: no br-int but dpid does not change&lt;/p&gt;</comment>
                            <comment id="37069" author="bertrandlow" created="Thu, 19 Jan 2017 07:59:52 +0000"  >&lt;p&gt;Attachment NoBridge-WithDpidChange.tar.gz has been added with description: no br-int but dpid changes&lt;/p&gt;</comment>
                            <comment id="37064" author="bertrandlow" created="Thu, 26 Jan 2017 20:43:21 +0000"  >&lt;p&gt;&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;/p&gt;</comment>
                            <comment id="37065" author="bertrandlow" created="Sun, 29 Jan 2017 08:19:34 +0000"  >&lt;p&gt;cherry-picked into master:&lt;br/&gt;
&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/51161/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/51161/&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                            <attachment id="12415" name="NoBridge-NoDpidChange.tar.gz" size="75658" author="bertrand.low@hcl.com" created="Thu, 19 Jan 2017 07:59:15 +0000"/>
                            <attachment id="12416" name="NoBridge-WithDpidChange.tar.gz" size="78934" author="bertrand.low@hcl.com" created="Thu, 19 Jan 2017 07:59:52 +0000"/>
                            <attachment id="12414" name="OVS details.zip" size="235340" author="ranjithkumar_t@hcl.com" created="Fri, 30 Dec 2016 09:44:38 +0000"/>
                            <attachment id="12413" name="karaf logs.zip" size="119654" author="ranjithkumar_t@hcl.com" created="Fri, 30 Dec 2016 09:42:53 +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>7461</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=7461]]></customfieldvalue>

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

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