]
Brian Stansberry updated AS7-4214:
----------------------------------
Fix Version/s: 7.1.2.Final
Affects Version/s: 7.1.1.Final
(was: 7.1.2.Final)
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.1.Final
Reporter: Dominik Pospisil
Assignee: Brian Stansberry
Labels: eap6_need_triage
Fix For: 7.1.2.Final
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:
{noformat}
[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] }
{noformat}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: