<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 19:55:33 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>[CONTROLLER-1441] Clustering : OF ports (6653,6633) not coming up in couple of nodes after all required OF bundle installated in 5 node cluster ( seen very frequently 9 of 10 times in SR2)</title>
                <link>https://jira.opendaylight.org/browse/CONTROLLER-1441</link>
                <project id="10113" key="CONTROLLER">controller</project>
                    <description>&lt;p&gt;Clustering Issue : OF ports (6653,6633) not coming up in couple of nodes after all required OF bundle installed in 5 node cluster ( seen very very frequently 9 outof 10 times in SR2. Please refer below steps.&lt;/p&gt;

&lt;p&gt;1.&lt;br/&gt;
Using SR2 build, Starting a 5 node cluster ( c1, c2, c3, c4 &amp;amp; c5) using deploy script as below.&lt;/p&gt;

&lt;p&gt;./deploy_odl.py --clean --distribution=/home/mininet/controller-Li/distribution-karaf-0.3.2-Lithium-SR2.zip --rootdir=/home/mininet/controller-Li --hosts=10.183.181.41,10.183.181.42,10.183.181.43,10.183.181.44,10.183.181.45 --user=root --password=rootroot --template=/multi-node-test&lt;/p&gt;


&lt;p&gt;2.&lt;br/&gt;
Installed following bundles in all nodes one after another, after ensuring (odl-cluster-data &amp;amp; odl-cluster-rpc Ports) 2550 &amp;amp; 2551 are up.&lt;/p&gt;

&lt;p&gt;root@mininet-vm:~# netstat -na | grep 2550&lt;br/&gt;
tcp6       0      0 10.183.181.41:2550      :::*                    LISTEN&lt;br/&gt;
tcp6       0      0 10.183.181.41:2550      10.183.181.45:59936     ESTABLISHED&lt;br/&gt;
tcp6       0      0 10.183.181.41:38763     10.183.181.42:2550      ESTABLISHED&lt;br/&gt;
tcp6       0      0 10.183.181.41:2550      10.183.181.43:60935     ESTABLISHED&lt;br/&gt;
tcp6       0      0 10.183.181.41:32937     10.183.181.43:2550      ESTABLISHED&lt;br/&gt;
tcp6       0      0 10.183.181.41:47800     10.183.181.45:2550      ESTABLISHED&lt;br/&gt;
tcp6       0      0 10.183.181.41:54118     10.183.181.44:2550      ESTABLISHED&lt;br/&gt;
tcp6       0      0 10.183.181.41:2550      10.183.181.44:34235     ESTABLISHED&lt;br/&gt;
tcp6       0      0 10.183.181.41:2550      10.183.181.42:51515     ESTABLISHED&lt;br/&gt;
root@mininet-vm:~# netstat -na | grep 2551&lt;br/&gt;
tcp6       0      0 10.183.181.41:2551      :::*                    LISTEN&lt;br/&gt;
tcp6       0      0 10.183.181.41:2551      10.183.181.42:33333     ESTABLISHED&lt;br/&gt;
tcp6       0      0 10.183.181.41:2551      10.183.181.44:36155     ESTABLISHED&lt;br/&gt;
tcp6       0      0 10.183.181.41:2551      10.183.181.43:49365     ESTABLISHED&lt;br/&gt;
tcp6       0      0 10.183.181.41:35548     10.183.181.42:2551      ESTABLISHED&lt;br/&gt;
tcp6       0      0 10.183.181.41:58923     10.183.181.44:2551      ESTABLISHED&lt;br/&gt;
tcp6       0      0 10.183.181.41:39818     10.183.181.45:2551      ESTABLISHED&lt;br/&gt;
tcp6       0    373 10.183.181.41:42423     10.183.181.43:2551      ESTABLISHED&lt;br/&gt;
tcp6       0      0 10.183.181.41:2551      10.183.181.45:40387     ESTABLISHED&lt;/p&gt;


&lt;p&gt;feature:install odl-clustering-test-app&lt;br/&gt;
feature:install odl-restconf-all&lt;br/&gt;
feature:install odl-mdsal-all&lt;br/&gt;
feature:install odl-openflowplugin-all-li&lt;/p&gt;


&lt;p&gt;3. OF ports 6633, 6653 came up in all 4 nodes (c2, c3, c4, c5) excpet c1.&lt;/p&gt;

&lt;p&gt;c1:&lt;br/&gt;
===&lt;br/&gt;
root@mininet-vm:~# netstat -na | grep 665*&lt;br/&gt;
tcp        0      0 0.0.0.0:6644            0.0.0.0:*               LISTEN&lt;br/&gt;
unix  3      [ ]         STREAM     CONNECTED     9662&lt;br/&gt;
unix  3      [ ]         STREAM     CONNECTED     1866&lt;br/&gt;
unix  3      [ ]         STREAM     CONNECTED     8566     @/com/ubuntu/upstart&lt;/p&gt;

&lt;p&gt;c2, c3, c4, c5:&lt;br/&gt;
===============&lt;br/&gt;
root@mininet-vm:~# netstat -na | grep 665*&lt;br/&gt;
tcp        0      0 0.0.0.0:6644            0.0.0.0:*               LISTEN&lt;br/&gt;
tcp6       0      0 :::6633                 :::*                    LISTEN&lt;br/&gt;
tcp6       0      0 :::6653                 :::*                    LISTEN&lt;/p&gt;


&lt;p&gt;4. checked suspected ERROR logs&lt;/p&gt;

&lt;p&gt;2015-11-02 22:13:17,361 | ERROR | config-pusher    | ConfigTransactionControllerImpl  | 125 - org.opendaylight.controller.config-manager - 0.3.2.Lithium-SR2 | Commit failed on ModuleIdentifier&lt;/p&gt;
{factoryName=&apos;openflow-plugin-provider-impl&apos;, instanceName=&apos;openflow-plugin-provider-impl&apos;} in transaction TransactionIdentifier{name=&apos;ConfigTransaction-86-88&apos;}&lt;br/&gt;
java.lang.IllegalStateException: java.util.concurrent.ExecutionException: TransactionCommitFailedException{message=canCommit encountered an unexpected failure, errorList=[RpcError [message=canCommit encountered an unexpected failure, severity=ERROR, errorType=APPLICATION, tag=operation-failed, applicationTag=null, info=null, cause=org.opendaylight.controller.md.sal.common.api.data.DataStoreUnavailableException: Shard member-1-shard-inventory-operational currently has no leader. Try again later.]]}&lt;br/&gt;
        at org.opendaylight.openflowplugin.impl.device.DeviceManagerImpl.&amp;lt;init&amp;gt;(DeviceManagerImpl.java:155)&lt;br/&gt;
        at org.opendaylight.openflowplugin.impl.OpenFlowPluginProviderImpl.initialize(OpenFlowPluginProviderImpl.java:169)&lt;br/&gt;
        at org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.config.openflow.plugin.impl.rev150327.OpenFlowProviderModule.createInstance(OpenFlowProviderModule.java:40)&lt;br/&gt;
        at org.opendaylight.controller.config.spi.AbstractModule.getInstance(AbstractModule.java:73)&lt;br/&gt;
        at sun.reflect.GeneratedMethodAccessor31.invoke(Unknown Source)&lt;br/&gt;
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)&lt;span class=&quot;error&quot;&gt;&amp;#91;:1.7.0_65&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at java.lang.reflect.Method.invoke(Method.java:606)&lt;span class=&quot;error&quot;&gt;&amp;#91;:1.7.0_65&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at org.opendaylight.controller.config.manager.impl.dependencyresolver.DependencyResolverManager$ModuleInvocationHandler.handleInvocation(DependencyResolverManager.java:150)&lt;br/&gt;
&lt;br/&gt;
5. Giving grep output of all errors in logfile. Also attaching karaf log files.&lt;br/&gt;
&lt;br/&gt;
root@mininet-vm:/home/mininet/controller-Li/deploy/current/odl/data/log# grep ERROR karaf.log.1&lt;br/&gt;
2015-11-02 22:05:11,708 | ERROR | Event Dispatcher | FeatureDeploymentListener        | 21 - org.apache.karaf.deployer.features - 3.0.3 | Unable to install features&lt;br/&gt;
2015-11-02 22:10:27,389 | ERROR | config-pusher    | DistributedDataStore             | 191 - org.opendaylight.controller.sal-distributed-datastore - 1.2.2.Lithium-SR2 | Shared leaders failed to settle in 90 seconds, giving up&lt;br/&gt;
2015-11-02 22:11:57,500 | ERROR | config-pusher    | DistributedDataStore             | 191 - org.opendaylight.controller.sal-distributed-datastore - 1.2.2.Lithium-SR2 | Shared leaders failed to settle in 90 seconds, giving up&lt;br/&gt;
2015-11-02 22:12:35,456 | ERROR | CommitFutures-1  | NetconfDeviceDatastoreAdapter    | 243 - org.opendaylight.controller.sal-netconf-connector - 1.2.2.Lithium-SR2 | RemoteDevice{controller-config}: TransactionChain(org.opendaylight.controller.md.sal.binding.impl.BindingDOMTransactionChainAdapter@adef923) DOM-CHAIN-0-0 FAILED!&lt;br/&gt;
TransactionCommitFailedException{message=canCommit encountered an unexpected failure, errorList=[RpcError [message=canCommit encountered an unexpected failure, severity=ERROR, errorType=APPLICATION, tag=operation-failed, applicationTag=null, info=null, cause=org.opendaylight.controller.md.sal.common.api.data.DataStoreUnavailableException: Shard member-1-shard-inventory-operational currently has no leader. Try again later.]]}&lt;br/&gt;
2015-11-02 22:12:35,253 | ERROR | CommitFutures-0  | NetconfDeviceDatastoreAdapter    | 243 - org.opendaylight.controller.sal-netconf-connector - 1.2.2.Lithium-SR2 | RemoteDevice{controller-config}: Transaction(init) DOM-CHAIN-0-0 FAILED!&lt;br/&gt;
TransactionCommitFailedException{message=canCommit encountered an unexpected failure, errorList=[RpcError [message=canCommit encountered an unexpected failure, severity=ERROR, errorType=APPLICATION, tag=operation-failed, applicationTag=null, info=null, cause=org.opendaylight.controller.md.sal.common.api.data.DataStoreUnavailableException: Shard member-1-shard-inventory-operational currently has no leader. Try again later.]]}&lt;br/&gt;
2015-11-02 22:12:36,644 | ERROR | CommitFutures-4  | NetconfDeviceTopologyAdapter     | 243 - org.opendaylight.controller.sal-netconf-connector - 1.2.2.Lithium-SR2 | RemoteDevice{controller-config}: Transaction(init) DOM-CHAIN-1-0 FAILED!&lt;br/&gt;
TransactionCommitFailedException{message=canCommit encountered an unexpected failure, errorList=[RpcError [message=canCommit encountered an unexpected failure, severity=ERROR, errorType=APPLICATION, tag=operation-failed, applicationTag=null, info=null, cause=org.opendaylight.controller.md.sal.common.api.data.DataStoreUnavailableException: Shard member-1-shard-topology-operational currently has no leader. Try again later.]]}&lt;br/&gt;
2015-11-02 22:12:36,449 | ERROR | CommitFutures-3  | NetconfDeviceTopologyAdapter     | 243 - org.opendaylight.controller.sal-netconf-connector - 1.2.2.Lithium-SR2 | RemoteDevice{controller-config}: TransactionChain(org.opendaylight.controller.md.sal.binding.impl.BindingDOMTransactionChainAdapter@dd96fd0) DOM-CHAIN-1-0 FAILED!&lt;br/&gt;
TransactionCommitFailedException{message=canCommit encountered an unexpected failure, errorList=[RpcError [message=canCommit encountered an unexpected failure, severity=ERROR, errorType=APPLICATION, tag=operation-failed, applicationTag=null, info=null, cause=org.opendaylight.controller.md.sal.common.api.data.DataStoreUnavailableException: Shard member-1-shard-topology-operational currently has no leader. Try again later.]]}&lt;br/&gt;
java.util.concurrent.ExecutionException: TransactionCommitFailedException{message=canCommit encountered an unexpected failure, errorList=[RpcError [message=canCommit encountered an unexpected failure, severity=ERROR, errorType=APPLICATION, tag=operation-failed, applicationTag=null, info=null, cause=org.opendaylight.controller.md.sal.common.api.data.DataStoreUnavailableException: Shard member-1-shard-topology-operational currently has no leader. Try again later.]]}&lt;br/&gt;
Caused by: TransactionCommitFailedException{message=canCommit encountered an unexpected failure, errorList=[RpcError [message=canCommit encountered an unexpected failure, severity=ERROR, errorType=APPLICATION, tag=operation-failed, applicationTag=null, info=null, cause=org.opendaylight.controller.md.sal.common.api.data.DataStoreUnavailableException: Shard member-1-shard-topology-operational currently has no leader. Try again later.]]}&lt;br/&gt;
2015-11-02 22:13:02,207 | ERROR | sing-executor-11 | ExecutionList                    | 72 - com.google.guava - 18.0.0 | RuntimeException while executing runnable com.google.common.util.concurrent.Futures$6@3d203dd5 with executor INSTANCE&lt;br/&gt;
2015-11-02 22:13:17,353 | ERROR | config-pusher    | DeviceManagerImpl                | 280 - org.opendaylight.openflowplugin.impl - 0.1.2.Lithium-SR2 | Creation of node failed.&lt;br/&gt;
java.util.concurrent.ExecutionException: TransactionCommitFailedException{message=canCommit encountered an unexpected failure, errorList=[RpcError [message=canCommit encountered an unexpected failure, severity=ERROR, errorType=APPLICATION, tag=operation-failed, applicationTag=null, info=null, cause=org.opendaylight.controller.md.sal.common.api.data.DataStoreUnavailableException: Shard member-1-shard-inventory-operational currently has no leader. Try again later.]]}&lt;br/&gt;
Caused by: TransactionCommitFailedException{message=canCommit encountered an unexpected failure, errorList=[RpcError [message=canCommit encountered an unexpected failure, severity=ERROR, errorType=APPLICATION, tag=operation-failed, applicationTag=null, info=null, cause=org.opendaylight.controller.md.sal.common.api.data.DataStoreUnavailableException: Shard member-1-shard-inventory-operational currently has no leader. Try again later.]]}&lt;br/&gt;
2015-11-02 22:13:17,361 | ERROR | config-pusher    | ConfigTransactionControllerImpl  | 125 - org.opendaylight.controller.config-manager - 0.3.2.Lithium-SR2 | Commit failed on ModuleIdentifier{factoryName=&apos;openflow-plugin-provider-impl&apos;, instanceName=&apos;openflow-plugin-provider-impl&apos;}
&lt;p&gt; in transaction TransactionIdentifier&lt;/p&gt;
{name=&apos;ConfigTransaction-86-88&apos;}
&lt;p&gt;java.lang.IllegalStateException: java.util.concurrent.ExecutionException: TransactionCommitFailedException&lt;/p&gt;
{message=canCommit encountered an unexpected failure, errorList=[RpcError [message=canCommit encountered an unexpected failure, severity=ERROR, errorType=APPLICATION, tag=operation-failed, applicationTag=null, info=null, cause=org.opendaylight.controller.md.sal.common.api.data.DataStoreUnavailableException: Shard member-1-shard-inventory-operational currently has no leader. Try again later.]]}
&lt;p&gt;Caused by: java.util.concurrent.ExecutionException: TransactionCommitFailedException&lt;/p&gt;
{message=canCommit encountered an unexpected failure, errorList=[RpcError [message=canCommit encountered an unexpected failure, severity=ERROR, errorType=APPLICATION, tag=operation-failed, applicationTag=null, info=null, cause=org.opendaylight.controller.md.sal.common.api.data.DataStoreUnavailableException: Shard member-1-shard-inventory-operational currently has no leader. Try again later.]]}
&lt;p&gt;Caused by: TransactionCommitFailedException&lt;/p&gt;
{message=canCommit encountered an unexpected failure, errorList=[RpcError [message=canCommit encountered an unexpected failure, severity=ERROR, errorType=APPLICATION, tag=operation-failed, applicationTag=null, info=null, cause=org.opendaylight.controller.md.sal.common.api.data.DataStoreUnavailableException: Shard member-1-shard-inventory-operational currently has no leader. Try again later.]]}
&lt;p&gt;2015-11-02 22:13:17,464 | ERROR | config-pusher    | ConfigRegistryImpl               | 125 - org.opendaylight.controller.config-manager - 0.3.2.Lithium-SR2 | Configuration Transaction failed on 2PC, server is unhealthy&lt;br/&gt;
Caused by: java.lang.IllegalStateException: java.util.concurrent.ExecutionException: TransactionCommitFailedException&lt;/p&gt;
{message=canCommit encountered an unexpected failure, errorList=[RpcError [message=canCommit encountered an unexpected failure, severity=ERROR, errorType=APPLICATION, tag=operation-failed, applicationTag=null, info=null, cause=org.opendaylight.controller.md.sal.common.api.data.DataStoreUnavailableException: Shard member-1-shard-inventory-operational currently has no leader. Try again later.]]}
&lt;p&gt;Caused by: java.util.concurrent.ExecutionException: TransactionCommitFailedException&lt;/p&gt;
{message=canCommit encountered an unexpected failure, errorList=[RpcError [message=canCommit encountered an unexpected failure, severity=ERROR, errorType=APPLICATION, tag=operation-failed, applicationTag=null, info=null, cause=org.opendaylight.controller.md.sal.common.api.data.DataStoreUnavailableException: Shard member-1-shard-inventory-operational currently has no leader. Try again later.]]}
&lt;p&gt;Caused by: TransactionCommitFailedException&lt;/p&gt;
{message=canCommit encountered an unexpected failure, errorList=[RpcError [message=canCommit encountered an unexpected failure, severity=ERROR, errorType=APPLICATION, tag=operation-failed, applicationTag=null, info=null, cause=org.opendaylight.controller.md.sal.common.api.data.DataStoreUnavailableException: Shard member-1-shard-inventory-operational currently has no leader. Try again later.]]}
&lt;p&gt;root@mininet-vm:/home/mininet/controller-Li/deploy/current/odl/data/log# grep ERROR karaf.log&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="25995">CONTROLLER-1441</key>
            <summary>Clustering : OF ports (6653,6633) not coming up in couple of nodes after all required OF bundle installated in 5 node cluster ( seen very frequently 9 of 10 times in SR2)</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="moraja@cisco.com">Moiz Raja</assignee>
                                    <reporter username="sanjib.mohapatra@ericsson.com">Sanjib Mohapatra</reporter>
                        <labels>
                    </labels>
                <created>Tue, 3 Nov 2015 08:35:17 +0000</created>
                <updated>Thu, 18 Feb 2016 12:23:52 +0000</updated>
                            <resolved>Thu, 18 Feb 2016 12:23:52 +0000</resolved>
                                    <version>Lithium</version>
                                                    <component>clustering</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>5</watches>
                                                                                                                <comments>
                            <comment id="51093" author="sanjib.mohapatra@ericsson.com" created="Tue, 3 Nov 2015 08:35:17 +0000"  >&lt;p&gt;Attachment c1.karaf.log.rar has been added with description: karaf logs of controller1 (c1)&lt;/p&gt;</comment>
                            <comment id="51092" author="tpantelis" created="Thu, 18 Feb 2016 12:23:52 +0000"  >&lt;p&gt;This appears to be an issue with OF, specifically the &quot;lithium&quot; plugin. The module seems to fail fast if it can&apos;t write to the datastore on startup. If the issue still exists post Li SR2, please open a bug in the OF project.&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                            <attachment id="13550" name="c1.karaf.log.rar" size="31915" author="sanjib.mohapatra@ericsson.com" created="Tue, 3 Nov 2015 08:35:17 +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>4572</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=4572]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10206" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Issue Type</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10300"><![CDATA[Bug]]></customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_10202" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Priority</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10301"><![CDATA[Normal]]></customfieldvalue>

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

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