Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-1854

[Migration operation] :migrate operation should return outcome success when migrating expressions jgroup stack in discovery group

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 7.0.0.DR13 (Alpha)
    • Fix Version/s: 7.0.0.ER4
    • Component/s: JMS, Migration
    • Labels:
      None

      Description

      If configuration for jgroups stack in discovery group contains expression:

                  <discovery-group name="groupU">
                      <jgroups-stack>${jgroups.stack:udp}</jgroups-stack>
                      <jgroups-channel>${jgroups.channel:udp}</jgroups-channel>
                  </discovery-group>
      

      then :migrate operation has outcome => failed:

      [standalone@127.0.0.1:9999 /] /subsystem=messaging:migrate
      {
          "outcome" => "failed",
          "result" => {
              "migration-warnings" => [],
              "migration-error" => {
                  "operation" => {
                      "jgroups-stack" => expression "${jgroups.stack:udp}",
                      "jgroups-channel" => expression "${jgroups.channel:udp}",
                      "operation" => "add",
                      "address" => [
                          ("subsystem" => "messaging-activemq"),
                          ("server" => "default"),
                          ("discovery-group" => "groupU")
                      ],
                      "operation-headers" => {
                          "caller-type" => "user",
                          "access-mechanism" => "NATIVE"
                      }
                  },
                  "result" => {
                      "outcome" => "failed",
                      "failure-description" => "WFLYCTL0264: jgroups-stack may not be ModelType.EXPRESSION",
                      "rolled-back" => true
                  }
              }
          },
          "failure-description" => "WFLYMSG0081: Migration failed, see results for more details.",
          "rolled-back" => true
      }
      

      Based on my understanding there should be outcome success with warning.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  jmesnil Jeff Mesnil
                  Reporter:
                  mnovak Miroslav Novak
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  4 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: