Uploaded image for project: 'Application Server 7'
  1. Application Server 7
  2. AS7-4214

Operation rolled back using rollback-across-groups rollout plan returns success

XMLWordPrintable

      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] }
      

              bstansbe@redhat.com Brian Stansberry
              dpospisil Dominik Pospisil (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: