Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-5678

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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Blocker
    • 10.0.0.CR5
    • 10.0.0.CR4
    • JMS
    • 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.

      Attachments

        Issue Links

          Activity

            People

              jmesnil1@redhat.com Jeff Mesnil
              jmesnil1@redhat.com Jeff Mesnil
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: