]
Brian Stansberry moved JBEAP-9887 to WFCORE-2576:
-------------------------------------------------
Project: WildFly Core (was: JBoss Enterprise Application Platform)
Key: WFCORE-2576 (was: JBEAP-9887)
Workflow: GIT Pull Request workflow (was: CDW with loose statuses v1)
Component/s: Domain Management
(was: Domain Management)
Operation failure descriptions following service start failures are
overly noisy.
---------------------------------------------------------------------------------
Key: WFCORE-2576
URL:
https://issues.jboss.org/browse/WFCORE-2576
Project: WildFly Core
Issue Type: Bug
Components: Domain Management
Reporter: Brian Stansberry
Assignee: Brian Stansberry
An example failure from JBEAP-6887:
{code}
{
"outcome" => "failed",
"failure-description" => {
"WFLYCTL0080: Failed services" =>
{"org.wildfly.security.credential-store-client.cs_not_found_exception" =>
"org.jboss.msc.service.StartException in service
org.wildfly.security.credential-store-client.cs_not_found_exception: WFLYELY00004: Unable
to start the service.
Caused by: org.wildfly.security.credential.store.CredentialStoreException: ELY09506:
Cannot read credential storage file
'/home/hsvabek/securityworkspace/VERIFICATION/2016_11_02_UX_testing/jboss-eap-7.1.0.DR7/standalone/data/cs/keystore-not_exists.jceks'
for the store named 'cs_not_found_exception'
Caused by: java.io.FileNotFoundException:
/home/hsvabek/securityworkspace/VERIFICATION/2016_11_02_UX_testing/jboss-eap-7.1.0.DR7/standalone/data/cs/keystore-not_exists.jceks
(No such file or directory)"},
"WFLYCTL0412: Required services that are not installed:" =>
["org.wildfly.security.credential-store-client.cs_not_found_exception"],
"WFLYCTL0180: Services with missing/unavailable dependencies" =>
undefined
},
"rolled-back" => true
}
{code}
There is no requirement not to show an exception or stack trace snippet. IMHO it's
the best part of the message. And it's not feasible to show nothing else, as there are
a number of layers in between.
But, this can certainly be improved, which is what this issue is about:
1) "WFLYCTL0180: Services with missing/unavailable dependencies" =>
undefined
This is just noise. I'm quite certain this is already fixed and verified in a
different issue though. Reproducing this against current code doesn't show this bit
any longer.
2) "org.jboss.msc.service.StartException in service
org.wildfly.security.credential-store-client.cs_not_found_exception: "
This is superfluous, since it follows ""WFLYCTL0080: Failed services"
=>
{"org.wildfly.security.credential-store-client.cs_not_found_exception""
which says the same thing. This can go.
3) ""WFLYCTL0412: Required services that are not installed:" =>
["org.wildfly.security.credential-store-client.cs_not_found_exception"]"
Seems redundant since the only non-installed service listed is the one already reported
as failed. This I'm not certain I'll fix as doing so may introduce some other
issue. But I'll have a look.