<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:33:11 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-709] Li plugin failed to push master role request occasionally</title>
                <link>https://jira.opendaylight.org/browse/OPNFLWPLUG-709</link>
                <project id="10155" key="OPNFLWPLUG">OpenFlowPlugin</project>
                    <description>&lt;p&gt;As I observed, when a switch connects to the Lithium version of OpenFlow plugin, plugin sets role by two steps: &lt;br/&gt;
   step 1 - firstly push a slave role request. &lt;br/&gt;
   step 2 - Received EOS messages and push a master role request as a response.&lt;/p&gt;

&lt;p&gt;I found step 2 failed occasionally, especially when the switch reconnects to the ODL Controller.&lt;/p&gt;

&lt;p&gt;The related messages in log is as following :&lt;/p&gt;

&lt;p&gt;opendaylight-user@root&amp;gt;2016-06-14 13:48:59,551 | INFO  | entLoopGroup-5-3 | SystemNotificationsListenerImpl  | 182 - org.opendaylight.openflowplugin.impl - 0.2.2.Beryllium-SR2 | ConnectionEvent: Connection closed by devi&lt;br/&gt;
ce, Device:/172.21.77.28:42997, NodeId:null&lt;br/&gt;
2016-06-14 13:49:00,344 | INFO  | entLoopGroup-5-4 | ConnectionAdapterImpl            | 178 - org.opendaylight.openflowjava.openflow-protocol-impl - 0.7.2.Beryllium-SR2 | Hello received / branch&lt;br/&gt;
2016-06-14 13:49:00,359 | INFO  | entLoopGroup-5-4 | DeviceManagerImpl                | 182 - org.opendaylight.openflowplugin.impl - 0.2.2.Beryllium-SR2 | ConnectionEvent: Device connected to controller, Device:/172.21.7&lt;br/&gt;
7.28:42998, NodeId:Uri &lt;span class=&quot;error&quot;&gt;&amp;#91;_value=openflow:1&amp;#93;&lt;/span&gt;&lt;br/&gt;
2016-06-14 13:49:00,361 | INFO  | entLoopGroup-5-4 | StatisticsManagerImpl            | 182 - org.opendaylight.openflowplugin.impl - 0.2.2.Beryllium-SR2 | Schedule Statistics poll for node:Uri &lt;span class=&quot;error&quot;&gt;&amp;#91;_value=openflow:1&amp;#93;&lt;/span&gt;&lt;br/&gt;
2016-06-14 13:49:00,361 | DEBUG | entLoopGroup-5-4 | RoleManagerImpl                  | 182 - org.opendaylight.openflowplugin.impl - 0.2.2.Beryllium-SR2 | Sending new role BECOMESLAVE to device Uri &lt;span class=&quot;error&quot;&gt;&amp;#91;_value=openflow:1&amp;#93;&lt;/span&gt;&lt;br/&gt;
2016-06-14 13:49:00,367 | INFO  | entLoopGroup-5-4 | SalRoleServiceImpl               | 182 - org.opendaylight.openflowplugin.impl - 0.2.2.Beryllium-SR2 | SetRole called with input:SetRoleInput [_controllerRole=BECOMESLA&lt;br/&gt;
VE, _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;
2016-06-14 13:49:00,373 | INFO  | entLoopGroup-5-4 | SalRoleServiceImpl               | 182 - org.opendaylight.openflowplugin.impl - 0.2.2.Beryllium-SR2 | Requesting state change to BECOMESLAVE&lt;br/&gt;
2016-06-14 13:49:00,377 | INFO  | entLoopGroup-5-4 | SalRoleServiceImpl               | 182 - org.opendaylight.openflowplugin.impl - 0.2.2.Beryllium-SR2 | RoleChangeTask called on device:openflow:1 OFPRole:BECOMESLAVE&lt;br/&gt;
2016-06-14 13:49:00,382 | INFO  | entLoopGroup-5-4 | RoleService                      | 182 - org.opendaylight.openflowplugin.impl - 0.2.2.Beryllium-SR2 | getGenerationIdFromDevice called for device:openflow:1&lt;br/&gt;
2016-06-14 13:49:00,388 | INFO  | entLoopGroup-5-4 | RoleContextImpl                  | 182 - org.opendaylight.openflowplugin.impl - 0.2.2.Beryllium-SR2 | Initialization main candidate for node Uri &lt;span class=&quot;error&quot;&gt;&amp;#91;_value=openflow:1&amp;#93;&lt;/span&gt;&lt;br/&gt;
2016-06-14 13:49:00,393 | DEBUG | entLoopGroup-5-4 | RoleContextImpl                  | 182 - org.opendaylight.openflowplugin.impl - 0.2.2.Beryllium-SR2 | Register candidate for entity Entity{type=&apos;openflow&apos;, id=/(urn:op&lt;br/&gt;
endaylight:params:xml:ns:yang:controller:md:sal:core:general-entity?revision=2015-08-20)entity/entity[&lt;/p&gt;
{(urn:opendaylight:params:xml:ns:yang:controller:md:sal:core:general-entity?revision=2015-08-20)name=openflow:1}
&lt;p&gt;]}&lt;br/&gt;
2016-06-14 13:49:00,398 | DEBUG | entLoopGroup-5-4 | RoleManagerImpl                  | 182 - org.opendaylight.openflowplugin.impl - 0.2.2.Beryllium-SR2 | Notifying registered listeners for role initialization done, no.&lt;br/&gt;
of listeners 1&lt;br/&gt;
2016-06-14 13:49:00,404 | INFO  | entLoopGroup-5-4 | LifecycleConductorImpl           | 182 - org.opendaylight.openflowplugin.impl - 0.2.2.Beryllium-SR2 | initialization phase for node Uri &lt;span class=&quot;error&quot;&gt;&amp;#91;_value=openflow:1&amp;#93;&lt;/span&gt; in role con&lt;br/&gt;
text was successful, continuing to next context.&lt;br/&gt;
2016-06-14 13:49:00,401 | DEBUG | lt-dispatcher-25 | RoleManagerImpl                  | 182 - org.opendaylight.openflowplugin.impl - 0.2.2.Beryllium-SR2 | Received EOS message: wasOwner:false isOwner:true hasOwner:true f&lt;br/&gt;
or entity type openflow and node &lt;del&gt;&amp;gt; no watching entity, disregarding notification &amp;lt;&lt;/del&gt;&lt;br/&gt;
2016-06-14 13:49:00,413 | INFO  | entLoopGroup-5-4 | RoleService                      | 182 - org.opendaylight.openflowplugin.impl - 0.2.2.Beryllium-SR2 | submitRoleChange called for device:Uri &lt;span class=&quot;error&quot;&gt;&amp;#91;_value=openflow:1&amp;#93;&lt;/span&gt;, role:&lt;br/&gt;
BECOMESLAVE&lt;br/&gt;
2016-06-14 13:49:00,414 | DEBUG | lt-dispatcher-25 | RoleManagerImpl                  | 182 - org.opendaylight.openflowplugin.impl - 0.2.2.Beryllium-SR2 | OwnershipChange EntityOwnershipChanged [entity=Entity{type=&apos;openf&lt;br/&gt;
low&apos;, id=/(urn:opendaylight:params:xml:ns:yang:controller:md:sal:core:general-entity?revision=2015-08-20)entity/entity[&lt;/p&gt;
{(urn:opendaylight:params:xml:ns:yang:controller:md:sal:core:general-entity?revision=2015-08-20)name=
openflow:1}
&lt;p&gt;]}, wasOwner=false, isOwner=true, hasOwner=true]&lt;br/&gt;
2016-06-14 13:49:00,421 | INFO  | entLoopGroup-5-4 | RoleService                      | 182 - org.opendaylight.openflowplugin.impl - 0.2.2.Beryllium-SR2 | submitRoleChange onSuccess for device:Uri &lt;span class=&quot;error&quot;&gt;&amp;#91;_value=openflow:1&amp;#93;&lt;/span&gt;, ro&lt;br/&gt;
le:BECOMESLAVE&lt;br/&gt;
2016-06-14 13:49:00,424 | INFO  | entLoopGroup-5-4 | RoleManagerImpl                  | 182 - org.opendaylight.openflowplugin.impl - 0.2.2.Beryllium-SR2 | Role BECOMESLAVE successfully set on device Uri [_value=openflow:&lt;br/&gt;
1]&lt;br/&gt;
2016-06-14 13:49:00,425 | DEBUG | entLoopGroup-5-4 | RoleManagerImpl                  | 182 - org.opendaylight.openflowplugin.impl - 0.2.2.Beryllium-SR2 | Notifying registered listeners for role change, no. of listeners&lt;br/&gt;
1&lt;br/&gt;
2016-06-14 13:49:00,920 | WARN  | entLoopGroup-5-4 | DeviceContextImpl                | 182 - org.opendaylight.openflowplugin.impl - 0.2.2.Beryllium-SR2 | Error processing port status message: Cannot write into transacti&lt;br/&gt;
on.&lt;/p&gt;


&lt;p&gt;I guess there exists a race condition between thread entLoopGroup-5-4 and lt-dispatcher-25.&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="27977">OPNFLWPLUG-709</key>
            <summary>Li plugin failed to push master role request occasionally</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="batky">Jozef Bacigal</assignee>
                                    <reporter username="huafei.zhang@utstar.com">Huafei Zhang</reporter>
                        <labels>
                    </labels>
                <created>Tue, 14 Jun 2016 08:59:44 +0000</created>
                <updated>Mon, 27 Sep 2021 09:01:50 +0000</updated>
                            <resolved>Thu, 16 Jun 2016 16:14:34 +0000</resolved>
                                                                    <component>General</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>1</watches>
                                                                                                                <comments>
                            <comment id="57941" author="jozef.bacigal@pantheon.tech" created="Wed, 15 Jun 2016 10:24:34 +0000"  >&lt;p&gt;&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/40366/1&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/40366/1&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>6060</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=6060]]></customfieldvalue>

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

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