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

/host-exclude=XX:add(management-minor-version=1) produces java.lang.IllegalArgumentException

XMLWordPrintable

    • User Experience

      /host-exclude=XX:add(management-minor-version=2)
      

      produces

      {
          "outcome" => "failed",
          "failure-description" => {"domain-failure-description" => "WFLYCTL0158: Operation handler failed: java.lang.IllegalArgumentException"},
          "rolled-back" => true
      }
      

      which is not sufficient

      operation description:

      /host-exclude=XX:read-operation-description(name=add)
      
      ...
                  "management-major-version" => {
                      "type" => INT,
                      "description" => "The major version of the kernel management API that is supported by slaves that should be affected by this configuration.",
                      "expressions-allowed" => false,
                      "required" => false,
                      "nillable" => true,
                      "alternatives" => ["host-release"],
                      "requires" => ["management-minor-version"]
                  },
                  "management-micro-version" => {
                      "type" => INT,
                      "description" => "The micro version of the kernel management API that is supported by slaves that should be affected by this configuration. If not defined, this configuration applies to all releases of the given major/minor version, excluding any for which a different configuration with a micro version also specified is present.",
                      "expressions-allowed" => false,
                      "required" => false,
                      "nillable" => true,
                      "alternatives" => ["host-release"],
                      "requires" => [
                          "management-major-version",
                          "management-minor-version"
                      ]
                  },
                  "management-minor-version" => {
                      "type" => INT,
                      "description" => "The minor version of the kernel management API that is supported by slaves that should be affected by this configuration.",
                      "expressions-allowed" => false,
                      "required" => false,
                      "nillable" => true,
                      "alternatives" => ["host-release"]
                  }
      
      

      Proposed solution:
      make management-minor-version require management-major-version

              psotirop@redhat.com Panagiotis Sotiropoulos (Inactive)
              istraka@redhat.com Ivan Straka
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: