<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 19:56:20 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-1743] New ODL node unable to join existing cluster at runtime</title>
                <link>https://jira.opendaylight.org/browse/CONTROLLER-1743</link>
                <project id="10113" key="CONTROLLER">controller</project>
                    <description>&lt;p&gt;In Boron, a new ODL node could join an existing cluster at runtime (i.e. without having to restart the existing cluster and changing its cluster configuration) by:&lt;/p&gt;

&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;starting the new ODL node with a different role name than any of the nodes in the existing cluster&lt;/li&gt;
	&lt;li&gt;seeding the new node with a node in the existing cluster&lt;/li&gt;
	&lt;li&gt;issuing the rpc restconf/operations/cluster-admin:add-replicas-for-all-shards on the new node&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;In testing with Carbon official release (distribution-karaf-0.6.0-Carbon.tar.gz) and with SR2 nexus snapshot (distribution-karaf-0.6.2-20170724.132221-179.tar.gz), it appears that there is a startup issue that fails to add the new ODL node to the existing cluster.&lt;/p&gt;

&lt;p&gt;This is the setup:&lt;/p&gt;

&lt;p&gt;1) an existing 3-node ODL cluster consisting of member-1 (192.168.50.33), member-2 (192.168.50.34), and member-3 (192.168.50.35)&lt;/p&gt;


&lt;p&gt;2) configure the akka.conf for the new ODL node, 192.168.50.36, to use the member name &quot;member-4&quot; and seed it with the current leader of the cluster (or any other node, or all the nodes of the cluster):&lt;/p&gt;

&lt;p&gt;    cluster &lt;/p&gt;
{
      # Remove &quot;.tcp&quot; when using artery.
      seed-nodes = [&quot;akka.tcp://opendaylight-cluster-data@192.168.50.33:2550&quot;]

      roles = [
        &quot;member-4&quot;
      ]
    }


&lt;p&gt;3) start up member-4 and install the clustering feature (module-shards.conf defaults to &quot;member-1&quot; as the only replica)&lt;/p&gt;

&lt;p&gt;note that member-4 gets the Welcome message from the seed node:&lt;/p&gt;

&lt;p&gt;2017-07-24 17:54:41,162 | INFO  | ult-dispatcher-6 | kka://opendaylight-cluster-data) | 179 - com.typesafe.akka.slf4j - 2.4.18 | Cluster Node &lt;span class=&quot;error&quot;&gt;&amp;#91;akka.tcp://opendaylight-cluster-data@192.168.50.36:2550&amp;#93;&lt;/span&gt; - Welcome from &lt;span class=&quot;error&quot;&gt;&amp;#91;akka.tcp://opendaylight-cluster-data@192.168.50.33:2550&amp;#93;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;but there are errors such as:&lt;/p&gt;

&lt;p&gt;2017-07-24 17:56:27,849 | ERROR | l for user karaf | ServiceRecipe                    | 15 - org.apache.aries.blueprint.core - 1.6.1 | Error retrieving service from ServiceRecipe&lt;span class=&quot;error&quot;&gt;&amp;#91;name=&amp;#39;.component-6&amp;#39;&amp;#93;&lt;/span&gt;&lt;br/&gt;
org.osgi.service.blueprint.container.ComponentDefinitionException: Unable to initialize bean cdsNodeManager&lt;/p&gt;

&lt;p&gt;2017-07-24 17:56:27,851 | ERROR | ult-dispatcher-4 | Futures$CombinedFuture           | 65 - com.google.guava - 18.0.0 | input future failed.&lt;br/&gt;
org.opendaylight.controller.cluster.sharding.DOMDataTreeShardCreationFailedException: Unable to find the backend shard.Failing..&lt;/p&gt;

&lt;p&gt;2017-07-24 17:56:28,061 | ERROR | l for user karaf | BlueprintContainerImpl           | 15 - org.apache.aries.blueprint.core - 1.6.1 | Unable to start blueprint container for bundle org.opendaylight.controller.sal-distributed-datastore/1.5.2.SNAPSHOT&lt;br/&gt;
org.osgi.service.blueprint.container.ComponentDefinitionException: org.osgi.service.blueprint.container.ComponentDefinitionException: Unable to initialize bean cdsNodeManager&lt;/p&gt;

&lt;p&gt;2017-07-24 17:56:41,521 | WARN  | saction-33-35&apos;}} | DeadlockMonitor                  | 127 - org.opendaylight.controller.config-manager - 0.6.2.SNAPSHOT | ModuleIdentifier&lt;/p&gt;
{factoryName=&apos;runtime-generated-mapping&apos;, instanceName=&apos;runtime-mapping-singleton&apos;}
&lt;p&gt; did not finish after 9904 ms&lt;/p&gt;


&lt;p&gt;4) when the existing cluster is queried, member-4 shows up as unreachable:&lt;/p&gt;

&lt;p&gt;{&quot;request&quot;:&lt;/p&gt;
{&quot;mbean&quot;:&quot;akka:type=Cluster&quot;,&quot;type&quot;:&quot;read&quot;}
&lt;p&gt;,&quot;value&quot;:{&quot;Leader&quot;:&quot;akka.tcp:\/\/opendaylight-cluster-data@192.168.50.33:2550&quot;,&quot;Unreachable&quot;:&quot;akka.tcp:\/\/opendaylight-cluster-data@192.168.50.36:2550&quot;,&quot;Singleton&quot;:false,&quot;Available&quot;:true,&quot;MemberStatus&quot;:&quot;Up&quot;,&quot;ClusterStatus&quot;:&quot;{\n  \&quot;self-address\&quot;: \&quot;akka.tcp:\/\/opendaylight-cluster-data@192.168.50.33:2550\&quot;,\n  \&quot;members\&quot;: [\n    &lt;/p&gt;
{\n      \&quot;address\&quot;: \&quot;akka.tcp:\/\/opendaylight-cluster-data@192.168.50.33:2550\&quot;,\n      \&quot;status\&quot;: \&quot;Up\&quot;,\n      \&quot;roles\&quot;: [\n        \&quot;member-1\&quot;\n      ]\n    }
&lt;p&gt;,\n    &lt;/p&gt;
{\n      \&quot;address\&quot;: \&quot;akka.tcp:\/\/opendaylight-cluster-data@192.168.50.34:2550\&quot;,\n      \&quot;status\&quot;: \&quot;Up\&quot;,\n      \&quot;roles\&quot;: [\n        \&quot;member-2\&quot;\n      ]\n    }
&lt;p&gt;,\n    &lt;/p&gt;
{\n      \&quot;address\&quot;: \&quot;akka.tcp:\/\/opendaylight-cluster-data@192.168.50.35:2550\&quot;,\n      \&quot;status\&quot;: \&quot;Up\&quot;,\n      \&quot;roles\&quot;: [\n        \&quot;member-3\&quot;\n      ]\n    }
&lt;p&gt;,\n    &lt;/p&gt;
{\n      \&quot;address\&quot;: \&quot;akka.tcp:\/\/opendaylight-cluster-data@192.168.50.36:2550\&quot;,\n      \&quot;status\&quot;: \&quot;Up\&quot;,\n      \&quot;roles\&quot;: [\n        \&quot;member-4\&quot;\n      ]\n    }
&lt;p&gt;\n  ],\n  \&quot;unreachable\&quot;: [\n    &lt;/p&gt;
{\n      \&quot;node\&quot;: \&quot;akka.tcp:\/\/opendaylight-cluster-data@192.168.50.36:2550\&quot;,\n      \&quot;observed-by\&quot;: [\n        \&quot;akka.tcp:\/\/opendaylight-cluster-data@192.168.50.33:2550\&quot;,\n        \&quot;akka.tcp:\/\/opendaylight-cluster-data@192.168.50.34:2550\&quot;,\n        \&quot;akka.tcp:\/\/opendaylight-cluster-data@192.168.50.35:2550\&quot;\n      ]\n    }
&lt;p&gt;\n  ]\n}\n&quot;,&quot;Members&quot;:&quot;akka.tcp:\/\/opendaylight-cluster-data@192.168.50.33:2550,akka.tcp:\/\/opendaylight-cluster-data@192.168.50.34:2550,akka.tcp:\/\/opendaylight-cluster-data@192.168.50.35:2550,akka.tcp:\/\/opendaylight-cluster-data@192.168.50.36:2550&quot;},&quot;timestamp&quot;:1500933425,&quot;status&quot;:200}&lt;/p&gt;


&lt;p&gt;5) also, when trying to add-replicas-for-all-shards on member-4, the following error is returned:&lt;/p&gt;

&lt;p&gt;&amp;lt;head&amp;gt;&lt;br/&gt;
        &amp;lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=ISO-8859-1&quot;/&amp;gt;&lt;br/&gt;
        &amp;lt;title&amp;gt;Error 401 Unauthorized&amp;lt;/title&amp;gt;&lt;br/&gt;
    &amp;lt;/head&amp;gt;&lt;br/&gt;
    &amp;lt;body&amp;gt;&lt;br/&gt;
        &amp;lt;h2&amp;gt;HTTP ERROR 401&amp;lt;/h2&amp;gt;&lt;br/&gt;
        &amp;lt;p&amp;gt;Problem accessing /restconf/operations/cluster-admin:add-replicas-for-all-shards. Reason:&lt;/p&gt;

&lt;p&gt;            &amp;lt;pre&amp;gt;    Unauthorized&amp;lt;/pre&amp;gt;&lt;br/&gt;
        &amp;lt;/p&amp;gt;&lt;br/&gt;
        &amp;lt;hr /&amp;gt;&lt;br/&gt;
        &amp;lt;i&amp;gt;&lt;br/&gt;
            &amp;lt;small&amp;gt;Powered by Jetty://&amp;lt;/small&amp;gt;&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="26297">CONTROLLER-1743</key>
            <summary>New ODL node unable to join existing cluster at runtime</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="-1">Unassigned</assignee>
                                    <reporter username="bertrandlow">Bertrand Low</reporter>
                        <labels>
                    </labels>
                <created>Tue, 25 Jul 2017 06:26:53 +0000</created>
                <updated>Mon, 30 Oct 2017 15:38:58 +0000</updated>
                            <resolved>Wed, 6 Sep 2017 08:49:16 +0000</resolved>
                                    <version>Carbon</version>
                                                    <component>clustering</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>11</watches>
                                                                                                                <comments>
                            <comment id="52524" author="bertrandlow" created="Tue, 25 Jul 2017 06:31:57 +0000"  >&lt;p&gt;Attachment carbon-error_karaf.log has been added with description: karaf log of the new node when the features &quot;odl-mdsal-clustering odl-jolokia&quot; are installed&lt;/p&gt;</comment>
                            <comment id="52525" author="bertrandlow" created="Tue, 25 Jul 2017 06:32:48 +0000"  >&lt;p&gt;Attachment carbon-error-netvirt-install_karaf.log has been added with description: karaf log of the new node when &quot;odl-netvirt-openstack&quot; is installed&lt;/p&gt;</comment>
                            <comment id="52517" author="bertrandlow" created="Wed, 26 Jul 2017 00:53:08 +0000"  >&lt;p&gt;This is actually a duplicate of &lt;a href=&quot;https://jira.opendaylight.org/browse/CONTROLLER-1636&quot; title=&quot;DistributedShardedDOMDataTree should be able to work also with dynamically added cluster member nodes&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CONTROLLER-1636&quot;&gt;&lt;del&gt;CONTROLLER-1636&lt;/del&gt;&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="52518" author="tpantelis" created="Thu, 27 Jul 2017 00:17:55 +0000"  >&lt;p&gt;Submitted &lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/60780/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/60780/&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="52519" author="bertrandlow" created="Thu, 3 Aug 2017 17:08:55 +0000"  >&lt;p&gt;Hi Tom, can we cherry-pick this fix to Carbon as well? thanks.&lt;/p&gt;</comment>
                            <comment id="52520" author="tpantelis" created="Thu, 3 Aug 2017 19:22:06 +0000"  >&lt;p&gt;(In reply to Bertrand Low from comment #5)&lt;br/&gt;
&amp;gt; Hi Tom, can we cherry-pick this fix to Carbon as well? thanks.&lt;/p&gt;

&lt;p&gt;stable/carbon - &lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/61132/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/61132/&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="52521" author="rovarga" created="Thu, 3 Aug 2017 19:31:01 +0000"  >&lt;p&gt;Let&apos;s wait with Carbon until Vratko can confirm what it does to CSIT...&lt;/p&gt;</comment>
                            <comment id="52522" author="rovarga" created="Thu, 24 Aug 2017 23:26:44 +0000"  >&lt;p&gt;Sorry, this is a regression in functionality shipped in a previous release, so it clearly blocks Carbon SR2.&lt;/p&gt;</comment>
                            <comment id="52523" author="gvrangan" created="Wed, 6 Sep 2017 08:49:16 +0000"  >&lt;p&gt;All Patches are merged. The problem is fixed&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                            <attachment id="13675" name="carbon-error-netvirt-install_karaf.log" size="305004" author="bertrand.low@hcl.com" created="Tue, 25 Jul 2017 06:32:48 +0000"/>
                            <attachment id="13674" name="carbon-error_karaf.log" size="99562" author="bertrand.low@hcl.com" created="Tue, 25 Jul 2017 06:31:57 +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>8885</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=8885]]></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="10337"><![CDATA[Carbon-SR2]]></customfieldvalue>

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

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