<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 19:56:43 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-1895] Links not removed from topology with tell-based</title>
                <link>https://jira.opendaylight.org/browse/CONTROLLER-1895</link>
                <project id="10113" key="CONTROLLER">controller</project>
                    <description>&lt;p&gt;There is a test where we set 1 switch-switch link down in cluster deployment, and the switches belong to separate instances.&lt;/p&gt;

&lt;p&gt;The test works with ask-protocol:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jenkins.opendaylight.org/releng/view/openflowplugin/job/openflowplugin-csit-3node-gate-clustering-only-sodium/71/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://jenkins.opendaylight.org/releng/view/openflowplugin/job/openflowplugin-csit-3node-gate-clustering-only-sodium/71/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;But it fails with tell-based (links are not removed from topology):&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jenkins.opendaylight.org/releng/view/openflowplugin/job/openflowplugin-csit-3node-gate-clustering-only-sodium/72/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://jenkins.opendaylight.org/releng/view/openflowplugin/job/openflowplugin-csit-3node-gate-clustering-only-sodium/72/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;After enabling some DEBUGs, I can see 7 TP notifications with ask-based protocol:&lt;/p&gt;

&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;
2019-05-20T20:14:25,096 | DEBUG | ofp-topo-expo-flow:1 | OperationProcessor               | 305 - org.opendaylight.openflowplugin.applications.topology-manager - 0.9.0.SNAPSHOT | New org.opendaylight.openflowplugin.applications.topology.manager.DataTreeChangeListenerImpl$$Lambda$1725/789675131@26eac440 operation available, starting transaction
2019-05-20T20:14:25,098 | DEBUG | ofp-topo-expo-flow:1 | OperationProcessor               | 305 - org.opendaylight.openflowplugin.applications.topology-manager - 0.9.0.SNAPSHOT | Next operation org.opendaylight.openflowplugin.applications.topology.manager.TerminationPointChangeListenerImpl$$Lambda$1726/1648087628@2057bbed
2019-05-20T20:14:25,098 | DEBUG | ofp-topo-expo-flow:1 | OperationProcessor               | 305 - org.opendaylight.openflowplugin.applications.topology-manager - 0.9.0.SNAPSHOT | Next operation org.opendaylight.openflowplugin.applications.topology.manager.DataTreeChangeListenerImpl$$Lambda$1725/789675131@71bc860a
2019-05-20T20:14:25,099 | DEBUG | ofp-topo-expo-flow:1 | OperationProcessor               | 305 - org.opendaylight.openflowplugin.applications.topology-manager - 0.9.0.SNAPSHOT | Next operation org.opendaylight.openflowplugin.applications.topology.manager.TerminationPointChangeListenerImpl$$Lambda$1726/1648087628@6c667215
2019-05-20T20:14:25,106 | DEBUG | ofp-topo-expo-flow:1 | OperationProcessor               | 305 - org.opendaylight.openflowplugin.applications.topology-manager - 0.9.0.SNAPSHOT | New org.opendaylight.openflowplugin.applications.topology.manager.DataTreeChangeListenerImpl$$Lambda$1725/789675131@1cde631d operation available, starting transaction
2019-05-20T20:14:25,107 | DEBUG | ofp-topo-expo-flow:1 | OperationProcessor               | 305 - org.opendaylight.openflowplugin.applications.topology-manager - 0.9.0.SNAPSHOT | Next operation org.opendaylight.openflowplugin.applications.topology.manager.TerminationPointChangeListenerImpl$$Lambda$1726/1648087628@14b2bb8
2019-05-20T20:14:25,110 | DEBUG | ofp-topo-expo-flow:1 | OperationProcessor               | 305 - org.opendaylight.openflowplugin.applications.topology-manager - 0.9.0.SNAPSHOT | New org.opendaylight.openflowplugin.applications.topology.manager.DataTreeChangeListenerImpl$$Lambda$1725/789675131@1452614d operation available, starting transaction
2019-05-20T20:14:25,112 | DEBUG | ofp-topo-expo-flow:1 | OperationProcessor               | 305 - org.opendaylight.openflowplugin.applications.topology-manager - 0.9.0.SNAPSHOT | Next operation org.opendaylight.openflowplugin.applications.topology.manager.TerminationPointChangeListenerImpl$$Lambda$1726/1648087628@7c1cf238
2019-05-20T20:14:25,515 | DEBUG | ofp-topo-expo-flow:1 | OperationProcessor               | 305 - org.opendaylight.openflowplugin.applications.topology-manager - 0.9.0.SNAPSHOT | New org.opendaylight.openflowplugin.applications.topology.manager.DataTreeChangeListenerImpl$$Lambda$1725/789675131@7bc3acff operation available, starting transaction
2019-05-20T20:14:25,516 | DEBUG | ofp-topo-expo-flow:1 | OperationProcessor               | 305 - org.opendaylight.openflowplugin.applications.topology-manager - 0.9.0.SNAPSHOT | Next operation org.opendaylight.openflowplugin.applications.topology.manager.TerminationPointChangeListenerImpl$$Lambda$1726/1648087628@6ad1bf80
2019-05-20T20:14:25,522 | DEBUG | ofp-topo-expo-flow:1 | OperationProcessor               | 305 - org.opendaylight.openflowplugin.applications.topology-manager - 0.9.0.SNAPSHOT | New org.opendaylight.openflowplugin.applications.topology.manager.DataTreeChangeListenerImpl$$Lambda$1725/789675131@5ee83cb8 operation available, starting transaction
2019-05-20T20:14:25,523 | DEBUG | ofp-topo-expo-flow:1 | OperationProcessor               | 305 - org.opendaylight.openflowplugin.applications.topology-manager - 0.9.0.SNAPSHOT | Next operation org.opendaylight.openflowplugin.applications.topology.manager.TerminationPointChangeListenerImpl$$Lambda$1726/1648087628@45fe986f
2019-05-20T20:14:25,524 | DEBUG | ofp-topo-expo-flow:1 | OperationProcessor               | 305 - org.opendaylight.openflowplugin.applications.topology-manager - 0.9.0.SNAPSHOT | New org.opendaylight.openflowplugin.applications.topology.manager.DataTreeChangeListenerImpl$$Lambda$1725/789675131@23bc607b operation available, starting transaction
2019-05-20T20:14:25,525 | DEBUG | ofp-topo-expo-flow:1 | OperationProcessor               | 305 - org.opendaylight.openflowplugin.applications.topology-manager - 0.9.0.SNAPSHOT | Next operation org.opendaylight.openflowplugin.applications.topology.manager.TerminationPointChangeListenerImpl$$Lambda$1726/1648087628@44f6e633
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;And only 4 with tell-based protocol:&lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;
2019-05-20T20:19:51,259 | DEBUG | ofp-topo-expo-flow:1 | OperationProcessor               | 305 - org.opendaylight.openflowplugin.applications.topology-manager - 0.9.0.SNAPSHOT | New org.opendaylight.openflowplugin.applications.topology.manager.DataTreeChangeListenerImpl$$Lambda$1808/2124882347@64c577c1 operation available, starting transaction
2019-05-20T20:19:51,260 | DEBUG | ofp-topo-expo-flow:1 | OperationProcessor               | 305 - org.opendaylight.openflowplugin.applications.topology-manager - 0.9.0.SNAPSHOT | Next operation org.opendaylight.openflowplugin.applications.topology.manager.TerminationPointChangeListenerImpl$$Lambda$1814/1542219333@7095f28a
2019-05-20T20:19:51,261 | DEBUG | ofp-topo-expo-flow:1 | OperationProcessor               | 305 - org.opendaylight.openflowplugin.applications.topology-manager - 0.9.0.SNAPSHOT | New org.opendaylight.openflowplugin.applications.topology.manager.DataTreeChangeListenerImpl$$Lambda$1808/2124882347@3fa1e826 operation available, starting transaction
2019-05-20T20:19:51,262 | DEBUG | ofp-topo-expo-flow:1 | OperationProcessor               | 305 - org.opendaylight.openflowplugin.applications.topology-manager - 0.9.0.SNAPSHOT | Next operation org.opendaylight.openflowplugin.applications.topology.manager.TerminationPointChangeListenerImpl$$Lambda$1814/1542219333@4477848c
2019-05-20T20:19:51,264 | DEBUG | ofp-topo-expo-flow:1 | OperationProcessor               | 305 - org.opendaylight.openflowplugin.applications.topology-manager - 0.9.0.SNAPSHOT | New org.opendaylight.openflowplugin.applications.topology.manager.DataTreeChangeListenerImpl$$Lambda$1808/2124882347@7427b4fc operation available, starting transaction
2019-05-20T20:19:51,265 | DEBUG | ofp-topo-expo-flow:1 | OperationProcessor               | 305 - org.opendaylight.openflowplugin.applications.topology-manager - 0.9.0.SNAPSHOT | Next operation org.opendaylight.openflowplugin.applications.topology.manager.TerminationPointChangeListenerImpl$$Lambda$1814/1542219333@55aa94cf
2019-05-20T20:19:51,267 | DEBUG | ofp-topo-expo-flow:1 | OperationProcessor               | 305 - org.opendaylight.openflowplugin.applications.topology-manager - 0.9.0.SNAPSHOT | New org.opendaylight.openflowplugin.applications.topology.manager.DataTreeChangeListenerImpl$$Lambda$1808/2124882347@1ce34ad2 operation available, starting transaction
2019-05-20T20:19:51,268 | DEBUG | ofp-topo-expo-flow:1 | OperationProcessor               | 305 - org.opendaylight.openflowplugin.applications.topology-manager - 0.9.0.SNAPSHOT | Next operation org.opendaylight.openflowplugin.applications.topology.manager.TerminationPointChangeListenerImpl$$Lambda$1814/1542219333@26e81ce5
2019-05-20T20:19:51,268 | DEBUG | ofp-topo-expo-flow:1 | OperationProcessor               | 305 - org.opendaylight.openflowplugin.applications.topology-manager - 0.9.0.SNAPSHOT | Next operation &lt;span class=&quot;code-keyword&quot;&gt;null&lt;/span&gt;
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment></environment>
        <key id="31695">CONTROLLER-1895</key>
            <summary>Links not removed from topology with tell-based</summary>
                <type id="10104" iconUrl="https://jira.opendaylight.org/secure/viewavatar?size=xsmall&amp;avatarId=10303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="2" iconUrl="https://jira.opendaylight.org/images/icons/priorities/critical.svg">High</priority>
                        <status id="1" iconUrl="https://jira.opendaylight.org/images/icons/statuses/open.png" description="The issue is open and ready for the assignee to start work on it.">Open</status>
                    <statusCategory id="2" key="new" colorName="blue-gray"/>
                                    <resolution id="-1">Unresolved</resolution>
                                        <assignee username="ecelgp">Luis Gomez</assignee>
                                    <reporter username="ecelgp">Luis Gomez</reporter>
                        <labels>
                    </labels>
                <created>Mon, 20 May 2019 21:17:16 +0000</created>
                <updated>Tue, 1 Oct 2019 20:23:03 +0000</updated>
                                                                            <component>clustering</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="66813" author="ecelgp" created="Tue, 21 May 2019 20:36:26 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.opendaylight.org/secure/ViewProfile.jspa?name=Avishnoi&quot; class=&quot;user-hover&quot; rel=&quot;Avishnoi&quot;&gt;Avishnoi&lt;/a&gt;, can you shed some light here? what kind of notifications are these and where are in the OFP code?&lt;/p&gt;</comment>
                            <comment id="66841" author="vishnoianil@gmail.com" created="Fri, 31 May 2019 22:34:01 +0000"  >&lt;p&gt;Following class is registering listener to&#160;get&#160; notification on FlowCapableNodeConnector&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://github.com/opendaylight/openflowplugin/blob/master/applications/topology-manager/src/main/java/org/opendaylight/openflowplugin/applications/topology/manager/TerminationPointChangeListenerImpl.java#L45&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/opendaylight/openflowplugin/blob/master/applications/topology-manager/src/main/java/org/opendaylight/openflowplugin/applications/topology/manager/TerminationPointChangeListenerImpl.java#L45&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;It processes the DTCL and&#160;adds the task to the queue in OperationProcessor.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jira.opendaylight.org/secure/ViewProfile.jspa?name=ecelgp&quot; class=&quot;user-hover&quot; rel=&quot;ecelgp&quot;&gt;ecelgp&lt;/a&gt; We need to dump the DTCL output in this class for both the scenario. If&#160;there is a diff in the way DTCN is published by datastore, that will give&#160;some concrete information for robert to debug it further.&lt;/p&gt;

&lt;p&gt;I pushed a patch to openflowplugin master branch&#160;&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/82374/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/82374/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;Can you run the job with this patch and with both the tell and ask protocol? In the log, grep for &lt;a href=&quot;https://jira.opendaylight.org/browse/CONTROLLER-1895&quot; title=&quot;Links not removed from topology with tell-based&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CONTROLLER-1895&quot;&gt;CONTROLLER-1895&lt;/a&gt; to grep the data tree change notification.&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;</comment>
                            <comment id="66844" author="ecelgp" created="Wed, 5 Jun 2019 18:37:21 +0000"  >&lt;p&gt;After running the test with the OFP patch I can see the notification # discrepancy is OK: sometimes controller gets single DS notification containing &quot;link-down=true&quot; &amp;amp; &quot;configuration=PORT-DOWN&quot; while other times it gets 2 notifications with one change on each.&lt;/p&gt;

&lt;p&gt;So if the notification is not the problem, what is next DEBUG to figure out why port down does not remove link from topology?&lt;/p&gt;</comment>
                            <comment id="66846" author="rovarga" created="Thu, 6 Jun 2019 07:12:22 +0000"  >&lt;p&gt;Either case should be fine: &lt;a href=&quot;https://github.com/opendaylight/openflowplugin/blob/master/applications/topology-manager/src/main/java/org/opendaylight/openflowplugin/applications/topology/manager/TerminationPointChangeListenerImpl.java#L131&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/opendaylight/openflowplugin/blob/master/applications/topology-manager/src/main/java/org/opendaylight/openflowplugin/applications/topology/manager/TerminationPointChangeListenerImpl.java#L131&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I wonder whether we are not in SUBTREE_MODIFIED case which ends up landing here:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://github.com/opendaylight/openflowplugin/blob/master/applications/topology-manager/src/main/java/org/opendaylight/openflowplugin/applications/topology/manager/TerminationPointChangeListenerImpl.java#L111&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/opendaylight/openflowplugin/blob/master/applications/topology-manager/src/main/java/org/opendaylight/openflowplugin/applications/topology/manager/TerminationPointChangeListenerImpl.java#L111&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I&#160; have updated the patch to warn when that happens.&lt;/p&gt;</comment>
                            <comment id="66865" author="ecelgp" created="Mon, 10 Jun 2019 16:30:42 +0000"  >&lt;p&gt;I re-run the test with new patchset:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jenkins.opendaylight.org/releng/view/openflowplugin/job/openflowplugin-csit-3node-gate-clustering-only-sodium/82/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://jenkins.opendaylight.org/releng/view/openflowplugin/job/openflowplugin-csit-3node-gate-clustering-only-sodium/82/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;But I do not see the &quot;Unhandled termination point change&quot; in the logs.&lt;/p&gt;</comment>
                            <comment id="67270" author="rovarga" created="Tue, 1 Oct 2019 20:23:03 +0000"  >&lt;p&gt;Alright, we need to move this forward. &lt;a href=&quot;https://jira.opendaylight.org/secure/ViewProfile.jspa?name=ecelgp&quot; class=&quot;user-hover&quot; rel=&quot;ecelgp&quot;&gt;ecelgp&lt;/a&gt; I remember you mentioning this happening even with ask-based on stable/sodium. I seem to remember timing being a role. Can you confirm?&lt;/p&gt;

&lt;p&gt;If that is the case, we need a tracker in OFP, because it is likely they have an issue we are unmasking here.&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_10000" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i03nvz:</customfieldvalue>

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