<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:33:44 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-920] Cluster member gets in bad state if 2 instances disconnect just after the 3rd is recovered</title>
                <link>https://jira.opendaylight.org/browse/OPNFLWPLUG-920</link>
                <project id="10155" key="OPNFLWPLUG">OpenFlowPlugin</project>
                    <description>&lt;p&gt;This happens in stable/carbon. To reproduce:&lt;/p&gt;

&lt;p&gt;1) Connect single switch to cluster&lt;br/&gt;
sudo ovs-vsctl set-controller s1 &quot;tcp:192.168.0.101:6633&quot; &quot;tcp:192.168.0.102:6633&quot; &quot;tcp:192.168.0.103:6633&quot;&lt;/p&gt;

&lt;p&gt;2) Wait until all connections get stablished, master and slave after ~20 secs.&lt;/p&gt;

&lt;p&gt;3) Break connection Master to switch:&lt;br/&gt;
sudo iptables -A INPUT -s 192.168.0.103 -p tcp --sport 6633 -j DROP&lt;/p&gt;

&lt;p&gt;4) Wait until new master is elected and then restore the connection:&lt;br/&gt;
sudo iptables -D INPUT -s 192.168.0.103 -p tcp --sport 6633 -j DROP&lt;/p&gt;

&lt;p&gt;5) Now that connection is waiting for slave break new master and remaining connection:&lt;br/&gt;
sudo iptables -A INPUT -s 192.168.0.101 -p tcp --sport 6633 -j DROP&lt;br/&gt;
sudo iptables -A INPUT -s 192.168.0.102 -p tcp --sport 6633 -j DROP&lt;/p&gt;

&lt;p&gt;6) Following is observed in the remaining node (102), after that only solution is to reboot the node:&lt;/p&gt;

&lt;p&gt;2017-07-06 01:06:06,352 | INFO  | ofppool-0        | LifecycleServiceImpl             | 220 - org.opendaylight.openflowplugin.impl - 0.4.1.SNAPSHOT | Starting clustering services for node openflow:1&lt;br/&gt;
2017-07-06 01:06:06,352 | INFO  | ofppool-0        | DeviceContextImpl                | 220 - org.opendaylight.openflowplugin.impl - 0.4.1.SNAPSHOT | Starting device context cluster services for node openflow:1&lt;br/&gt;
2017-07-06 01:06:10,319 | INFO  | entLoopGroup-7-2 | SystemNotificationsListenerImpl  | 220 - org.opendaylight.openflowplugin.impl - 0.4.1.SNAPSHOT | ConnectionEvent: Connection closed by device, Device:/192.168.0.24:49423, NodeId:openflow:1&lt;br/&gt;
2017-07-06 01:06:10,319 | INFO  | entLoopGroup-7-2 | ContextChainHolderImpl           | 220 - org.opendaylight.openflowplugin.impl - 0.4.1.SNAPSHOT | Device openflow:1 disconnected.&lt;br/&gt;
2017-07-06 01:06:10,319 | INFO  | entLoopGroup-7-2 | LifecycleServiceImpl             | 220 - org.opendaylight.openflowplugin.impl - 0.4.1.SNAPSHOT | Closing clustering services registration for node openflow:1&lt;br/&gt;
2017-07-06 01:06:10,323 | WARN  | entLoopGroup-7-2 | OF13DeviceInitializer            | 220 - org.opendaylight.openflowplugin.impl - 0.4.1.SNAPSHOT | Failed to write node openflow:1 to DS because we failed to gather device info.&lt;br/&gt;
2017-07-06 01:06:10,323 | ERROR | entLoopGroup-7-2 | OutboundQueueProviderImpl        | 220 - org.opendaylight.openflowplugin.impl - 0.4.1.SNAPSHOT | No queue present, failing request&lt;br/&gt;
2017-07-06 01:06:10,324 | WARN  | entLoopGroup-7-2 | OF13DeviceInitializer            | 220 - org.opendaylight.openflowplugin.impl - 0.4.1.SNAPSHOT | Failed to retrieve static node OFPMPMETERFEATURES info: Outbound queue wasn&apos;t able to reserve XID.&lt;br/&gt;
2017-07-06 01:06:10,324 | ERROR | entLoopGroup-7-2 | OutboundQueueProviderImpl        | 220 - org.opendaylight.openflowplugin.impl - 0.4.1.SNAPSHOT | No queue present, failing request&lt;br/&gt;
2017-07-06 01:06:10,324 | WARN  | entLoopGroup-7-2 | OF13DeviceInitializer            | 220 - org.opendaylight.openflowplugin.impl - 0.4.1.SNAPSHOT | Failed to retrieve static node OFPMPGROUPFEATURES info: Outbound queue wasn&apos;t able to reserve XID.&lt;br/&gt;
2017-07-06 01:06:10,325 | ERROR | entLoopGroup-7-2 | OutboundQueueProviderImpl        | 220 - org.opendaylight.openflowplugin.impl - 0.4.1.SNAPSHOT | No queue present, failing request&lt;br/&gt;
2017-07-06 01:06:10,325 | WARN  | entLoopGroup-7-2 | OF13DeviceInitializer            | 220 - org.opendaylight.openflowplugin.impl - 0.4.1.SNAPSHOT | Failed to retrieve static node OFPMPPORTDESC info: Outbound queue wasn&apos;t able to reserve XID.&lt;br/&gt;
2017-07-06 01:06:10,325 | INFO  | entLoopGroup-7-2 | OF13DeviceInitializer            | 220 - org.opendaylight.openflowplugin.impl - 0.4.1.SNAPSHOT | Static node openflow:1 successfully finished collecting&lt;br/&gt;
2017-07-06 01:06:10,325 | INFO  | entLoopGroup-7-2 | StatisticsContextImpl            | 220 - org.opendaylight.openflowplugin.impl - 0.4.1.SNAPSHOT | Stopping running statistics gathering for node openflow:1&lt;br/&gt;
2017-07-06 01:06:10,326 | INFO  | ofppool-0        | SalRoleServiceImpl               | 220 - org.opendaylight.openflowplugin.impl - 0.4.1.SNAPSHOT | SetRole called with input:SetRoleInput [_controllerRole=BECOMEMASTER, _node=NodeRef [_value=KeyedInstanceIdentifier&lt;/p&gt;
{targetType=interface org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.nodes.Node, path=[org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.Nodes, org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.nodes.Node[key=NodeKey [_id=Uri [_value=openflow:1]]]]}
&lt;p&gt;], augmentation=[]]&lt;br/&gt;
2017-07-06 01:06:10,326 | INFO  | ofppool-0        | SalRoleServiceImpl               | 220 - org.opendaylight.openflowplugin.impl - 0.4.1.SNAPSHOT | Device NodeRef [_value=KeyedInstanceIdentifier&lt;/p&gt;
{targetType=interface org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.nodes.Node, path=[org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.Nodes, org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.nodes.Node[key=NodeKey [_id=Uri [_value=openflow:1]]]]}
&lt;p&gt;] has been disconnected&lt;br/&gt;
2017-07-06 01:06:10,326 | ERROR | ofppool-0        | SalRoleServiceImpl               | 220 - org.opendaylight.openflowplugin.impl - 0.4.1.SNAPSHOT | SetRoleService set Role BECOMEMASTER for Node: KeyedInstanceIdentifier&lt;/p&gt;
{targetType=interface org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.nodes.Node, path=[org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.Nodes, org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.nodes.Node[key=NodeKey [_id=Uri [_value=openflow:1]]]]}
&lt;p&gt; fail . Reason java.lang.Exception: Device connection doesn&apos;t exist anymore. Primary connection status : RIP&lt;br/&gt;
2017-07-06 01:06:10,326 | WARN  | ofppool-0        | ContextChainHolderImpl           | 220 - org.opendaylight.openflowplugin.impl - 0.4.1.SNAPSHOT | Not able to set MASTER role on device openflow:1, reason: Was not able to set MASTER role on device&lt;br/&gt;
2017-07-06 01:06:10,332 | INFO  | ult-dispatcher-5 | LifecycleServiceImpl             | 220 - org.opendaylight.openflowplugin.impl - 0.4.1.SNAPSHOT | Closing clustering services for node openflow:1&lt;br/&gt;
2017-07-06 01:06:10,334 | INFO  | ofppool-0        | StatisticsContextImpl            | 220 - org.opendaylight.openflowplugin.impl - 0.4.1.SNAPSHOT | Starting statistics context cluster services for node openflow:1&lt;br/&gt;
2017-07-06 01:06:10,335 | WARN  | ofppool-0        | ContextChainHolderImpl           | 220 - org.opendaylight.openflowplugin.impl - 0.4.1.SNAPSHOT | Not able to set MASTER role on device openflow:1, reason: Initial gathering statistics unsuccessful.&lt;br/&gt;
2017-07-06 01:06:10,335 | INFO  | ofppool-0        | RpcContextImpl                   | 220 - org.opendaylight.openflowplugin.impl - 0.4.1.SNAPSHOT | Starting rpc context cluster services for node openflow:1&lt;br/&gt;
2017-07-06 01:06:10,336 | INFO  | lt-dispatcher-29 | ContextChainHolderImpl           | 220 - org.opendaylight.openflowplugin.impl - 0.4.1.SNAPSHOT | Removing device Uri &lt;span class=&quot;error&quot;&gt;&amp;#91;_value=openflow:1&amp;#93;&lt;/span&gt; from operational DS&lt;br/&gt;
2017-07-06 01:06:11,380 | ERROR | n-dispatcher-590 | OutboundQueueProviderImpl        | 220 - org.opendaylight.openflowplugin.impl - 0.4.1.SNAPSHOT | No queue present, failing request&lt;br/&gt;
2017-07-06 01:06:11,381 | WARN  | n-dispatcher-590 | RpcContextImpl                   | 220 - org.opendaylight.openflowplugin.impl - 0.4.1.SNAPSHOT | Xid cannot be reserved for new RequestContext, node:openflow:1&lt;br/&gt;
2017-07-06 01:06:11,380 | ERROR | n-dispatcher-558 | OutboundQueueProviderImpl        | 220 - org.opendaylight.openflowplugin.impl - 0.4.1.SNAPSHOT | No queue present, failing request&lt;br/&gt;
2017-07-06 01:06:11,381 | WARN  | n-dispatcher-558 | RpcContextImpl                   | 220 - org.opendaylight.openflowplugin.impl - 0.4.1.SNAPSHOT | Xid cannot be reserved for new RequestContext, node:openflow:1&lt;br/&gt;
2017-07-06 01:06:11,382 | ERROR | n-dispatcher-589 | OutboundQueueProviderImpl        | 220 - org.opendaylight.openflowplugin.impl - 0.4.1.SNAPSHOT | No queue present, failing request&lt;br/&gt;
2017-07-06 01:06:11,384 | WARN  | n-dispatcher-589 | RpcContextImpl                   | 220 - org.opendaylight.openflowplugin.impl - 0.4.1.SNAPSHOT | Xid cannot be reserved for new RequestContext, node:openflow:1&lt;br/&gt;
2017-07-06 01:06:11,384 | ERROR | n-dispatcher-589 | OutboundQueueProviderImpl        | 220 - org.opendaylight.openflowplugin.impl - 0.4.1.SNAPSHOT | No queue present, failing request&lt;br/&gt;
2017-07-06 01:06:11,384 | WARN  | n-dispatcher-589 | RpcContextImpl                   | 220 - org.opendaylight.openflowplugin.impl - 0.4.1.SNAPSHOT | Xid cannot be reserved for new RequestContext, node:openflow:1&lt;br/&gt;
2017-07-06 01:06:12,377 | ERROR | ult-dispatcher-3 | OutboundQueueProviderImpl        | 220 - org.opendaylight.openflowplugin.impl - 0.4.1.SNAPSHOT | No queue present, failing request&lt;br/&gt;
2017-07-06 01:06:12,378 | WARN  | ult-dispatcher-3 | RpcContextImpl                   | 220 - org.opendaylight.openflowplugin.impl - 0.4.1.SNAPSHOT | Xid cannot be reserved for new RequestContext, node:openflow:1&lt;br/&gt;
2017-07-06 01:06:14,901 | ERROR | pool-26-thread-1 | OutboundQueueProviderImpl        | 220 - org.opendaylight.openflowplugin.impl - 0.4.1.SNAPSHOT | No queue present, failing request&lt;br/&gt;
2017-07-06 01:06:14,902 | WARN  | pool-26-thread-1 | RpcContextImpl                   | 220 - org.opendaylight.openflowplugin.impl - 0.4.1.SNAPSHOT | Xid cannot be reserved for new RequestContext, node:openflow:1&lt;br/&gt;
2017-07-06 01:06:14,902 | ERROR | pool-26-thread-1 | OutboundQueueProviderImpl        | 220 - org.opendaylight.openflowplugin.impl - 0.4.1.SNAPSHOT | No queue present, failing request&lt;br/&gt;
2017-07-06 01:06:14,902 | WARN  | pool-26-thread-1 | RpcContextImpl                   | 220 - org.opendaylight.openflowplugin.impl - 0.4.1.SNAPSHOT | Xid cannot be reserved for new RequestContext, node:openflow:1&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="28188">OPNFLWPLUG-920</key>
            <summary>Cluster member gets in bad state if 2 instances disconnect just after the 3rd is recovered</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="ecelgp">Luis Gomez</assignee>
                                    <reporter username="ecelgp">Luis Gomez</reporter>
                        <labels>
                    </labels>
                <created>Thu, 6 Jul 2017 01:21:20 +0000</created>
                <updated>Mon, 27 Sep 2021 09:02:04 +0000</updated>
                            <resolved>Wed, 20 Sep 2017 19:56:39 +0000</resolved>
                                                                    <component>General</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>4</watches>
                                                                                                                <comments>
                            <comment id="59062" author="tomas.slusny@pantheon.tech" created="Mon, 10 Jul 2017 13:58:11 +0000"  >&lt;p&gt;Can you try it again on this patch Luis? &lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/60075/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/60075/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I was not able to reproduce the error on that patch.&lt;/p&gt;</comment>
                            <comment id="59063" author="tomas.slusny@pantheon.tech" created="Mon, 10 Jul 2017 15:53:55 +0000"  >&lt;p&gt;Here is same patch for stable/carbon: &lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/60144/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/60144/&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="59064" author="ecelgp" created="Mon, 10 Jul 2017 16:02:32 +0000"  >&lt;p&gt;Lowering priority to critical as this is kind of corner case.&lt;/p&gt;</comment>
                            <comment id="59065" author="zxiiro" created="Tue, 11 Jul 2017 16:04:27 +0000"  >&lt;p&gt;(In reply to Luis Gomez from comment #3)&lt;br/&gt;
&amp;gt; Lowering priority to critical as this is kind of corner case.&lt;/p&gt;

&lt;p&gt;Do we need a respin for this patch then? if not we should remove it from blocking bugs on the tracking spreadsheet.&lt;/p&gt;</comment>
                            <comment id="59066" author="abhijit2511" created="Mon, 18 Sep 2017 15:58:21 +0000"  >&lt;p&gt;Can we confirm this is OK? (We think this should be OK now)&lt;/p&gt;</comment>
                            <comment id="59067" author="ecelgp" created="Wed, 20 Sep 2017 19:56:39 +0000"  >&lt;p&gt;Yes, I confirm this is fixed.&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>8805</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=8805]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10204" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>ODL SR Target Milestone</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10324"><![CDATA[Carbon-SR1]]></customfieldvalue>

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

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