[jboss-jira] [JBoss JIRA] (WFLY-11933) Error when accessing metrics with RBAC enabled

Claudio Weiler (Jira) issues at jboss.org
Mon Jun 17 09:37:00 EDT 2019


    [ https://issues.jboss.org/browse/WFLY-11933?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13747822#comment-13747822 ] 

Claudio Weiler edited comment on WFLY-11933 at 6/17/19 9:36 AM:
----------------------------------------------------------------

Hi [~dlofthouse]!

Nope, no user authenticated, no roles. But why any user or role assigned should play in this, as metrics, by default, are not protected in Wildfly: [https://docs.wildfly.org/17/Admin_Guide.html#management-model|https://docs.wildfly.org/17/Admin_Guide.html#management-model]



was (Author: cweiler):
Hi [~dlofthouse]!

Nope, no user authenticated. But why any user or role assigned should play in this, as metrics, by default, are not protected in Wildfly: [https://docs.wildfly.org/17/Admin_Guide.html#management-model|https://docs.wildfly.org/17/Admin_Guide.html#management-model]


> Error when accessing metrics with RBAC enabled
> ----------------------------------------------
>
>                 Key: WFLY-11933
>                 URL: https://issues.jboss.org/browse/WFLY-11933
>             Project: WildFly
>          Issue Type: Bug
>          Components: Management, MP Metrics
>    Affects Versions: 16.0.0.Final, 17.0.0.Final
>            Reporter: Claudio Weiler
>            Assignee: Jeff Mesnil
>            Priority: Major
>
> When RBAC is enabled for management in Wildfly 16, metrics throws exception:
> java.lang.IllegalStateException: WFLYMETRICS0003: Unable to read attribute XAForgetAverageTime on [
>     ("subsystem" => "datasources"),
>     ("data-source" => "ExampleDS"),
>     ("statistics" => "pool")
> ]: "WFLYCTL0216: Management resource '[
>     (\"subsystem\" => \"datasources\"),
>     (\"data-source\" => \"ExampleDS\"),
>     (\"statistics\" => \"pool\")
> ]' not found".



--
This message was sent by Atlassian Jira
(v7.12.1#712002)


More information about the jboss-jira mailing list