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

Brian Stansberry (JIRA) issues at jboss.org
Thu Apr 19 17:55:00 EDT 2018


    [ https://issues.jboss.org/browse/WFCORE-3758?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13564066#comment-13564066 ] 

Brian Stansberry commented on WFCORE-3758:
------------------------------------------

Good catch!

> 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 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