[jboss-jira] [JBoss JIRA] (WFLY-2089) Error executing composte operation as server group role

Heiko Braun (JIRA) jira-events at lists.jboss.org
Mon Sep 16 13:42:03 EDT 2013


Heiko Braun created WFLY-2089:
---------------------------------

             Summary: Error executing composte operation as server group role
                 Key: WFLY-2089
                 URL: https://issues.jboss.org/browse/WFLY-2089
             Project: WildFly
          Issue Type: Feature Request
          Components: Domain Management
            Reporter: Heiko Braun
            Assignee: Brian Stansberry
             Fix For: 8.0.0.Beta1


This role

{noformat}
[domain at localhost:9999 /] /core-service=management/access=authorization/server-group-scoped-role=main-MAINTAINER:read-resource
{                                          
    "outcome" => "success",
    "result" => {
        "base-role" => "MAINTAINER",
        "server-groups" => ["main-server-group"]
    }
}
{noformat}

... executing this operation 

{noformat}
[INFO] {
[INFO]     "address" => [],
[INFO]     "operation" => "composite",
[INFO]     "steps" => [
[INFO]         {
[INFO]             "address" => [],
[INFO]             "operation" => "read-children-resources",
[INFO]             "child-type" => "deployment"
[INFO]         },
[INFO]         {
[INFO]             "operation" => "read-children-resources",
[INFO]             "child-type" => "server-group"
[INFO]         },
[INFO]         {
[INFO]             "address" => [
[INFO]                 ("server-group" => "*"),
[INFO]                 ("deployment" => "*")
[INFO]             ],
[INFO]             "operation" => "read-resource"
[INFO]         }
[INFO]     ]
[INFO] }
{noformat}


... leads to:

{noformat}
[Host Controller] 19:37:41,713 FINE  [com.sun.net.httpserver] (HttpManagementService-threads - 2) POST /management HTTP/1.1 [401  Unauthorized] ()
[Host Controller] 19:37:41,713 FINE  [com.sun.net.httpserver] (HttpManagementService-threads - 1) POST /management HTTP/1.1 [401  Unauthorized] ()
[Host Controller] 19:37:41,762 FINE  [com.sun.net.httpserver] (HttpManagementService-threads - 2) POST /management HTTP/1.1 [200  OK] ()
[Host Controller] 19:37:41,766 DEBUG [org.jboss.as.controller.management-operation] (HttpManagementService-threads - 1) JBAS014616: Operation ("resolve") failed - address: ([]) - failure description: "JBAS013456: Unauthorized to execute operation 'resolve' for resource '[]' -- \"JBAS013475: Permission denied\""
[Host Controller] 19:37:41,767 FINE  [com.sun.net.httpserver] (HttpManagementService-threads - 1) POST /management HTTP/1.1 [500  Internal Server Error] ()
[Host Controller] 19:37:41,821 FINE  [com.sun.net.httpserver] (HttpManagementService-threads - 1) POST /management HTTP/1.1 [200  OK] ()
[Host Controller] 19:37:41,852 DEBUG [org.jboss.as.controller.management-operation] (HttpManagementService-threads - 2) JBAS014616: Operation ("composite") failed - address: ([]) - failure description: "JBAS014883: No resource definition is registered for address [
[Host Controller]     (\"host\" => \"master\"),
[Host Controller]     (\"server\" => \"server-two\")
[Host Controller] ]"
{noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list