<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:02:07 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-48] diagstatus JSON response should include a systemReadyStateErrorCause</title>
                <link>https://jira.opendaylight.org/browse/INFRAUTILS-48</link>
                <project id="10129" key="INFRAUTILS">infrautils</project>
                    <description>&lt;p&gt;Looking over &lt;a href=&quot;https://jira.opendaylight.org/secure/ViewProfile.jspa?name=trozet&quot; class=&quot;user-hover&quot; rel=&quot;trozet&quot;&gt;trozet&lt;/a&gt;&apos;s &lt;a href=&quot;https://jira.opendaylight.org/browse/INFRAUTILS-47&quot; title=&quot;diagstatus HTTP GET differs in response to HTTP HEAD&quot; class=&quot;issue-link&quot; data-issue-key=&quot;INFRAUTILS-47&quot;&gt;&lt;del&gt;INFRAUTILS-47&lt;/del&gt;&lt;/a&gt;, I&apos;m finding it would be very useful to have details in a &lt;tt&gt;GET /diagstatus/&lt;/tt&gt; in case of a&#160;&lt;tt&gt;&quot;systemReadyState&quot;: &quot;FAILURE&quot;&lt;/tt&gt; ... somewhat similar to &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;&apos;s work in&#160;&lt;a href=&quot;https://jira.opendaylight.org/browse/INFRAUTILS-31&quot; title=&quot;diagstatus including cause of failures&quot; class=&quot;issue-link&quot; data-issue-key=&quot;INFRAUTILS-31&quot;&gt;&lt;del&gt;INFRAUTILS-31&lt;/del&gt;&lt;/a&gt; where we added an &lt;tt&gt;errorCause&lt;/tt&gt;&#160;for each service (if available), it would really make sense to have an additional field named e.g. &lt;tt&gt;systemReadyStateErrorCause&lt;/tt&gt; (OK for everyone?) which tells us WHY we are in a failed system ready state - without having to dig through a karaf.log.&lt;/p&gt;

&lt;p&gt;This should be relatively easy to implement - &lt;tt&gt;SystemReadyMonitorMXBean&lt;/tt&gt; should have not only an &lt;tt&gt;SystemState getSystemState()&lt;/tt&gt; but also a &lt;tt&gt;Throwable getFailureCause()&lt;/tt&gt; method, which &lt;tt&gt;SystemReadyImpl&lt;/tt&gt; could provide, and &lt;tt&gt;DiagStatusServiceImpl&lt;/tt&gt; could stick into the JSON (just like&#160;in&#160;&lt;a href=&quot;https://jira.opendaylight.org/browse/INFRAUTILS-31&quot; title=&quot;diagstatus including cause of failures&quot; class=&quot;issue-link&quot; data-issue-key=&quot;INFRAUTILS-31&quot;&gt;&lt;del&gt;INFRAUTILS-31&lt;/del&gt;&lt;/a&gt;).&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; you certainly would have no objections if I implemented this?&lt;/p&gt;</description>
                <environment></environment>
        <key id="30607">INFRAUTILS-48</key>
            <summary>diagstatus JSON response should include a systemReadyStateErrorCause</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="vorburger">Michael Vorburger</assignee>
                                    <reporter username="vorburger">Michael Vorburger</reporter>
                        <labels>
                    </labels>
                <created>Wed, 22 Aug 2018 22:05:04 +0000</created>
                <updated>Tue, 4 Sep 2018 20:41:12 +0000</updated>
                            <resolved>Tue, 4 Sep 2018 20:41:12 +0000</resolved>
                                                    <fixVersion>Oxygen-SR4</fixVersion>
                    <fixVersion>Fluorine-SR1</fixVersion>
                    <fixVersion>Neon</fixVersion>
                                    <component>diagstatus</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="64720" author="faseela.k@ericsson.com" created="Thu, 23 Aug 2018 02:06:13 +0000"  >&lt;p&gt;Please go ahead &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;! And sorry that I still did not find time to push patch for &lt;a href=&quot;https://jira.opendaylight.org/browse/INFRAUTILS-45&quot; title=&quot;Use /diagstatus JSON to fetch remote status instead of JMX RMI&quot; class=&quot;issue-link&quot; data-issue-key=&quot;INFRAUTILS-45&quot;&gt;&lt;del&gt;INFRAUTILS-45&lt;/del&gt;&lt;/a&gt; &lt;img class=&quot;emoticon&quot; src=&quot;https://jira.opendaylight.org/images/icons/emoticons/sad.png&quot; height=&quot;16&quot; width=&quot;16&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&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|i03hxz:</customfieldvalue>

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