]
Yeray Santana Borges reassigned WFCORE-701:
-------------------------------------------
Assignee: Yeray Santana Borges
Inconsistent domain server status reports between server-config
resource and server resource
--------------------------------------------------------------------------------------------
Key: WFCORE-701
URL:
https://issues.jboss.org/browse/WFCORE-701
Project: WildFly Core
Issue Type: Bug
Components: Domain Management
Affects Versions: 1.0.0.CR4, 2.0.0.Alpha2
Reporter: Brian Stansberry
Assignee: Yeray Santana Borges
Fix For: 3.0.0.Alpha1
When a managed server fails in some way, the server status reporting is inconsistent
between the /host=<host>/server-config=<server> resources and the
/host=<host>/server=<server> resource.
To reproduce, run domain.sh, find the pid of a server process, and kill -9
<thepid>. Then with the CLI:
{code}
[domain@localhost:9990 /]
/host=master/server-config=server-two:read-attribute(name=status)
{
"outcome" => "success",
"result" => "FAILED"
}
[domain@localhost:9990 /]
/host=master/server=server-two:read-attribute(name=server-state)
{
"outcome" => "success",
"result" => "STOPPED"
}
{code}