[jboss-jira] [JBoss JIRA] (AS7-4214) Operation rolled back using rollback-across-groups rollout plan returns success

Dominik Pospisil (JIRA) jira-events at lists.jboss.org
Mon Mar 19 08:34:47 EDT 2012


Dominik Pospisil created AS7-4214:
-------------------------------------

             Summary: Operation rolled back using rollback-across-groups rollout plan returns success
                 Key: AS7-4214
                 URL: https://issues.jboss.org/browse/AS7-4214
             Project: Application Server 7
          Issue Type: Bug
          Components: Domain Management
    Affects Versions: 7.1.2.Final
            Reporter: Dominik Pospisil
            Assignee: Brian Stansberry


If there are multiple server groups involved in management operation and one group fails and the rollback of the other groups is forced by using rollback-across-groups rollout plan the operation still return success. I think that in such situation the operation should return failure as the operation is not executed on any of the servers.

Example of the outcome of a operation which failed on main-one and main-three and was rolled back on main-two and test-one:

[CLI-out] {
[CLI-out]     "outcome" => "success",
[CLI-out]     "result" => undefined,
[CLI-out]     "server-groups" => {
[CLI-out]         "main-server-group" => {
[CLI-out]             "main-one" => {
[CLI-out]                 "host" => "master",
[CLI-out]                 "response" => {
[CLI-out]                     "outcome" => "failed",
[CLI-out]                     "failure-description" => {"JBAS014671: Failed services" => {"jboss.web.connector.test-http" => "org.jboss.msc.service.StartException in service jboss.web.connector.test-http: JBAS018007: Error starting web connector"}},
[CLI-out]                     "rolled-back" => true,
[CLI-out]                     "response-headers" => {"process-state" => "restart-required"}
[CLI-out]                 }
[CLI-out]             },
[CLI-out]             "main-two" => {
[CLI-out]                 "host" => "master",
[CLI-out]                 "response" => {
[CLI-out]                     "outcome" => "failed",
[CLI-out]                     "rolled-back" => true
[CLI-out]                 }
[CLI-out]             },
[CLI-out]             "main-three" => {
[CLI-out]                 "host" => "slave",
[CLI-out]                 "response" => {
[CLI-out]                     "outcome" => "failed",
[CLI-out]                     "result" => undefined,
[CLI-out]                     "failure-description" => {"JBAS014671: Failed services" => {"jboss.web.connector.test-http" => "org.jboss.msc.service.StartException in service jboss.web.connector.test-http: JBAS018007: Error starting web connector"}},
[CLI-out]                     "rolled-back" => true
[CLI-out]                 }
[CLI-out]             }
[CLI-out]         },
[CLI-out]         "test-server-group" => {"test-one" => {
[CLI-out]             "host" => "master",
[CLI-out]             "response" => {
[CLI-out]                 "outcome" => "failed",
[CLI-out]                 "rolled-back" => true
[CLI-out]             }
[CLI-out]         }}
[CLI-out]     }
[CLI-out] }

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list