Uploaded image for project: 'WildFly Core'
  1. WildFly Core
  2. WFCORE-3758

start-servers operation can start servers when the host is in admin-only mode

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 5.0.0.Alpha4
    • None
    • Management
    • None
    • Hide

      Execute the following sequence:

      [domain@localhost:9990 /] /host=master:reload(admin-only=true,restart-servers=false)
      [domain@localhost:9990 /] :start-servers
      

      The domain gets an inconsistent state, I have to restart the DC.

      Show
      Execute the following sequence: [domain@localhost:9990 /] /host=master:reload(admin-only=true,restart-servers=false) [domain@localhost:9990 /] :start-servers The domain gets an inconsistent state, I have to restart the DC.

      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:

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

            yborgess1@redhat.com Yeray Borges Santana
            yborgess1@redhat.com Yeray Borges Santana
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: