<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 19:54:28 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-1016] Clustering : BGP - Linkstate topology missing.</title>
                <link>https://jira.opendaylight.org/browse/CONTROLLER-1016</link>
                <project id="10113" key="CONTROLLER">controller</project>
                    <description>&lt;p&gt;When Karaf is started with clustering (3 nodes, no replication, no persistence, quiet period after installing odl-mdsal-clustering), and then odl-bgpcep-all feature is installed, there are several errors in logs (to be attached shortly).&lt;/p&gt;

&lt;p&gt;It is not clear which is the primary cause (even whether it is bug in BGP or in clustering), so reporting only symptoms:&lt;/p&gt;

&lt;p&gt;Linkstate topology is missing links and nodes, but ipv4 topology is complete.&lt;/p&gt;

&lt;p&gt;Posible direct (as opposed to primary) cause from log:&lt;/p&gt;

&lt;p&gt;2014-11-11 17:00:54,661 | ERROR | CommitFutures-8  | RIBImpl                          | 259 - org.opendaylight.bgpcep.bgp-rib-impl - 0.3.2.Helium-SR1 | Failed to commit RIB modification&lt;br/&gt;
TransactionCommitFailedException&lt;/p&gt;
{message=preCommit encountered an unexpected failure, errorList=[RpcError [message=preCommit encountered an unexpected failure, severity=ERROR, errorType=APPLICATION, tag=operation-failed, applicationTag=null, info=null, cause=akka.pattern.AskTimeoutException: Ask timed out on [ActorSelection[Anchor(akka://opendaylight-cluster-data/), Path(/user/shardmanager-operational/member-1-shard-default-operational)]] after [5000 ms]]]}</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="25570">CONTROLLER-1016</key>
            <summary>Clustering : BGP - Linkstate topology missing.</summary>
                <type id="10104" iconUrl="https://jira.opendaylight.org/secure/viewavatar?size=xsmall&amp;avatarId=10303&amp;avatarType=issuetype">Bug</type>
                                                <status id="10004" iconUrl="https://jira.opendaylight.org/images/icons/status_generic.gif" description="">Verified</status>
                    <statusCategory id="3" key="done" colorName="green"/>
                                    <resolution id="10000">Done</resolution>
                                        <assignee username="moraja@cisco.com">Moiz Raja</assignee>
                                    <reporter username="vrpolak">Vratko Polak</reporter>
                        <labels>
                    </labels>
                <created>Tue, 11 Nov 2014 17:46:50 +0000</created>
                <updated>Thu, 4 Dec 2014 11:40:25 +0000</updated>
                            <resolved>Thu, 4 Dec 2014 11:40:25 +0000</resolved>
                                    <version>Helium</version>
                                                    <component>mdsal</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>7</watches>
                                                                                                                <comments>
                            <comment id="49788" author="vrpolak" created="Tue, 11 Nov 2014 17:51:24 +0000"  >&lt;p&gt;Attachment bug2353.tar.xz has been added with description: Archive with curl output and karaf.log from 3 instances (third one did not even had ipv4 topology).&lt;/p&gt;</comment>
                            <comment id="49775" author="rovarga" created="Tue, 11 Nov 2014 17:55:39 +0000"  >&lt;p&gt;Looks like a clustering problem. Since neither replication nor persistence is enabled, this should be working locally.&lt;/p&gt;

&lt;p&gt;I do not think we can recover from this failure in the app &amp;#8211; we have no way of affectivng the datastore, nor do we have visibility into how the DS heals.&lt;/p&gt;</comment>
                            <comment id="49776" author="moraja@cisco.com" created="Tue, 11 Nov 2014 18:05:29 +0000"  >&lt;p&gt;Vratko,&lt;/p&gt;

&lt;p&gt;Could you please try this with a controller built from master. There were a couple of issues with the transaction chaining implementation in the clustered datastore that may possibly affect you.&lt;/p&gt;

&lt;p&gt;Also I will need to check the configuration to see how persistence/replication were disabled.&lt;/p&gt;</comment>
                            <comment id="49777" author="vrpolak" created="Tue, 11 Nov 2014 18:52:34 +0000"  >&lt;p&gt;&amp;gt; Could you please try this with a controller built from master.&lt;/p&gt;

&lt;p&gt;Will do that tomorrow.&lt;/p&gt;

&lt;p&gt;&amp;gt; Also I will need to check the configuration to see how&lt;br/&gt;
&amp;gt; persistence/replication were disabled.&lt;/p&gt;

&lt;p&gt;Persistence: The old way, using&lt;br/&gt;
  system:property shard.persistent false&lt;br/&gt;
and I just realized it does not work that way anymore.&lt;br/&gt;
Is the new way documented somewhere on a wiki page?&lt;/p&gt;

&lt;p&gt;But snapshot and journal directories were not present, so hopefully there was not much difference in behavior from truly no-persistence setup.&lt;/p&gt;

&lt;p&gt;Replication:&lt;br/&gt;
Attached archive with clustering configuration, but also BGP and PCEP ODL configuration and XRVR configuration.&lt;/p&gt;</comment>
                            <comment id="49789" author="vrpolak" created="Tue, 11 Nov 2014 18:52:34 +0000"  >&lt;p&gt;Attachment conf.tar.xz has been added with description: Archive containing various configuration, as present when logs were gathered.&lt;/p&gt;</comment>
                            <comment id="49778" author="vrpolak" created="Tue, 11 Nov 2014 18:56:41 +0000"  >&lt;p&gt;I forgot to mention, that the same ODL and XRVR configuration was manually tested against non-clustered configuration (basically everything the same, just odl-mdsal-clustering feature not installed) and linkstate topology was there indeed.&lt;/p&gt;</comment>
                            <comment id="49779" author="moraja@cisco.com" created="Wed, 12 Nov 2014 02:09:13 +0000"  >&lt;p&gt;I added some notes on how to disable persistence. This is applicable to post stable/helium code only. &lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://wiki.opendaylight.org/view/Running_and_testing_an_OpenDaylight_Cluster#How_do_we_disable_persistence.3F&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://wiki.opendaylight.org/view/Running_and_testing_an_OpenDaylight_Cluster#How_do_we_disable_persistence.3F&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Persistence is enabled by default in stable/helium so I wonder why snapshots and journal directory were not created for you.&lt;/p&gt;</comment>
                            <comment id="49780" author="moraja@cisco.com" created="Wed, 12 Nov 2014 02:19:54 +0000"  >&lt;p&gt;I looked at the attached configuration and it seems to be correct. I can only suspect that you are being hit by the following bugs,&lt;/p&gt;

&lt;p&gt;2318&lt;br/&gt;
2319&lt;br/&gt;
2337&lt;br/&gt;
2339&lt;br/&gt;
2340&lt;/p&gt;

&lt;p&gt;All of these are resolved on master but need to be merged to stable/helium.&lt;/p&gt;</comment>
                            <comment id="49781" author="vrpolak" created="Wed, 12 Nov 2014 10:34:26 +0000"  >&lt;p&gt;&amp;gt; Could you please try this with a controller built from master.&lt;/p&gt;

&lt;p&gt;I tried the build from&lt;br/&gt;
&lt;a href=&quot;https://jenkins.opendaylight.org/integration/view/Integration%20jobs/job/integration-master-project-centralized-integration/2719/artifact/distributions/extra/karaf/target/distribution-karaf-0.3.0-SNAPSHOT.tar.gz&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://jenkins.opendaylight.org/integration/view/Integration%20jobs/job/integration-master-project-centralized-integration/2719/artifact/distributions/extra/karaf/target/distribution-karaf-0.3.0-SNAPSHOT.tar.gz&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;What I got is the same bug as described in&lt;br/&gt;
&lt;a href=&quot;https://bugs.opendaylight.org/show_bug.cgi?id=1918#c2&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://bugs.opendaylight.org/show_bug.cgi?id=1918#c2&lt;/a&gt;&lt;br/&gt;
so clustering did not even start on two of the three nodes.&lt;br/&gt;
It would take me some more time to work around that.&lt;/p&gt;

&lt;p&gt;&amp;gt;&amp;gt; snapshot and journal directories were not present,&lt;br/&gt;
&amp;gt;&lt;br/&gt;
&amp;gt; I wonder why snapshots and journal directory were not created for you.&lt;/p&gt;

&lt;p&gt;Pardon my weak English. I meant to say that those directories were not created before starting karaf. Of course they were created during karaf run.&lt;/p&gt;</comment>
                            <comment id="49782" author="vrpolak" created="Wed, 12 Nov 2014 12:05:15 +0000"  >&lt;p&gt;&amp;gt; &lt;a href=&quot;https://jenkins.opendaylight.org/integration/view/Integration%20jobs/job/integration-master-project-centralized-integration/2719/artifact/distributions/extra/karaf/target/distribution-karaf-0.3.0-SNAPSHOT.tar.gz&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://jenkins.opendaylight.org/integration/view/Integration%20jobs/job/integration-master-project-centralized-integration/2719/artifact/distributions/extra/karaf/target/distribution-karaf-0.3.0-SNAPSHOT.tar.gz&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The bug is also present on master, also errors look similar.&lt;br/&gt;
First dangerously looking error is actually this one&lt;/p&gt;

&lt;p&gt;2014-11-12 11:39:23,329 | ERROR | lt-dispatcher-17 | OneForOneStrategy                | 234 - com.typesafe.akka.slf4j - 2.3.4 | Node identifier contains different value: (urn:opendaylight:params:xml:ns:yang:bgp-linkstate?revision=2013-11-25)isis-area-id[&lt;span class=&quot;error&quot;&gt;&amp;#91;B@7e1ac7e4&amp;#93;&lt;/span&gt; than value itself: [B@10398a6a&lt;/p&gt;

&lt;p&gt;which was also present in Helium branch logs, I just did not recognize it then.&lt;br/&gt;
In master branch I spotted it because it comes directly before more familiar clustering error:&lt;/p&gt;

&lt;p&gt;2014-11-12 11:39:28,362 | ERROR | CommitFutures-1  | RIBImpl                          | 263 - org.opendaylight.bgpcep.bgp-rib-impl - 0.4.0.SNAPSHOT | Broken chain in RIB KeyedInstanceIdentifier&lt;/p&gt;
{targetType=interface org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.rib.rev130925.bgp.rib.Rib, path=[org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.rib.rev130925.BgpRib, org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.rib.rev130925.bgp.rib.Rib[key=RibKey [_id=Uri [_value=example-bgp-rib-2]]]]}
&lt;p&gt; transaction DOM-CHAIN-3-11&lt;br/&gt;
TransactionCommitFailedException&lt;/p&gt;
{message=preCommit encountered an unexpected failure, errorList=[RpcError [message=preCommit encountered an unexpected failure, severity=ERROR, errorType=APPLICATION, tag=operation-failed, applicationTag=null, info=null, cause=akka.pattern.AskTimeoutException: Ask timed out on [ActorSelection[Anchor(akka://opendaylight-cluster-data/), Path(/user/shardmanager-operational/member-2-shard-default-operational/shard-member-2-txn-46#-86928823)]] after [5000 ms]]]}</comment>
                            <comment id="49790" author="vrpolak" created="Wed, 12 Nov 2014 12:05:15 +0000"  >&lt;p&gt;Attachment karaf_20141112.log.xz has been added with description: master branch compressed full log from .10 node&lt;/p&gt;</comment>
                            <comment id="49783" author="tpantelis" created="Wed, 12 Nov 2014 16:55:03 +0000"  >&lt;p&gt;&amp;gt; &lt;br/&gt;
&amp;gt; 2014-11-12 11:39:23,329 | ERROR | lt-dispatcher-17 | OneForOneStrategy      &lt;br/&gt;
&amp;gt; | 234 - com.typesafe.akka.slf4j - 2.3.4 | Node identifier contains different&lt;br/&gt;
&amp;gt; value:&lt;br/&gt;
&amp;gt; (urn:opendaylight:params:xml:ns:yang:bgp-linkstate?revision=2013-11-25)isis-&lt;br/&gt;
&amp;gt; area-id[&lt;span class=&quot;error&quot;&gt;&amp;#91;B@7e1ac7e4&amp;#93;&lt;/span&gt; than value itself: [B@10398a6a&lt;br/&gt;
&amp;gt; &lt;/p&gt;

&lt;p&gt;This error emanates from the ImmutableLeafSetEntryNodeBuilder:&lt;/p&gt;

&lt;p&gt;ImmutableLeafSetEntryNode(final YangInstanceIdentifier.NodeWithValue nodeIdentifier, final T value, final Map&amp;lt;QName, String&amp;gt; attributes) {&lt;br/&gt;
    super(nodeIdentifier, value, attributes);&lt;br/&gt;
    Preconditions.checkArgument(nodeIdentifier.getValue().equals(value),&lt;br/&gt;
       &quot;Node identifier contains different value: %s than value itself: %s&quot;, &lt;br/&gt;
          nodeIdentifier, value);&lt;br/&gt;
}&lt;/p&gt;

&lt;p&gt;The value is a byte [] (as evidenced by toString output &quot;[B@...&quot;) so I can see why the values don&apos;t match as byte[]#equals only checks reference equality. The code needs to check element equality in case of array. &lt;/p&gt;

&lt;p&gt;So this appears to be a bug in ImmutableLeafSetEntryNodeBuilder but why doesn&apos;t this manifest with the in-memory data store (IMDS)? I suspect with the IMDS the 2 byte[] vars happen to be the same instance/reference. However in the CDS, the data is serialized/de-serialized so this results in different instances and equality fails.&lt;/p&gt;</comment>
                            <comment id="49784" author="moraja@cisco.com" created="Wed, 12 Nov 2014 17:00:39 +0000"  >&lt;p&gt;Tom, this is related to the byte[] serialization defect. That was fixed however you can have a NodeIdentifier also with a byte[] as the value (leaflists) that is where this problem occurs.&lt;/p&gt;


&lt;p&gt;This we can fix in the ValueSerializer but I suspect there is more to this bug than just this. I will be investigating this further...&lt;/p&gt;</comment>
                            <comment id="49785" author="moraja@cisco.com" created="Fri, 14 Nov 2014 00:39:10 +0000"  >&lt;p&gt;&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/12820/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/12820/&lt;/a&gt; - yangtools&lt;br/&gt;
&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/12794/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/12794/&lt;/a&gt; - controller&lt;br/&gt;
&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/12806/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/12806/&lt;/a&gt; - bgpcep&lt;/p&gt;</comment>
                            <comment id="49786" author="moraja@cisco.com" created="Sat, 15 Nov 2014 19:43:49 +0000"  >&lt;p&gt;&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/12827/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/12827/&lt;/a&gt; - contoller - stable/helium&lt;/p&gt;</comment>
                            <comment id="49787" author="moraja@cisco.com" created="Mon, 17 Nov 2014 15:28:58 +0000"  >&lt;p&gt;Yangtools patch merged&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/12820/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/12820/&lt;/a&gt; - yangtools:master&lt;br/&gt;
&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/12884/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/12884/&lt;/a&gt; - yangtools:stable/helium&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10000">
                    <name>Blocks</name>
                                                                <inwardlinks description="is blocked by">
                                        <issuelink>
            <issuekey id="25550">CONTROLLER-996</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="25551">CONTROLLER-997</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="25559">CONTROLLER-1005</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="25560">CONTROLLER-1006</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="25561">CONTROLLER-1007</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                            <attachment id="13458" name="bug2353.tar.xz" size="46592" author="vrpolak" created="Tue, 11 Nov 2014 17:51:24 +0000"/>
                            <attachment id="13459" name="conf.tar.xz" size="5728" author="vrpolak" created="Tue, 11 Nov 2014 18:52:34 +0000"/>
                            <attachment id="13460" name="karaf_20141112.log.xz" size="20184" author="vrpolak" created="Wed, 12 Nov 2014 12:05:15 +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>2353</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=2353]]></customfieldvalue>

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

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

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