<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:08:36 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>[MDSAL-87] possible deadlocks causing slow feature installations</title>
                <link>https://jira.opendaylight.org/browse/MDSAL-87</link>
                <project id="10137" key="MDSAL">mdsal</project>
                    <description>&lt;p&gt;There have been several complaints on the email lists about a deadlockmonitor warning in the karaf.log.  It seems when this happens during feature install, it will take an additional 90 seconds for the deadlockmonitor to restart the service after which point the system does seem to operate properly.&lt;/p&gt;

&lt;p&gt;this provides a lesser user experience when it happens.&lt;/p&gt;

&lt;p&gt;There may be many/several different flavors of this, but one easy way to&lt;br/&gt;
recreate it with a deadlock warning in &quot;distribute-config-datastore-provider&quot;:&lt;/p&gt;

&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;unzip the Lithium RCO bits&lt;/li&gt;
	&lt;li&gt;start karaf with the clean option&lt;/li&gt;
	&lt;li&gt;install the Helium based openflowplugin (feature:install odl-openflowplugin-flow-services-ui&quot;)&lt;/li&gt;
	&lt;li&gt;&amp;lt;optional&amp;gt;  you can connect mininet to verify the plugin is ok&lt;/li&gt;
	&lt;li&gt;logout of karaf&lt;/li&gt;
	&lt;li&gt;start karaf with the clean option&lt;/li&gt;
	&lt;li&gt;install the Lithium based openflowplugin (feature:install odl-openflowplugin-flow-services-ui-li&quot;)&lt;/li&gt;
	&lt;li&gt;monitor the data/log/karaf.log file for the DeadlockMonitor&lt;/li&gt;
	&lt;li&gt;you should see something similar to the below.&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;2015-06-06 09:39:12,989 | WARN  | saction-52-54&apos;}} | DeadlockMonitor                  | 113 - org.openday&lt;br/&gt;
light.controller.config-manager - 0.3.0.Lithium-RC0 | ModuleIdentifier&lt;/p&gt;
{factoryName=&apos;distributed-config-da
tastore-provider&apos;, instanceName=&apos;distributed-config-store-module&apos;}
&lt;p&gt; did not finish after 89986 ms&lt;br/&gt;
2015-06-06 09:39:13,781 | ERROR | config-pusher    | DistributedDataStore             | 179 - org.openday&lt;br/&gt;
light.controller.sal-distributed-datastore - 1.2.0.Lithium-RC0 | Shared leaders failed to settle in 90 se&lt;br/&gt;
conds, giving up&lt;/p&gt;



&lt;p&gt;As a side note, I have seen this in &quot;binding-broker-impl&quot;, although I don&apos;t have exact steps to&lt;br/&gt;
reproduce that one.&lt;/p&gt;

&lt;p&gt;2015-06-02 09:16:46,834 | WARN  | saction-50-52&apos;}} | DeadlockMonitor                  | 113 - org.opendaylight.controller.&lt;br/&gt;
config-manager - 0.3.0.SNAPSHOT | ModuleIdentifier&lt;/p&gt;
{factoryName=&apos;binding-broker-impl&apos;, instanceName=&apos;binding-broker-impl&apos;}
&lt;p&gt;did not finish after 89990 ms&lt;/p&gt;

&lt;p&gt;It&apos;s also been reported in &quot;statistics-manager&quot; on the controller-dev email list:&lt;/p&gt;

&lt;p&gt;2015-05-26 11:01:34,017 | WARN  | saction-33-35&apos;}} | kMonitor$DeadlockMonitorRunnable | 151 - org.opendaylight.controller.config-manager - 0.2.8.Helium-SR3 | ModuleIdentifier&lt;/p&gt;
{factoryName=&apos;statistics-manager&apos;, instanceName=&apos;statistics-manager&apos;}
&lt;p&gt; did not finish after 10984 ms&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="26909">MDSAL-87</key>
            <summary>possible deadlocks causing slow feature installations</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="10003">Cannot Reproduce</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="jluhrsen">Jamo Luhrsen</reporter>
                        <labels>
                    </labels>
                <created>Sat, 6 Jun 2015 16:53:11 +0000</created>
                <updated>Fri, 9 Mar 2018 18:00:08 +0000</updated>
                            <resolved>Mon, 22 Feb 2016 12:56:10 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>6</watches>
                                                                                                                <comments>
                            <comment id="54133" author="jluhrsen" created="Sat, 6 Jun 2015 16:54:17 +0000"  >&lt;p&gt;I was not sure what Component to use, so I choose karaf which feels just as wrong as the other options.  ???&lt;/p&gt;</comment>
                            <comment id="54134" author="jluhrsen" created="Thu, 11 Jun 2015 20:52:50 +0000"  >&lt;p&gt;one comment on controller-dev list had some clues:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://lists.opendaylight.org/pipermail/controller-dev/2015-June/009605.html&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://lists.opendaylight.org/pipermail/controller-dev/2015-June/009605.html&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="54135" author="rovarga" created="Fri, 13 Nov 2015 13:09:14 +0000"  >&lt;p&gt;Moving to MD-SAL as per the mailinglist comment.&lt;/p&gt;</comment>
                            <comment id="54136" author="hu.rui2@zte.com.cn" created="Fri, 11 Dec 2015 14:56:54 +0000"  >&lt;p&gt;I also encountered such a problem in the lithium version, I do not know this problem, whether in the follow-up version of lithium has been repaired, who can help me, thank you&lt;/p&gt;</comment>
                            <comment id="54137" author="jluhrsen" created="Fri, 11 Dec 2015 18:31:18 +0000"  >&lt;p&gt;I just re-tested this with Lithium-SR3 &lt;span class=&quot;error&quot;&gt;&amp;#91;0&amp;#93;&lt;/span&gt; and did not see the deadlock issue.&lt;/p&gt;


&lt;p&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;0&amp;#93;&lt;/span&gt;  &lt;a href=&quot;https://nexus.opendaylight.org/content/repositories/opendaylight.release/org/opendaylight/integration/distribution-karaf/0.3.3-Lithium-SR3/distribution-karaf-0.3.3-Lithium-SR3.zip&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://nexus.opendaylight.org/content/repositories/opendaylight.release/org/opendaylight/integration/distribution-karaf/0.3.3-Lithium-SR3/distribution-karaf-0.3.3-Lithium-SR3.zip&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="54138" author="jluhrsen" created="Fri, 11 Dec 2015 18:43:19 +0000"  >&lt;p&gt;(In reply to Jamo Luhrsen from comment #5)&lt;br/&gt;
&amp;gt; I just re-tested this with Lithium-SR3 &lt;span class=&quot;error&quot;&gt;&amp;#91;0&amp;#93;&lt;/span&gt; and did not see the deadlock&lt;br/&gt;
&amp;gt; issue.&lt;br/&gt;
&amp;gt; &lt;br/&gt;
&amp;gt; &lt;br/&gt;
&amp;gt; &lt;span class=&quot;error&quot;&gt;&amp;#91;0&amp;#93;&lt;/span&gt; &lt;br/&gt;
&amp;gt; &lt;a href=&quot;https://nexus.opendaylight.org/content/repositories/opendaylight.release/org/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://nexus.opendaylight.org/content/repositories/opendaylight.release/org/&lt;/a&gt;&lt;br/&gt;
&amp;gt; opendaylight/integration/distribution-karaf/0.3.3-Lithium-SR3/distribution-&lt;br/&gt;
&amp;gt; karaf-0.3.3-Lithium-SR3.zip&lt;/p&gt;

&lt;p&gt;I have also tested with master (Beryllium distro from 12/10/2015) and did not&lt;br/&gt;
see this.&lt;/p&gt;</comment>
                            <comment id="54139" author="jluhrsen" created="Fri, 11 Dec 2015 18:44:04 +0000"  >&lt;p&gt;(In reply to rui hu from comment #4)&lt;br/&gt;
&amp;gt; I also encountered such a problem in the lithium version, I do not know this&lt;br/&gt;
&amp;gt; problem, whether in the follow-up version of lithium has been repaired, who&lt;br/&gt;
&amp;gt; can help me, thank you&lt;/p&gt;

&lt;p&gt;Rui, which Lithium version are you using?  Would you be able to try with SR3 and report back?&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>3605</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=3605]]></customfieldvalue>

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

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

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