]
Brian Stansberry updated WFCORE-2360:
-------------------------------------
Affects Version/s: (was: 3.0.0.Beta6)
Misleading failure description upon attempt of
/host=slave/server-config=x:remove() when server-config=x is still running
--------------------------------------------------------------------------------------------------------------------------
Key: WFCORE-2360
URL:
https://issues.jboss.org/browse/WFCORE-2360
Project: WildFly Core
Issue Type: Bug
Components: Domain Management
Reporter: Michal Jurc
Assignee: ehsavoie Hugonnet
When trying to remove a running {{server-config}} on slave host from {{host-master}}
controller, the following message is produced in CLI:
{code}[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
}
{code}
This is not very informative. The error message from just removing running
{{server-config}} managed by controller is different, and also much more informative:
{code}[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
}
{code}