Description of problem: Version-Release number of selected component (if applicable): 5.8.0.9 How reproducible: Always Steps to Reproduce: 1. Launch appliance_console 2. Go to Database configuration 3. Go through all the settings 4. In database region & password set blank password Actual results: Postgresql error: Validated failed with error - fe_sendauth: no password supplied Partition was still created and prepared for postgres. Expected results: Blank passwords should not be allowed. Additional info:
https://github.com/ManageIQ/manageiq-gems-pending/pull/125
New commit detected on ManageIQ/manageiq-gems-pending/master: https://github.com/ManageIQ/manageiq-gems-pending/commit/392aa59ba04f18ee4262107a356fad564107ef83 commit 392aa59ba04f18ee4262107a356fad564107ef83 Author: Yuri Rudman <yrudman> AuthorDate: Fri Apr 21 16:13:48 2017 -0400 Commit: Yuri Rudman <yrudman> CommitDate: Mon Apr 24 16:07:42 2017 -0400 do not allow to enter empty passwords when configuring DB https://bugzilla.redhat.com/show_bug.cgi?id=1443689 .../pending/appliance_console/database_configuration.rb | 15 ++++++++++----- spec/appliance_console/database_configuration_spec.rb | 9 ++++++++- 2 files changed, 18 insertions(+), 6 deletions(-)
I ran into this bug while testing and it leads to an appliance that is basically broken. (second partition table is created, but database is not configured) Can we get this backported into 5.8?
*** Bug 1467573 has been marked as a duplicate of this bug. ***
Verified in 5.9.0.5. It doesn't allow me to set up database without password in appliance_console.