-
Bug
-
Resolution: Done
-
Major
-
33.0.0.Beta1
-
None
fmarchio@redhat.com found an out of date example:
/subsystem=modcluster/proxy=default:read-resource(name=mod-cluster-config)
{
"outcome" => "success",
"result" => {"simple-load-provider" => {"factor" => "1"}}
}
On a fresh WF 27 HA I see:
"load-provider" =>
And mod-cluster-config parameter is no longer available.
Also, I have noticed some other broken CLI scripts
[standalone@localhost:9990 /] /subsystem=undertow/server=other-server/host=other-host:write-attribute(name=alias, value=[localhost]))
')' is not a valid node type name.
or
[standalone@localhost:9990 /] /subsystem=modcluster/proxy=other:add(advertise-socket=modcluster-other, balancer=other-balancer, connector=ajp-other)
'connector' is not found among the supported properties: [advertise, advertise-security-key, advertise-socket, auto-enable-contexts, balancer, excluded-contexts, flush-packets, flush-wait, listener, load-balancing-group, max-attempts, node-timeout, ping, proxies, proxy-url, session-draining-strategy, smax, socket-timeout, ssl-context, status-interva
l, sticky-session, sticky-session-remove, sticky-session-force, stop-context-timeout, ttl, worker-timeout]
or
[standalone@localhost:9990 /] /subsystem=modcluster/proxy=default:remove-metric(type=cpu)
Failed to get the list of the operation properties: "WFLYCTL0162: There is no operation remove-metric registered at address [
("subsystem" => "modcluster"),
("proxy" => "default")
]"
and many more.
Also, remove domain examples and use standalone instead.