Description of problem: If an error occurs while configuring the database via appliance_console, the user is told to 'See /var/www/miq/vmdb/log/appliance_console.log for details.', but nothing gets logged to that file. Version-Release number of selected component (if applicable): Verified on 5.9.2, 5.9.3, 5.9.4, and 5.10.0. On 5.8.5, nothing gets logged to appliance_console.log either, but the 'See /var/www/miq/vmdb/log/appliance_console.log for details.' message isn't presented. How reproducible: 100% Steps to Reproduce: For example, select "5) Configure Database" > "3) Join Region in External Database", then specify an invalid database name: **** Activating the configuration using the following settings... Host: XXX.XXX.XXX.XXX Username: root Database: bad_db Port: 5432 Validated failed with error - FATAL: database "bad_db" does not exist . See /var/www/miq/vmdb/log/appliance_console.log for details. Press any key to continue. Configuration failed Press any key to continue. **** Actual results: Nothing is logged to /var/www/miq/vmdb/log/appliance_console.log (the file might not even exist at this point). Expected results: Error information gets logged to appliance_console.log. Additional info:
https://github.com/ManageIQ/manageiq-appliance_console/pull/76
New commit detected on ManageIQ/manageiq-appliance_console/master: https://github.com/ManageIQ/manageiq-appliance_console/commit/5b7c706116e67aea4b80c227b6a4ee04adf036bf commit 5b7c706116e67aea4b80c227b6a4ee04adf036bf Author: Yuri Rudman <yrudman> AuthorDate: Wed Dec 12 11:53:48 2018 -0500 Commit: Yuri Rudman <yrudman> CommitDate: Wed Dec 12 11:53:48 2018 -0500 fix logging when configure db Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1625377 lib/manageiq/appliance_console/database_configuration.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
changing BZ status back to "ON_DEV" since latest manageiq-appliance_console gem was not released yet
https://github.com/ManageIQ/manageiq-appliance/pull/227
New commit detected on ManageIQ/manageiq-appliance/master: https://github.com/ManageIQ/manageiq-appliance/commit/8131d15d1a76dca313473340e1e3f1dc764cd61e commit 8131d15d1a76dca313473340e1e3f1dc764cd61e Author: Brandon Dunne <brandondunne> AuthorDate: Thu Feb 14 15:00:59 2019 -0500 Commit: Brandon Dunne <brandondunne> CommitDate: Thu Feb 14 15:00:59 2019 -0500 Update to a minimum of manageiq-appliance_console v3.3.1 https://bugzilla.redhat.com/show_bug.cgi?id=1648986 https://bugzilla.redhat.com/show_bug.cgi?id=1625377 manageiq-appliance-dependencies.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Verified Version: 5.11.0.3.20190507174347_a77bd90