Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-8266

Management issues on host after enabling RBAC

    XMLWordPrintable

Details

    • Blocks Testing
    • Not Required
      1. Start EAP
      2. Enable RBAC
      3. Reload
      4. Shutdown server
      5. Add user
      6. Start server

    Description

      When enabling RBAC (/core-service=management/access=authorization:write-attribute(name=provider, value=rbac)), it is not possible to add role mappings:

      [domain@localhost:9990 /] /core-service=management/access=authorization/role-mapping=Maintainer:add()
      {
          "outcome" => "failed",
          "result" => undefined,
          "failure-description" => {"WFLYDC0074: Operation failed or was rolled back on all servers. Server failures:" => {"server-group" => {"main-server-group" => {"host" => {"master" => {
              "server-one" => "WFLYCTL0216: Management resource '[
          (\"core-service\" => \"management\"),
          (\"access\" => \"authorization\"),
          (\"role-mapping\" => \"Maintainer\")
      ]' not found",
              "server-two" => "WFLYCTL0216: Management resource '[
          (\"core-service\" => \"management\"),
          (\"access\" => \"authorization\"),
          (\"role-mapping\" => \"Maintainer\")
      ]' not found"
          }}}}}},
          "rolled-back" => true,
          "server-groups" => {"main-server-group" => {"host" => {"master" => {
              "server-one" => {"response" => {
                  "outcome" => "failed",
                  "failure-description" => "WFLYCTL0216: Management resource '[
          (\"core-service\" => \"management\"),
          (\"access\" => \"authorization\"),
          (\"role-mapping\" => \"Maintainer\")
      ]' not found",
                  "rolled-back" => true
              }},
              "server-two" => {"response" => {
                  "outcome" => "failed",
                  "failure-description" => "WFLYCTL0216: Management resource '[
          (\"core-service\" => \"management\"),
          (\"access\" => \"authorization\"),
          (\"role-mapping\" => \"Maintainer\")
      ]' not found",
                  "rolled-back" => true
              }}
          }}}}
      }
      

      Attachments

        Issue Links

          Activity

            People

              darran.lofthouse@redhat.com Darran Lofthouse
              jkasik@redhat.com Jan Kašík
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: