<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:22:59 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>[NETVIRT-1003] Tool to identify leader and follower nodes</title>
                <link>https://jira.opendaylight.org/browse/NETVIRT-1003</link>
                <project id="10144" key="NETVIRT">netvirt</project>
                    <description>&lt;p&gt;The CSIT tests need a method to capture the current follower and leader nodes. The information should be dumped to the karaf log and/or a file so that it is easy to reference the state along with the accompanying test. The tool would be called to collect the status at that instant of time and then logged. The tests would call the tool periodically to collect the status.&lt;/p&gt;

&lt;p&gt;The monitor tool currently displays the leader and follower nodes, but it runs continuously and is not applicable to a running csit.&lt;/p&gt;</description>
                <environment></environment>
        <key id="28813">NETVIRT-1003</key>
            <summary>Tool to identify leader and follower nodes</summary>
                <type id="10102" iconUrl="https://jira.opendaylight.org/secure/viewavatar?size=xsmall&amp;avatarId=10316&amp;avatarType=issuetype">Sub-task</type>
                            <parent id="28812">NETVIRT-1002</parent>
                                    <priority id="3" iconUrl="https://jira.opendaylight.org/images/icons/priorities/major.svg">Medium</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="trozet">Tim Rozet</assignee>
                                    <reporter username="shague">Sam Hague</reporter>
                        <labels>
                            <label>csit:3node</label>
                    </labels>
                <created>Fri, 17 Nov 2017 20:39:53 +0000</created>
                <updated>Mon, 25 Nov 2019 07:30:10 +0000</updated>
                                                                                <due></due>
                            <votes>0</votes>
                                    <watches>5</watches>
                                                                                                                <comments>
                            <comment id="63672" author="vorburger" created="Mon, 25 Jun 2018 18:49:00 +0000"  >&lt;p&gt;I&apos;m not crystal clear about what exactly the requirement is here (a &quot;tool&quot; as in? a REST URL? CLI command? with what input and output, specifically?) but it seems to me that &lt;a href=&quot;https://jira.opendaylight.org/browse/GENIUS-138&quot; title=&quot;Improve Datastore Cluster diagstatus to indicate if node is currently an isolated leader&quot; class=&quot;issue-link&quot; data-issue-key=&quot;GENIUS-138&quot;&gt;&lt;del&gt;GENIUS-138&lt;/del&gt;&lt;/a&gt; may either already answer this, or could perhaps be a suitable basis for building upon.&lt;/p&gt;</comment>
                            <comment id="63675" author="shague@redhat.com" created="Mon, 25 Jun 2018 23:29:03 +0000"  >&lt;p&gt;The requirement doesn&apos;t care how the information is retrieved - we just needed a tool that could grab the data and then we could dump it. The cluster monitor tool that is python-based and does rest calls to odl to request the data. That tool is a cli tool that runs continuously and updates status and does not capture a single status.&lt;/p&gt;

&lt;p&gt;We would still need a tool to retrieve the diagstatus in GNEIUS-138. Other question on &lt;a href=&quot;https://jira.opendaylight.org/browse/GENIUS-138&quot; title=&quot;Improve Datastore Cluster diagstatus to indicate if node is currently an isolated leader&quot; class=&quot;issue-link&quot; data-issue-key=&quot;GENIUS-138&quot;&gt;&lt;del&gt;GENIUS-138&lt;/del&gt;&lt;/a&gt;, is will it show leader and follower status at all times for all nodes? There is a comment that says error status is reported if not all status are right. The tool we need will be used in CSIT and live debugging and needs to show the leader or follower status for all nodes in the cluster.&lt;/p&gt;</comment>
                            <comment id="63696" author="vorburger" created="Tue, 26 Jun 2018 11:00:35 +0000"  >&lt;p&gt;&amp;gt; The cluster monitor tool that is python-based and does rest calls to odl to request the data.&lt;br/&gt;
 &amp;gt;&#160;That tool is a cli tool that runs continuously and updates status and does not capture a single status.&lt;/p&gt;

&lt;p&gt;OK, so&#160;what is wrong with that tool - is it not sufficient? Or is this&#160;JIRA just about using that tool in CSIT? Or are we looking for something similar to that tool but built into ODL as a&#160;REST URL or CLI command instead of an external&#160;python-based one?&lt;/p&gt;

&lt;p&gt;&amp;gt;&#160;&#160;question on&#160;&lt;a href=&quot;https://jira.opendaylight.org/browse/GENIUS-138&quot; title=&quot;Improve Datastore Cluster diagstatus to indicate if node is currently an isolated leader&quot; class=&quot;issue-link&quot; data-issue-key=&quot;GENIUS-138&quot;&gt;&lt;del&gt;GENIUS-138&lt;/del&gt;&lt;/a&gt;, is will it show leader and follower status at all times for all nodes? There is a comment that says error status is reported if not all status are right. The tool we need will be used in CSIT and live debugging and needs to show the leader or follower status for all nodes in the cluster.&lt;/p&gt;

&lt;p&gt;OK; you&apos;re right - &lt;a href=&quot;https://jira.opendaylight.org/browse/GENIUS-138&quot; title=&quot;Improve Datastore Cluster diagstatus to indicate if node is currently an isolated leader&quot; class=&quot;issue-link&quot; data-issue-key=&quot;GENIUS-138&quot;&gt;&lt;del&gt;GENIUS-138&lt;/del&gt;&lt;/a&gt; is a tool who&apos;s primary goal is more to return a boolean true/false &quot;all good or not&quot; feedback - not provide details about leader and follower status (although it does something like that in the diagstatus description in case of an error). But it internally&#160;does have that information, so if you would like to have something built which prints that e.g. from a new CLI command (like... &quot;mdsal-cluster:status&quot; kind of thing in controller, perhaps?), then that should be possible.&lt;/p&gt;</comment>
                            <comment id="63711" author="trozet@redhat.com" created="Tue, 26 Jun 2018 15:33:33 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.opendaylight.org/secure/ViewProfile.jspa?name=vorburger&quot; class=&quot;user-hover&quot; rel=&quot;vorburger&quot;&gt;vorburger&lt;/a&gt; the tool currently prints to a gui terminal. I&apos;ll add an option to log changes only to a file. That&apos;s all we need, no need to expose new cli in ODL imo&lt;/p&gt;</comment>
                            <comment id="67424" author="abhinav.gupta" created="Mon, 25 Nov 2019 07:30:10 +0000"  >&lt;p&gt;any update here?&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10000">
                    <name>Blocks</name>
                                                                <inwardlinks description="is blocked by">
                                        <issuelink>
            <issuekey id="29959">GENIUS-138</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <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|i037zj:</customfieldvalue>

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