<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 19:56:34 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-1835] ShardStatsMXBean is not a valid JMX MXBean, due to isActive in FollowerInfo</title>
                <link>https://jira.opendaylight.org/browse/CONTROLLER-1835</link>
                <project id="10113" key="CONTROLLER">controller</project>
                    <description>&lt;p&gt;While working 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;, and &lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/72790/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;trying to programmatically access&lt;/a&gt; the &lt;tt&gt;org.opendaylight.controller.cluster.datastore.jmx.mbeans.shard.ShardStatsMXBean&lt;/tt&gt;, I&apos;ve run into this obscure internal Java JMX problem, somehow it&apos;s not happy:&lt;/p&gt;

&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;2018-06-08T15:19:38,504 | ERROR | pipe-diagstatus:showSvcStatus | DatastoreServiceStatusProvider   | 269 - org.opendaylight.genius.mdsalutil-impl - 0.5.0.SNAPSHOT | Unable to obtain the datastore status
java.lang.IllegalArgumentException: Cannot make MXBean proxy for org.opendaylight.controller.cluster.datastore.jmx.mbeans.shard.ShardStatsMXBean: java.io.InvalidObjectException: @ConstructorProperties includes name isActive which does not correspond t
o a property: public org.opendaylight.controller.cluster.raft.client.messages.FollowerInfo(java.lang.String,long,long,boolean,java.lang.String,boolean)
        at com.sun.jmx.mbeanserver.ConvertingMethod.checkCallToOpen(ConvertingMethod.java:110) ~[?:?]
        at com.sun.jmx.mbeanserver.MXBeanProxy$Visitor.visitAttribute(MXBeanProxy.java:69) ~[?:?]
        at com.sun.jmx.mbeanserver.MXBeanProxy$Visitor.visitAttribute(MXBeanProxy.java:63) ~[?:?]
        at com.sun.jmx.mbeanserver.MBeanAnalyzer.visit(MBeanAnalyzer.java:68) ~[?:?]
        at com.sun.jmx.mbeanserver.MXBeanProxy.&amp;lt;init&amp;gt;(MXBeanProxy.java:60) ~[?:?]
        at javax.management.MBeanServerInvocationHandler.findMXBeanProxy(MBeanServerInvocationHandler.java:329) [?:?]
        at javax.management.MBeanServerInvocationHandler.invoke(MBeanServerInvocationHandler.java:257) [?:?]
        at com.sun.proxy.$Proxy121.getRaftState(Unknown Source) [238:org.opendaylight.controller.sal-distributed-datastore:1.8.0.SNAPSHOT]
        at org.opendaylight.genius.mdsalutil.diagstatus.internal.DatastoreServiceStatusProvider.getServiceDescriptor(DatastoreServiceStatusProvider.java:89) [269:org.opendaylight.genius.mdsalutil-impl:0.5.0.SNAPSHOT]
        at Proxy07f8416e_a9cc_446d_a969_8d6bd755a3cf.getServiceDescriptor(Unknown Source) [?:?]
        at Proxya1570310_6cef_4b38_9f78_f015bdbdeecf.getServiceDescriptor(Unknown Source) [?:?]
        at org.opendaylight.infrautils.diagstatus.internal.DiagStatusServiceImpl.updateServiceStatusMap(DiagStatusServiceImpl.java:142) [283:org.opendaylight.infrautils.diagstatus-impl:1.4.0.SNAPSHOT]
        at org.opendaylight.infrautils.diagstatus.internal.DiagStatusServiceImpl.getAllServiceDescriptors(DiagStatusServiceImpl.java:88) [283:org.opendaylight.infrautils.diagstatus-impl:1.4.0.SNAPSHOT]
        at org.opendaylight.infrautils.diagstatus.internal.DiagStatusServiceImpl.isOperational(DiagStatusServiceImpl.java:97) [283:org.opendaylight.infrautils.diagstatus-impl:1.4.0.SNAPSHOT]
        at org.opendaylight.infrautils.diagstatus.internal.DiagStatusServiceMBeanImpl.acquireServiceStatusDetailed(DiagStatusServiceMBeanImpl.java:120) [283:org.opendaylight.infrautils.diagstatus-impl:1.4.0.SNAPSHOT]
        at Proxy56729cd8_0640_4be6_ac4b_b529beff2369.acquireServiceStatusDetailed(Unknown Source) [?:?]
        at org.opendaylight.infrautils.diagstatus.shell.DiagStatusCommand.getLocalStatusSummary(DiagStatusCommand.java:77) [284:org.opendaylight.infrautils.diagstatus-shell:1.4.0.SNAPSHOT]
        at org.opendaylight.infrautils.diagstatus.shell.DiagStatusCommand.execute(DiagStatusCommand.java:56) [284:org.opendaylight.infrautils.diagstatus-shell:1.4.0.SNAPSHOT]
        at org.apache.karaf.shell.impl.action.command.ActionCommand.execute(ActionCommand.java:84) [49:org.apache.karaf.shell.core:4.1.5]&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;I&apos;ll try to figure out what it takes to make it happy...&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jira.opendaylight.org/secure/ViewProfile.jspa?name=tpantelis&quot; class=&quot;user-hover&quot; rel=&quot;tpantelis&quot;&gt;tpantelis&lt;/a&gt; FYI. Also &lt;a href=&quot;https://jira.opendaylight.org/secure/ViewProfile.jspa?name=skitt&quot; class=&quot;user-hover&quot; rel=&quot;skitt&quot;&gt;skitt&lt;/a&gt; FYI thought this may interest you.&lt;/p&gt;</description>
                <environment></environment>
        <key id="30115">CONTROLLER-1835</key>
            <summary>ShardStatsMXBean is not a valid JMX MXBean, due to isActive in FollowerInfo</summary>
                <type id="10104" iconUrl="https://jira.opendaylight.org/secure/viewavatar?size=xsmall&amp;avatarId=10303&amp;avatarType=issuetype">Bug</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>Fri, 8 Jun 2018 13:26:46 +0000</created>
                <updated>Fri, 8 Jun 2018 20:49:10 +0000</updated>
                            <resolved>Fri, 8 Jun 2018 20:49:10 +0000</resolved>
                                                    <fixVersion>Fluorine</fixVersion>
                    <fixVersion>Oxygen SR3</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>1</watches>
                                                                                                                <comments>
                            <comment id="63366" author="vorburger" created="Fri, 8 Jun 2018 13:37:44 +0000"  >&lt;p&gt;There are actually 2 problems in FollowerInfo, also:&#160;&lt;/p&gt;

&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;karaf@root()&amp;gt; feature:install odl-genius-rest
karaf@root()&amp;gt; diagstatus:showSvcStatus
Timestamp: Fri Jun 08 15:35:43 CEST 2018
Node IP Address: 127.0.0.1
System is operational: false
System ready state: BOOTING
 OPENFLOW : ERROR 
 IFM : OPERATIONAL 
 ITM : OPERATIONAL 
 DATASTORE : ERROR java.lang.IllegalArgumentException: Cannot make MXBean proxy for org.opendaylight.controller.cluster.datastore.jmx.mbeans.shard.ShardStatsMXBean: java.io.InvalidObjectException: @ConstructorProperties includes name isVoting which does not correspond to a property: public org.opendaylight.controller.cluster.raft.client.messages.FollowerInfo(java.lang.String,long,long,boolean,java.lang.String,boolean)&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10000">
                    <name>Blocks</name>
                                            <outwardlinks description="blocks">
                                        <issuelink>
            <issuekey id="29959">GENIUS-138</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|i03fh3:</customfieldvalue>

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