[jboss-jira] [JBoss JIRA] (WFLY-10267) :start-servers operation can start servers when the host is in admin-only mode

Yeray Borges (JIRA) issues at jboss.org
Thu Apr 19 09:26:00 EDT 2018


Yeray Borges created WFLY-10267:
-----------------------------------

             Summary: :start-servers operation can start servers when the host is in admin-only mode
                 Key: WFLY-10267
                 URL: https://issues.jboss.org/browse/WFLY-10267
             Project: WildFly
          Issue Type: Bug
          Components: Domain Management
    Affects Versions: 12.0.0.Final
            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 at 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}





--
This message was sent by Atlassian JIRA
(v7.5.0#75005)


More information about the jboss-jira mailing list