Bug 1009949

Summary: Unable to configure security realm in domain
Product: [JBoss] JBoss Enterprise Application Platform 6 Reporter: Petr Kremensky <pkremens>
Component: Domain ManagementAssignee: Brian Stansberry <brian.stansberry>
Status: CLOSED CURRENTRELEASE QA Contact: Petr Kremensky <pkremens>
Severity: high Docs Contact: Russell Dickenson <rdickens>
Priority: unspecified    
Version: 6.2.0CC: cdewolf, chaowan, emuckenh, jcacek, msimka, myarboro
Target Milestone: ER3Keywords: Regression
Target Release: EAP 6.2.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-12-15 16:21:30 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1010473    

Description Petr Kremensky 2013-09-19 14:47:26 UTC
I am unable to configure new security realm for domain. 

Reproduce: 
 - start out-of-box domain
 - connect to CLI
 - create new security realm
[domain@localhost:9999 /] /host=master/core-service=management/security-realm=JBossTest:add
 - run any of following:
[domain@localhost:9999 /] /host=master/core-service=management/security-realm=JBossTest/authentication=properties:add(path=application-users.properties, relative-to=jboss.server.config.dir
[domain@localhost:9999 /] /host=master/core-service=management/security-realm=JBossTest/authentication=jaas:add(name=JBossTestDomain)
[domain@localhost:9999 /] /host=master/core-service=management/security-realm=JBossTest/authentication=local:add(allowed-users="*", default-user="$local")

CLI command will result in:
{
    "outcome" => "failed",
    "result" => undefined,
    "failure-description" => "JBAS010839: Operation failed or was rolled back on all servers.",
    "rolled-back" => true,
    "server-groups" => {"main-server-group" => {"host" => {"master" => {
        "server-one" => {"response" => {
            "outcome" => "failed",
            "failure-description" => "JBAS014883: No resource definition is registered for address [
    (\"host\" => \"master\"),
    (\"core-service\" => \"management\"),
    (\"security-realm\" => \"JBossTest\"),
    (\"authentication\" => \"local\")
]",
            "rolled-back" => true
        }},
        "server-two" => {"response" => {
            "outcome" => "failed",
            "failure-description" => "JBAS014883: No resource definition is registered for address [
    (\"host\" => \"master\"),
    (\"core-service\" => \"management\"),
    (\"security-realm\" => \"JBossTest\"),
    (\"authentication\" => \"local\")
]",
            "rolled-back" => true
        }}
    }}}}
}

This was working with 6.1.1.GA

Comment 2 Petr Kremensky 2013-09-26 06:58:23 UTC
Verified on EAP 6.2.0.ER3