Bug 1015532

Summary: RBAC: Unable to assign deployment to a server group using assign button from content repository page
Product: [JBoss] JBoss Enterprise Application Platform 6 Reporter: Radim Hatlapatka <rhatlapa>
Component: Web ConsoleAssignee: Heiko Braun <hbraun>
Status: CLOSED NOTABUG QA Contact: Jakub Cechacek <jcechace>
Severity: unspecified Docs Contact: Russell Dickenson <rdickens>
Priority: unspecified    
Version: 6.2.0CC: brian.stansberry, jkudrnac
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-10-04 13:24:22 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:

Description Radim Hatlapatka 2013-10-04 13:04:44 UTC
Description of problem:
When trying to assign deployment to a server-group using assign button on content repository page it fails with [1] (when I go via runtime->manage deployments->server groups->specific server group, I am able to assign the deployment)

[1]
Failed to add Deployment testJira2.war

Unexpected HTTP response: 500

Request
{
    "operation" => "composite",
    "address" => [],
    "steps" => [
        {
            "address" => [
                ("server-group" => "main-server-group"),
                ("deployment" => "testJira2.war")
            ],
            "operation" => "add"
        },
        {
            "address" => [
                ("server-group" => "main-server-group"),
                ("deployment" => "testJira2.war")
            ],
            "operation" => "deploy"
        }
    ]
}

Response

Internal Server Error
{
    "outcome" => "failed",
    "result" => {
        "step-1" => {
            "outcome" => "failed",
            "rolled-back" => true
        },
        "step-2" => {
            "outcome" => "failed",
            "rolled-back" => true
        }
    },
    "failure-description" => "JBAS010839: Operation failed or was rolled back on all servers.",
    "rolled-back" => true
}




Version-Release number of selected component (if applicable):
EAP 6.2.0.ER4 domain mode

Comment 1 Heiko Braun 2013-10-04 13:11:47 UTC
please attach the server log and a reprodcuer binary

Comment 2 Radim Hatlapatka 2013-10-04 13:24:22 UTC
Actually my bad, there is dependency on some server configuration in the deployment I used. I have rechecked it with proper deployment and it works as expected.