Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-9296

Misleading failure description upon attempt of /host=slave/server-config=x:remove() when server-config=x is still running

XMLWordPrintable

    • User Experience
    • Not Required

      When trying to remove a running server-config on slave host from host-master controller, the following message is produced in CLI:

      [domain@localhost:9990 /] /host=hc1/server-config=server-two:remove()
      {
          "outcome" => "failed",
          "result" => {},
          "failure-description" => {"host-failure-descriptions" => {"hc1" => "WFLYHC0201: Error synchronizing the host model with the domain controller model with failure : WFLYCTL0063: Composite operation was rolled back."}},
          "rolled-back" => true
      }
      

      This is not very informative. The error message from just removing running server-config managed by controller is different, and also much more informative:

      [domain@localhost:9990 /] /host=master/server-config=server-two:remove()
      {
          "outcome" => "failed",
          "result" => {},
          "failure-description" => {"host-failure-descriptions" => {"master" => "WFLYHC0078: Server (server-two) still running"}},
          "rolled-back" => true
      }
      

            ehugonne1@redhat.com Emmanuel Hugonnet
            mjurc@redhat.com Michal Jurc
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: