<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:22:55 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-971] ElanUtils...Error writing to datastore...OptimisticLockFailedException...InterfaceRemoveWorkerOnElanInterface</title>
                <link>https://jira.opendaylight.org/browse/NETVIRT-971</link>
                <project id="10144" key="NETVIRT">netvirt</project>
                    <description>&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;{{2017-10-30 03:00:49,072 | ERROR | nPool-1-worker-0 | ElanUtils                        | 341 - org.opendaylight.netvirt.elanmanager-impl - 0.4.3.SNAPSHOT | Error writing to datastore {}
java.util.concurrent.ExecutionException: OptimisticLockFailedException{message=Optimistic lock failed., errorList=[RpcError [message=Optimistic lock failed., severity=ERROR, errorType=APPLICATION, tag=resource-denied, applicationTag=null, info=null, cause=org.opendaylight.yangtools.yang.data.api.schema.tree.ConflictingModificationAppliedException: Node was deleted by other transaction.]]}
	at org.opendaylight.yangtools.util.concurrent.MappingCheckedFuture.wrapInExecutionException(MappingCheckedFuture.java:64)[42:org.opendaylight.yangtools.util:1.1.3.SNAPSHOT]
	at org.opendaylight.yangtools.util.concurrent.MappingCheckedFuture.get(MappingCheckedFuture.java:77)[42:org.opendaylight.yangtools.util:1.1.3.SNAPSHOT]
	at org.opendaylight.netvirt.elan.utils.ElanUtils.waitForTransactionToComplete(ElanUtils.java:1446)[341:org.opendaylight.netvirt.elanmanager-impl:0.4.3.SNAPSHOT]
	at org.opendaylight.netvirt.elan.internal.ElanInterfaceManager.removeEntriesForElanInterface(ElanInterfaceManager.java:441)[341:org.opendaylight.netvirt.elanmanager-impl:0.4.3.SNAPSHOT]
	at org.opendaylight.netvirt.elan.internal.InterfaceRemoveWorkerOnElanInterface.call(InterfaceRemoveWorkerOnElanInterface.java:55)[341:org.opendaylight.netvirt.elanmanager-impl:0.4.3.SNAPSHOT]
	at org.opendaylight.netvirt.elan.internal.InterfaceRemoveWorkerOnElanInterface.call(InterfaceRemoveWorkerOnElanInterface.java:21)[341:org.opendaylight.netvirt.elanmanager-impl:0.4.3.SNAPSHOT]
	at org.opendaylight.genius.datastoreutils.DataStoreJobCoordinator$MainTask.run(DataStoreJobCoordinator.java:285)[292:org.opendaylight.genius.mdsalutil-api:0.2.3.SNAPSHOT]}}
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment></environment>
        <key id="28646">NETVIRT-971</key>
            <summary>ElanUtils...Error writing to datastore...OptimisticLockFailedException...InterfaceRemoveWorkerOnElanInterface</summary>
                <type id="10104" iconUrl="https://jira.opendaylight.org/secure/viewavatar?size=xsmall&amp;avatarId=10303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="3" iconUrl="https://jira.opendaylight.org/images/icons/priorities/major.svg">Medium</priority>
                        <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="eswanit">Swati Niture</assignee>
                                    <reporter username="shague">Sam Hague</reporter>
                        <labels>
                            <label>csit:3node</label>
                            <label>csit:exception</label>
                    </labels>
                <created>Mon, 30 Oct 2017 18:32:42 +0000</created>
                <updated>Thu, 5 Apr 2018 21:30:43 +0000</updated>
                            <resolved>Thu, 5 Apr 2018 21:30:43 +0000</resolved>
                                                                    <component>General</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="60041" author="eswanit" created="Tue, 14 Nov 2017 08:06:41 +0000"  >&lt;p&gt;&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/64753/6&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/64753/6&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="60054" author="shague@redhat.com" created="Wed, 15 Nov 2017 14:03:55 +0000"  >&lt;p&gt;The below logs are the only reason I thought 971 was related to 942/945. The first WARN is similar to 942/945 about the &quot;elan-forwarding-tables/mac-table/mac-table&quot; and then the second WARN is the exception for 971. It is a little different in that we don&apos;t see the exception from 942/945 at this point, also 942/945 is in the log but many minutes earlier without 971. So maybe they are not really related.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://logs.opendaylight.org/releng/jenkins092/netvirt-csit-1node-openstack-ocata-upstream-stateful-oxygen/369/odl_1/odl1_karaf.log.gz&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://logs.opendaylight.org/releng/jenkins092/netvirt-csit-1node-openstack-ocata-upstream-stateful-oxygen/369/odl_1/odl1_karaf.log.gz&lt;/a&gt;&lt;/p&gt;

&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;2017-11-15 08:30:50,503 | WARN  | rd-dispatcher-44 | ShardDataTree                    | 217 - org.opendaylight.controller.sal-distributed-datastore - 1.7.0.SNAPSHOT | member-1-shard-default-operational: Store Tx member-1-datastore-operational-fe-0-txn-69033-0: Conflicting modification for path /(urn:opendaylight:netvirt:elan?revision=2015-06-02)elan-forwarding-tables/mac-table/mac-table[{(urn:opendaylight:netvirt:elan?revision=2015-06-02)elan-instance-name=267f6df6-9cf8-4696-aa36-53ea595c171d}].
2017-11-15 08:30:50,503 | WARN  | ult-dispatcher-2 | ConcurrentDOMDataBroker          | 217 - org.opendaylight.controller.sal-distributed-datastore - 1.7.0.SNAPSHOT | Tx: DOM-194871 Error during phase CAN_COMMIT, starting Abort
OptimisticLockFailedException{message=Optimistic lock failed., errorList=[RpcError [message=Optimistic lock failed., severity=ERROR, errorType=APPLICATION, tag=resource-denied, applicationTag=null, info=null, cause=org.opendaylight.yangtools.yang.data.api.schema.tree.ConflictingModificationAppliedException: Node was deleted by other transaction.]]}
	at org.opendaylight.controller.cluster.datastore.ShardDataTree.lambda$processNextPendingTransaction$0(ShardDataTree.java:731)[217:org.opendaylight.controller.sal-distributed-datastore:1.7.0.SNAPSHOT]
	at org.opendaylight.controller.cluster.datastore.ShardDataTree.processNextPending(ShardDataTree.java:769)[217:org.opendaylight.controller.sal-distributed-datastore:1.7.0.SNAPSHOT]
	at org.opendaylight.controller.cluster.datastore.ShardDataTree.processNextPendingTransaction(ShardDataTree.java:716)[217:org.opendaylight.controller.sal-distributed-
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                            <comment id="60112" author="shague@redhat.com" created="Tue, 21 Nov 2017 14:37:10 +0000"  >&lt;p&gt;Still in carbon: &lt;a href=&quot;https://logs.opendaylight.org/releng/jenkins092/netvirt-csit-1node-openstack-ocata-upstream-stateful-carbon/196/odl_1/odl1_karaf.log.gz&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://logs.opendaylight.org/releng/jenkins092/netvirt-csit-1node-openstack-ocata-upstream-stateful-carbon/196/odl_1/odl1_karaf.log.gz&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="60129" author="vorburger" created="Wed, 22 Nov 2017 15:18:03 +0000"  >&lt;p&gt;&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/65839/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/65839/&lt;/a&gt; is a counter proposal to &lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/64753/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/64753/&lt;/a&gt; .. that should fix this &lt;tt&gt;OptimisticLockFailedException&lt;/tt&gt;, because the &lt;tt&gt;removeEntriesForElanInterface()&lt;/tt&gt; is changed to take &lt;tt&gt;WriteTransaction interfaceTx, WriteTransaction flowTx&lt;/tt&gt; parameters which at the caller at the end of &lt;tt&gt;removeElanInterface()&lt;/tt&gt; runs (now) inside a &lt;tt&gt;RetryingManagedNewTransactionRunner&lt;/tt&gt;&apos;s &lt;tt&gt;callWithNewWriteOnlyTransactionAndSubmit()&lt;/tt&gt;, which will perform a few retries in case of an &lt;tt&gt;OptimisticLockFailedException&lt;/tt&gt;.&lt;/p&gt;</comment>
                            <comment id="60138" author="eswanit" created="Fri, 24 Nov 2017 05:32:14 +0000"  >&lt;p&gt;@ Michael, thanks.&lt;br/&gt;
The patch which I have raised -&amp;gt; &lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/64753/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/64753/&lt;/a&gt; was supposed to fix&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;1&amp;#93;&lt;/span&gt; Conflicting modification for path :elan-forwarding-tables/mac-table/mac-table &lt;br/&gt;
(&lt;a href=&quot;https://jira.opendaylight.org/browse/NETVIRT-942&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;https://jira.opendaylight.org/browse/NETVIRT-942&lt;/a&gt;) and &lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;2&amp;#93;&lt;/span&gt; Error writing to datastore&lt;br/&gt;
(&lt;a href=&quot;https://jira.opendaylight.org/browse/NETVIRT-971&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;https://jira.opendaylight.org/browse/NETVIRT-971&lt;/a&gt;)&lt;br/&gt;
But here, since I was trying an approach of using DJC for remove method, and this will conflict with your changes, I&apos;ll wait till your changes are merged and if &lt;span class=&quot;error&quot;&gt;&amp;#91;1&amp;#93;&lt;/span&gt; exception is coming in CSIT, then I&apos;ll rework on top of your changes.&lt;/p&gt;</comment>
                            <comment id="60636" author="shague@redhat.com" created="Tue, 9 Jan 2018 11:24:34 +0000"  >&lt;p&gt;oxygen failure:&#160;&lt;a href=&quot;https://logs.opendaylight.org/releng/vex-yul-odl-jenkins-1/netvirt-csit-1node-openstack-ocata-gate-stateful-oxygen/599/odl_1/odl1_karaf.log.gz&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://logs.opendaylight.org/releng/vex-yul-odl-jenkins-1/netvirt-csit-1node-openstack-ocata-gate-stateful-oxygen/599/odl_1/odl1_karaf.log.gz&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="62109" author="shague@redhat.com" created="Thu, 5 Apr 2018 21:30:43 +0000"  >&lt;p&gt;&lt;a href=&quot;https://git.opendaylight.org/gerrit/70252&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/70252&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10003">
                    <name>Relates</name>
                                            <outwardlinks description="relates to">
                                        <issuelink>
            <issuekey id="20863">NETVIRT-942</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <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_10002" key="com.pyxis.greenhopper.jira:gh-epic-link">
                        <customfieldname>Epic Link</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>NETVIRT-996</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10000" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i036yf:</customfieldvalue>

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