[jboss-jira] [JBoss JIRA] (WFLY-11933) Error when accessing metrics with RBAC enabled
Darran Lofthouse (Jira)
issues at jboss.org
Mon Jun 17 08:34:00 EDT 2019
[ https://issues.jboss.org/browse/WFLY-11933?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13747768#comment-13747768 ]
Darran Lofthouse commented on WFLY-11933:
-----------------------------------------
[~cweiler] What user is currently using the console to view the metrics?
As we don't include default users in the distribution I assume this is a user which you have added, after the definition of this user have you assigned any roles?
> 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
> Reporter: Claudio Weiler
> Assignee: Jeff Mesnil
> Priority: Critical
>
> 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