Uploaded image for project: 'JBoss Enterprise Application Platform 6'
  1. JBoss Enterprise Application Platform 6
  2. JBPAPP6-1679

mod_cluster subsystem CLI: remove-metric does not work

    Details

      Description

      Despite having

      <subsystem xmlns="urn:jboss:domain:modcluster:1.1">
          <mod-cluster-config advertise-socket="modcluster" advertise="true" sticky-session="true" sticky-session-remove="false" sticky-session-force="false" connector="ajp">
              <dynamic-load-provider history="10" decay="2">
                  <load-metric type="busyness"/>
                  <load-metric type="cpu" weight="3"/>
                  <load-metric type="sessions"/>
              </dynamic-load-provider>
          </mod-cluster-config>
      </subsystem>
      

      I am unable to remove any of them with error always being:

      [standalone@perf03:9999 mod-cluster-config=configuration] :remove-metric(type=busyness)
      {
          "outcome" => "failed",
          "failure-description" => "JBAS014749: Operation handler failed: null",
          "rolled-back" => true
      }
      

      I am apparently on the correct config level:

      [standalone@perf03:9999 mod-cluster-config=configuration] :remove-metric(type=devil)   
      {
          "outcome" => "failed",
          "failure-description" => "JBAS014839: Invalid value devil for type; legal values are [heap, requests, sessions, busyness, send-traffic, mem, cpu, receive-traffic]",
          "rolled-back" => true
      }
      

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                jfclere Jean-Frederic Clere
                Reporter:
                mbabacek Michal Karm
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: