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

Confusing error message when writing simple-load-provider attribute when dynamic load provider is present

XMLWordPrintable

    • Hide
      /subsystem=modcluster/mod-cluster-config=configuration/:write-attribute(name=simple-load-provider, value=0)
      

      or

      /subsystem=modcluster/mod-cluster-config=configuration/:undefine-attribute(name=simple-load-provider)
      
      Show
      /subsystem=modcluster/mod-cluster-config=configuration/:write-attribute(name=simple-load-provider, value=0) or /subsystem=modcluster/mod-cluster-config=configuration/:undefine-attribute(name=simple-load-provider)
    • Workaround Exists
    • Hide
      /subsystem=modcluster/proxy=default/load-provider=simple:add(factor=0)
      
      Show
      /subsystem=modcluster/proxy= default /load-provider=simple:add(factor=0)
    • Regression

      Following should add simple load provider with factor=0:

      /subsystem=modcluster/mod-cluster-config=configuration/:write-attribute(name=simple-load-provider, value=0)
      

      Instead, this error shows up:

      {
          "outcome" => "failed",
          "failure-description" => "WFLYCTL0216: Management resource '[
          (\"subsystem\" => \"modcluster\"),
          (\"proxy\" => \"default\"),
          (\"load-provider\" => \"simple\")
      ]' not found",
          "rolled-back" => true
      }
      

      There is missing translation to create the resource, same is the situation for undefine operation.

              rhn-engineering-rhusar Radoslav Husar
              jkasik@redhat.com Jan Kašík
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: