Bug 1017153 - Insufficient failure message
Summary: Insufficient failure message
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss Fuse Service Works 6
Classification: JBoss
Component: Installer
Version: 6.0.0 GA
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ER7
: 6.0.0
Assignee: Thomas Hauser
QA Contact: Pavol Srna
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-10-09 10:51 UTC by Pavol Srna
Modified: 2014-02-06 15:29 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: Bug
Embargoed:


Attachments (Terms of Use)
screenshot (81.84 KB, image/png)
2013-10-09 10:51 UTC, Pavol Srna
no flags Details
processing-panel (261.97 KB, image/png)
2013-10-10 09:59 UTC, Pavol Srna
no flags Details

Description Pavol Srna 2013-10-09 10:51:55 UTC
Created attachment 809844 [details]
screenshot

Description of problem:

I often end up in situations, when I have no idea what has gone wrong in the installation. There is just a "Installation has failed." message on the last page. Nothing more. This is very insufficient, because user doesn't know if just a sub-module installation has failed, or the whole installation is corrupt, or what is going on...

Let's have this example scenario:

Accept all installer defaults and decide to install LDAP authentication.
On the ldap configuration panel type in wrong DN password. Fill in all other necessary fields and continue with the installation. On the very last page you will see a message "Installation has failed" with no obvious reason. There was even no error message on the 'processing' panel. And that is wrong.

Comment 1 Thomas Hauser 2013-10-09 13:55:56 UTC
Hello Pavol,

I agree that there is a general lack of information regarding failures in the installer. This is something that is being discussed.

However, for this particular issue, I am unable to reproduce using the procedure you describe in the example scenario. Which OS are you using?

Thanks,
Tom

Comment 2 Pavol Srna 2013-10-09 14:11:05 UTC
I used ubuntu 12.04 LTS x86, and oracle java 1.7.0_40 and I tried against a local running LDAP server.

Comment 3 Pavol Srna 2013-10-10 09:59:30 UTC
Another good example of weak error logging is when you try to configure mysql and mysql server answers with for example: 'ERROR 2003 (HY000): Can't connect to MySQL server on ...' You will hardly notice the error because when you realize that something went wrong you are on the last page saying "Installation has failed." and all other logs are almost empty.

See my screenshot from the processing panel. You can see that dtgov-sram-repo-seed-cli-command has failed with exit code 1. My point here is, that in so much text it is almost impossible to realize that there went something wrong. And also the Next button was enabled!

Comment 4 Pavol Srna 2013-10-10 09:59:57 UTC
Created attachment 810423 [details]
processing-panel

Comment 6 Thomas Hauser 2013-11-13 17:35:10 UTC
The installer now produces a log that will contain much more detailed information.

Comment 7 Pavol Srna 2013-12-12 13:42:56 UTC
Verified in ER7.


Note You need to log in before you can comment on or make changes to this bug.