[jboss-jira] [JBoss JIRA] (WFCORE-3804) The /host=*/server=* reload and suspend operations are not visible to the CLI
Brian Stansberry (JIRA)
issues at jboss.org
Fri May 4 18:29:00 EDT 2018
Brian Stansberry created WFCORE-3804:
----------------------------------------
Summary: The /host=*/server=* reload and suspend operations are not visible to the CLI
Key: WFCORE-3804
URL: https://issues.jboss.org/browse/WFCORE-3804
Project: WildFly Core
Issue Type: Bug
Components: Management
Reporter: Brian Stansberry
Assignee: Brian Stansberry
You can execute this op:
/host=master/server=server-one:reload
But if you try and tab complete the op name, the reload op does not appear.
Same thing with suspend.
Further, with suspend if you do:
/host=master/server=server-one:suspend(timeout=10)
the CLI will reject the op complaining that param 'timeout' is invalid. Disable validation in jboss-cli.xml though and it will work.
The reason for all this is that the read-operation-names and read-operation-description ops the CLI invokes in the background before executing an op are aimed at /host=master/server=server-one, and on the domain server root resource the 'reload' and 'suspend' operation definitions are marked with setPrivateEntry.
When the user actually executes the ops, the handler is actually on the HC, so it works fine. It's just that the CLI can't see the description of the op.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
More information about the jboss-jira
mailing list