<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:36:05 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>[OVSDB-322] Southbound plugin doesn&apos;t allow controller initiated re-connection</title>
                <link>https://jira.opendaylight.org/browse/OVSDB-322</link>
                <project id="10158" key="OVSDB">ovsdb</project>
                    <description>&lt;p&gt;Southbound plugin does not allow controller initiated re-connection,if the previous connection was terminated from switch side and not from controller side (through data store).&lt;/p&gt;

&lt;p&gt;Steps to recreate the issue:&lt;/p&gt;

&lt;p&gt;(1) Set OVS switch to listen in passive mode&lt;br/&gt;
(2) Fire restconf to controller to connect to the switch&lt;br/&gt;
(3) Delete manager of the OVS switch, this will terminate the connection&lt;br/&gt;
(4) Delete connection configuration from the data store&lt;br/&gt;
(5) Set manager in passive mode again for ovs switch&lt;br/&gt;
(6) Add the same configuration to data store again to re-connect to the switch.&lt;/p&gt;

&lt;p&gt;Controller won&apos;t connect to the switch. Log message shows following log message&lt;br/&gt;
2016-03-16 00:57:09,240 | WARN  | on-dispatcher-38 | OvsdbDataChangeListener          | 163 - org.opendaylight.ovsdb.southbound-impl - 1.2.2.SNAPSHOT | Connection to device ConnectionInfo{getRemoteIp=IpAddress [_ipv4Address=Ipv4Address &lt;span class=&quot;error&quot;&gt;&amp;#91;_value=192.168.122.110&amp;#93;&lt;/span&gt;, _value=&lt;span class=&quot;error&quot;&gt;&amp;#91;1, 9, 2, ., 1, 6, 8, ., 1, 2, 2, ., 1, 1, 0&amp;#93;&lt;/span&gt;], getRemotePort=PortNumber &lt;span class=&quot;error&quot;&gt;&amp;#91;_value=16640&amp;#93;&lt;/span&gt;, augmentations={}} already exists. Plugin does not allow multiple connections to same device, hence dropping the request OvsdbNodeAugmentation{getConnectionInfo=ConnectionInfo{getRemoteIp=IpAddress [_ipv4Address=Ipv4Address &lt;span class=&quot;error&quot;&gt;&amp;#91;_value=192.168.122.110&amp;#93;&lt;/span&gt;, _value=&lt;span class=&quot;error&quot;&gt;&amp;#91;1, 9, 2, ., 1, 6, 8, ., 1, 2, 2, ., 1, 1, 0&amp;#93;&lt;/span&gt;], getRemotePort=PortNumber &lt;span class=&quot;error&quot;&gt;&amp;#91;_value=16640&amp;#93;&lt;/span&gt;, augmentations={}}}&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="22014">OVSDB-322</key>
            <summary>Southbound plugin doesn&apos;t allow controller initiated re-connection</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="Avishnoi">Anil Vishnoi</assignee>
                                    <reporter username="Avishnoi">Anil Vishnoi</reporter>
                        <labels>
                    </labels>
                <created>Wed, 16 Mar 2016 08:04:00 +0000</created>
                <updated>Mon, 30 Oct 2017 19:52:45 +0000</updated>
                            <resolved>Tue, 17 May 2016 09:22:26 +0000</resolved>
                                    <version>unspecified</version>
                                                    <component>Southbound.Open_vSwitch</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="41378" author="vishnoianil@gmail.com" created="Wed, 16 Mar 2016 08:22:39 +0000"  >&lt;p&gt;master : &lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/36279/1&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/36279/1&lt;/a&gt;&lt;br/&gt;
stable/beryllium : &lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/36278/1&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/36278/1&lt;/a&gt;&lt;br/&gt;
stable/lithium : &lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/36280/1&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/36280/1&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="41379" author="vishnoianil@gmail.com" created="Wed, 16 Mar 2016 08:25:01 +0000"  >&lt;p&gt;When controller initiated connection gets terminate from switch side (because of network outage, switch removed, machine down etc), it does not clear the instance identifier cache. When controller removes the configuration and connects back, it checks if the relevant IID is present in the cache, if it&apos;s present it assumes that controller is already connected. Above patches cleans up the cache and that resolves the issue.&lt;/p&gt;</comment>
                            <comment id="41380" author="thapar" created="Thu, 17 Mar 2016 05:22:46 +0000"  >&lt;p&gt;Similar fix is needed for hwvtep too. I&apos;ve raised a patch using the same bug-id:&lt;/p&gt;

&lt;p&gt;stable/beryllium: &lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/36381/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/36381/&lt;/a&gt;&lt;br/&gt;
master: &lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/36383/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/36383/&lt;/a&gt;&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_10208" key="com.atlassian.jira.plugin.system.customfieldtypes:textfield">
                        <customfieldname>External issue ID</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>5542</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=5542]]></customfieldvalue>

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

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