Red Hat Bugzilla – Bug 1017153
Insufficient failure message
Last modified: 2014-02-06 10:29:01 EST
Created attachment 809844 [details]
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.
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?
I used ubuntu 12.04 LTS x86, and oracle java 1.7.0_40 and I tried against a local running LDAP server.
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!
Created attachment 810423 [details]
The installer now produces a log that will contain much more detailed information.
Verified in ER7.