]
Yeray Borges updated WFCORE-3758:
---------------------------------
Summary: start-servers operation can start servers when the host is in admin-only mode
(was: :start-servers operation can start servers when the host is in admin-only mode)
start-servers operation can start servers when the host is in
admin-only mode
-----------------------------------------------------------------------------
Key: WFCORE-3758
URL:
https://issues.jboss.org/browse/WFCORE-3758
Project: WildFly Core
Issue Type: Bug
Components: Domain Management
Reporter: Yeray Borges
Assignee: Yeray Borges
If a Host Controler is reloaded or started in admin-only mode, it is possible to start
the servers using {{:start-servers}} operation. It is problematic when the user reloads
the Host Controller without restarting the servers and tries to start the servers
afterwards.
By definition, when the host controller is started in admin-only, it will not start any
server. Indeed, if the user tries to start a single server using
{{/host=master/server-config=server-one:start}} an error is correctly reported:
{code:xml}
[domain@localhost:9990 /] /host=master/server-config=server-one:start
{
"outcome" => "failed",
"failure-description" => "WFLYHC0048: Cannot start servers when the
Host Controller running mode is ADMIN_ONLY",
"rolled-back" => true
}
{code}