<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:02:05 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>[INFRAUTILS-31] diagstatus including cause of failures</title>
                <link>https://jira.opendaylight.org/browse/INFRAUTILS-31</link>
                <project id="10129" key="INFRAUTILS">infrautils</project>
                    <description>&lt;p&gt;from &lt;a href=&quot;https://lists.opendaylight.org/pipermail/infrautils-dev/2018-March/000635.html&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://lists.opendaylight.org/pipermail/infrautils-dev/2018-March/000635.html&lt;/a&gt; and related to &lt;a href=&quot;https://jira.opendaylight.org/browse/OPNFLWPLUG-988&quot; title=&quot;Openflow Service ERROR state in Fluorine&quot; class=&quot;issue-link&quot; data-issue-key=&quot;OPNFLWPLUG-988&quot;&gt;&lt;del&gt;OPNFLWPLUG-988&lt;/del&gt;&lt;/a&gt;:&lt;/p&gt;

&lt;blockquote&gt;&lt;p&gt;seeing this gives me an idea for an Enhancement, in the infrautils diagstatus code: What I think one would ideally want to see in this output, both on the CLI as well as when used e.g. from a CSIT script via JMX, to avoid having to dig through logs, is WHY something is in Error... so ideally, it should probably be possible to DiagStatusService report() not just a ServiceState in a ServiceDescriptor, but a Throwable to diagstatus, which would set the status to ERROR - and then the CLI/JMX/etc. could include that Throwable as more detailed background about the failure. The code catching exceptions and setting an ERROR ServiceState would then pass that Throwable to the ServiceDescriptor. In this particular case, the NPE that was apparently fixed by c/69657 would then show up there - which would probably help, in the future, to see the real problem more immediately.&lt;/p&gt;&lt;/blockquote&gt;</description>
                <environment></environment>
        <key id="29465">INFRAUTILS-31</key>
            <summary>diagstatus including cause of failures</summary>
                <type id="10100" iconUrl="https://jira.opendaylight.org/secure/viewavatar?size=xsmall&amp;avatarId=10310&amp;avatarType=issuetype">Improvement</type>
                                            <priority id="3" iconUrl="https://jira.opendaylight.org/images/icons/priorities/major.svg">Medium</priority>
                        <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="jluhrsen">Jamo Luhrsen</assignee>
                                    <reporter username="vorburger">Michael Vorburger</reporter>
                        <labels>
                    </labels>
                <created>Tue, 20 Mar 2018 21:48:29 +0000</created>
                <updated>Tue, 15 May 2018 19:23:39 +0000</updated>
                            <resolved>Tue, 15 May 2018 19:23:39 +0000</resolved>
                                                    <fixVersion>Fluorine</fixVersion>
                                    <component>diagstatus</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="61842" author="vorburger" created="Tue, 20 Mar 2018 21:57:15 +0000"  >&lt;p&gt;There are at least 2 parts - minor extension in infrautils itself, and then using that in opflowplugin, genius, netvirt... &lt;/p&gt;

&lt;p&gt;For infrautils the starting point would literally be to add  a &lt;tt&gt;Throwable&lt;/tt&gt; cause to &lt;a href=&quot;https://github.com/opendaylight/infrautils/blob/master/diagstatus/api/src/main/java/org/opendaylight/infrautils/diagstatus/ServiceDescriptor.java&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;org.opendaylight.infrautils.diagstatus.ServiceDescriptor&lt;/a&gt;. Then &lt;a href=&quot;https://github.com/opendaylight/infrautils/blob/master/diagstatus/impl/src/main/java/org/opendaylight/infrautils/diagstatus/internal/DiagStatusServiceMBeanImpl.java&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;use that in DiagStatusServiceMBeanImpl&lt;/a&gt;, where it puts together what you see in showSvcStatus and by JMX via Jolokia. &lt;/p&gt;

&lt;p&gt;Then grep for where other create a new ServiceDescriptor(...), whenever it actually caught any exception (catch Throwable { }) then pass that as cause.&lt;/p&gt;</comment>
                            <comment id="61844" author="faseela.k@ericsson.com" created="Wed, 21 Mar 2018 07:45:45 +0000"  >&lt;p&gt;This looks like a good idea..I think I can work on it..&lt;/p&gt;</comment>
                            <comment id="61846" author="vorburger" created="Wed, 21 Mar 2018 08:56:16 +0000"  >&lt;p&gt;&amp;gt; This looks like a good idea..I think I can work on it..&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jira.opendaylight.org/secure/ViewProfile.jspa?name=k.faseela&quot; class=&quot;user-hover&quot; rel=&quot;k.faseela&quot;&gt;k.faseela&lt;/a&gt; note &lt;a href=&quot;https://jira.opendaylight.org/secure/ViewProfile.jspa?name=jluhrsen&quot; class=&quot;user-hover&quot; rel=&quot;jluhrsen&quot;&gt;jluhrsen&lt;/a&gt; self-assigned this to himself to have a go at it, so let him, or just make sure you two sync!&lt;/p&gt;</comment>
                            <comment id="61848" author="faseela.k@ericsson.com" created="Wed, 21 Mar 2018 09:02:32 +0000"  >&lt;p&gt;That&apos;s great then! Would let &lt;a href=&quot;https://jira.opendaylight.org/secure/ViewProfile.jspa?name=jluhrsen&quot; class=&quot;user-hover&quot; rel=&quot;jluhrsen&quot;&gt;jluhrsen&lt;/a&gt; work on the same..&#160;&lt;/p&gt;</comment>
                            <comment id="61932" author="jluhrsen" created="Sun, 25 Mar 2018 06:32:34 +0000"  >&lt;p&gt;starting to poke around... Not sure on any timetable yet.&lt;/p&gt;</comment>
                            <comment id="62018" author="vorburger" created="Tue, 3 Apr 2018 04:31:39 +0000"  >&lt;p&gt;&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/70220/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/70220/&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="62462" author="vorburger" created="Mon, 16 Apr 2018 16:10:56 +0000"  >&lt;p&gt;Thought about this again while thinking about&#160;&lt;a href=&quot;https://jira.opendaylight.org/browse/INFRAUTILS-33&quot; title=&quot;Expose ready and/or diagstatus via a non-authenticated URL&quot; class=&quot;issue-link&quot; data-issue-key=&quot;INFRAUTILS-33&quot;&gt;&lt;del&gt;INFRAUTILS-33&lt;/del&gt;&lt;/a&gt; .. so when this is implemented, we should add that new getErrorCause() to the&#160;acquireServiceStatusAsJSON in the&#160;DiagStatusServiceMBeanImpl so that the&#160;&lt;a href=&quot;https://jira.opendaylight.org/browse/INFRAUTILS-33&quot; title=&quot;Expose ready and/or diagstatus via a non-authenticated URL&quot; class=&quot;issue-link&quot; data-issue-key=&quot;INFRAUTILS-33&quot;&gt;&lt;del&gt;INFRAUTILS-33&lt;/del&gt;&lt;/a&gt; will report that as well, and not just the CLI which goes through acquireServiceStatusDetailed() where&#160;c/70220/1 adds it.&lt;/p&gt;</comment>
                            <comment id="62944" author="vorburger" created="Mon, 14 May 2018 17:08:45 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.opendaylight.org/secure/ViewProfile.jspa?name=jluhrsen&quot; class=&quot;user-hover&quot; rel=&quot;jluhrsen&quot;&gt;jluhrsen&lt;/a&gt; OK to close this JIRA issue now that c/70220 is merged, or wanna keep it open?&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10002">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                        <issuelink>
            <issuekey id="29892">INFRAUTILS-36</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10003">
                    <name>Relates</name>
                                            <outwardlinks description="relates to">
                                        <issuelink>
            <issuekey id="29454">OPNFLWPLUG-988</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </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|i03bxj:</customfieldvalue>

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