<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:33:07 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-686] Li-Plugin: Transaction failure exception in 3-node cluster while processing port statistics</title>
                <link>https://jira.opendaylight.org/browse/OPNFLWPLUG-686</link>
                <project id="10155" key="OPNFLWPLUG">OpenFlowPlugin</project>
                    <description>&lt;p&gt;I am testing net-virt with openflowplugin lithium plugin in 3-node cluster environment. Whenever OVSDB connects to net-virt, it creates the bridge and set the controller of the bridge to all the three controllers in the 3-node cluster. Whichever instance of openflowplugin become the owner of the openflow bridge, it starts throwing following exception while processing the port statisitics &lt;/p&gt;

&lt;p&gt;2016-05-11 07:25:47,207 | INFO  | ntLoopGroup-11-4 | LifecycleConductorImpl           | 289 - org.opendaylight.openflowplugin.impl - 0.3.0.SNAPSHOT | Starting/Stopping services for node Uri &lt;span class=&quot;error&quot;&gt;&amp;#91;_value=openflow:82098239239489&amp;#93;&lt;/span&gt; was successful&lt;br/&gt;
2016-05-11 07:25:48,676 | WARN  | ntLoopGroup-11-4 | StatisticsGatheringUtils         | 289 - org.opendaylight.openflowplugin.impl - 0.3.0.SNAPSHOT | stats processing of type OFPMPPORTSTATS for node Uri &lt;span class=&quot;error&quot;&gt;&amp;#91;_value=openflow:82098239239489&amp;#93;&lt;/span&gt; failed during write-to-tx step&lt;br/&gt;
java.lang.IllegalStateException: Transaction DOM-CHAIN-2-3 is no longer running&lt;br/&gt;
	at com.google.common.base.Preconditions.checkState(Preconditions.java:197)&lt;span class=&quot;error&quot;&gt;&amp;#91;65:com.google.guava:18.0.0&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at org.opendaylight.controller.cluster.databroker.AbstractDOMBrokerWriteTransaction.checkRunning(AbstractDOMBrokerWriteTransaction.java:145)&lt;span class=&quot;error&quot;&gt;&amp;#91;181:org.opendaylight.controller.sal-distributed-datastore:1.4.0.SNAPSHOT&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at org.opendaylight.controller.cluster.databroker.AbstractDOMBrokerWriteTransaction.put(AbstractDOMBrokerWriteTransaction.java:74)&lt;span class=&quot;error&quot;&gt;&amp;#91;181:org.opendaylight.controller.sal-distributed-datastore:1.4.0.SNAPSHOT&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at org.opendaylight.controller.md.sal.dom.spi.ForwardingDOMDataReadWriteTransaction.put(ForwardingDOMDataReadWriteTransaction.java:49)&lt;span class=&quot;error&quot;&gt;&amp;#91;150:org.opendaylight.controller.sal-core-spi:1.4.0.SNAPSHOT&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at org.opendaylight.controller.md.sal.binding.impl.AbstractWriteTransaction.put(AbstractWriteTransaction.java:46)&lt;span class=&quot;error&quot;&gt;&amp;#91;153:org.opendaylight.controller.sal-binding-broker-impl:1.4.0.SNAPSHOT&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at org.opendaylight.controller.md.sal.binding.impl.BindingDOMWriteTransactionAdapter.put(BindingDOMWriteTransactionAdapter.java:40)&lt;span class=&quot;error&quot;&gt;&amp;#91;153:org.opendaylight.controller.sal-binding-broker-impl:1.4.0.SNAPSHOT&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at org.opendaylight.openflowplugin.impl.device.TransactionChainManager.writeToTransaction(TransactionChainManager.java:208)&lt;span class=&quot;error&quot;&gt;&amp;#91;289:org.opendaylight.openflowplugin.impl:0.3.0.SNAPSHOT&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at org.opendaylight.openflowplugin.impl.device.DeviceContextImpl.writeToTransaction(DeviceContextImpl.java:328)&lt;span class=&quot;error&quot;&gt;&amp;#91;289:org.opendaylight.openflowplugin.impl:0.3.0.SNAPSHOT&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at org.opendaylight.openflowplugin.impl.statistics.StatisticsGatheringUtils.processNodeConnectorStatistics(StatisticsGatheringUtils.java:380)[289:org.opendaylight.openflowplugin.impl:0.3.0.SNAPSHOT&lt;/p&gt;


&lt;p&gt;Full log file for one of the controller from 3-node cluster is attached with the bug.&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="27954">OPNFLWPLUG-686</key>
            <summary>Li-Plugin: Transaction failure exception in 3-node cluster while processing port statistics</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, 11 May 2016 09:20:39 +0000</created>
                <updated>Mon, 27 Sep 2021 09:01:48 +0000</updated>
                            <resolved>Mon, 11 Jul 2016 20:38:25 +0000</resolved>
                                                                    <component>General</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="57871" author="miroslav.macko" created="Mon, 30 May 2016 13:35:20 +0000"  >&lt;p&gt;We were trying to reproduce the error. I am appending logs from test in 3-node cluster without netvirt. There is problem with TxChain, when we are in state of closing. &lt;/p&gt;

&lt;p&gt;2016-05-24 10:12:08,504 | DEBUG | CommitFutures-17 | StatisticsGatheringUtils         | 277 - org.opendaylight.openflowplugin.impl - 0.3.0.SNAPSHOT | Stats reply FAILED for node Uri &lt;span class=&quot;error&quot;&gt;&amp;#91;_value=openflow:1&amp;#93;&lt;/span&gt; of type OFPMPTABLE: [RpcError &lt;span class=&quot;error&quot;&gt;&amp;#91;message=Connection closed., severity=ERROR, errorType=APPLICATION, tag=, applicationTag=null, info=null, cause=null&amp;#93;&lt;/span&gt;]&lt;br/&gt;
2016-05-24 10:12:08,504 | DEBUG | CommitFutures-17 | StatisticsContextImpl            | 277 - org.opendaylight.openflowplugin.impl - 0.3.0.SNAPSHOT | Device connection is closed for Node : Uri &lt;span class=&quot;error&quot;&gt;&amp;#91;_value=openflow:1&amp;#93;&lt;/span&gt;.&lt;br/&gt;
2016-05-24 10:12:08,504 | DEBUG | CommitFutures-17 | TransactionChainManager          | 277 - org.opendaylight.openflowplugin.impl - 0.3.0.SNAPSHOT | WriteTx is null 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;. Write data for InstanceIdentifier&lt;/p&gt;
{targetType=interface org.opendaylight.yang.gen.v1.urn.opendaylight.flow.inventory.rev130819.snapshot.gathering.status.grouping.SnapshotGatheringStatusEnd, 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]]], org.opendaylight.yang.gen.v1.urn.opendaylight.flow.inventory.rev130819.FlowCapableStatisticsGatheringStatus, org.opendaylight.yang.gen.v1.urn.opendaylight.flow.inventory.rev130819.snapshot.gathering.status.grouping.SnapshotGatheringStatusEnd]}
&lt;p&gt; was not realized.&lt;br/&gt;
2016-05-24 10:12:08,504 | WARN  | CommitFutures-17 | StatisticsGatheringUtils         | 277 - org.opendaylight.openflowplugin.impl - 0.3.0.SNAPSHOT | Can&apos;t write to transaction: {}&lt;br/&gt;
java.lang.Exception: Cannot write into transaction.&lt;br/&gt;
	at org.opendaylight.openflowplugin.impl.device.TransactionChainManager.writeToTransaction(TransactionChainManager.java:227)&lt;span class=&quot;error&quot;&gt;&amp;#91;277:org.opendaylight.openflowplugin.impl:0.3.0.SNAPSHOT&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at org.opendaylight.openflowplugin.impl.device.DeviceContextImpl.writeToTransaction(DeviceContextImpl.java:336)&lt;span class=&quot;error&quot;&gt;&amp;#91;277:org.opendaylight.openflowplugin.impl:0.3.0.SNAPSHOT&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at org.opendaylight.openflowplugin.impl.statistics.StatisticsGatheringUtils.markDeviceStateSnapshotEnd(StatisticsGatheringUtils.java:515)&lt;span class=&quot;error&quot;&gt;&amp;#91;277:org.opendaylight.openflowplugin.impl:0.3.0.SNAPSHOT&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at org.opendaylight.openflowplugin.impl.statistics.StatisticsContextImpl$1.onFailure(StatisticsContextImpl.java:137)&lt;span class=&quot;error&quot;&gt;&amp;#91;277:org.opendaylight.openflowplugin.impl:0.3.0.SNAPSHOT&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at com.google.common.util.concurrent.Futures$6.run(Futures.java:1310)&lt;span class=&quot;error&quot;&gt;&amp;#91;54:com.google.guava:18.0.0&amp;#93;&lt;/span&gt;...&lt;/p&gt;

&lt;p&gt;We will follow up on that.&lt;/p&gt;

&lt;p&gt;Thanks,&lt;br/&gt;
Miro&lt;/p&gt;</comment>
                            <comment id="57874" author="miroslav.macko" created="Mon, 30 May 2016 13:35:20 +0000"  >&lt;p&gt;Attachment log-20160524-101534.tar.gz has been added with description: 3-node cluster log&lt;/p&gt;</comment>
                            <comment id="57872" author="jozef.bacigal@pantheon.tech" created="Tue, 21 Jun 2016 09:16:55 +0000"  >&lt;p&gt;&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/40536/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/40536/&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="57873" author="jozef.bacigal@pantheon.tech" created="Mon, 11 Jul 2016 08:54:03 +0000"  >&lt;p&gt;Anil can we close this bug?&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10002">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                        <issuelink>
            <issuekey id="27983">OPNFLWPLUG-715</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                            <attachment id="14060" name="log-20160524-101534.tar.gz" size="299846" author="miroslav.macko@pantheon.tech" created="Mon, 30 May 2016 13:35:20 +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>5873</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=5873]]></customfieldvalue>

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

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