Description of problem: While setting-up replication nodes on global region, validation throws errors if 'pglogical' schema not created first. Version-Release number of selected component (if applicable): 5.9 How reproducible: 100% Steps to Reproduce: 1. On fresh installation for global region go to "Replication" tab (in configuration) 2. add subscription with valid db/host/user/password and click on "Validate" Actual results: No any feedback on screen , but in log: /usr/local/lib/ruby/gems/2.3.0/gems/pg-pglogical-2.1.2/lib/pg/pglogical/client.rb:344:in `async_exec' /usr/local/lib/ruby/gems/2.3.0/gems/pg-pglogical-2.1.2/lib/pg/pglogical/client.rb:344:in `typed_exec' /usr/local/lib/ruby/gems/2.3.0/gems/pg-pglogical-2.1.2/lib/pg/pglogical/client.rb:228:in `subscription_show_status' /var/www/miq/vmdb/app/models/pglogical_subscription.rb:211:in `find_password' /var/www/miq/vmdb/app/models/pglogical_subscription.rb:94:in `validate' /usr/local/lib/ruby/gems/2.3.0/bundler/gems/manageiq-ui-classic-02e1a7098b58/app/controllers/ops_controller/settings/common.rb:239:in `pglogical_validate_subscription' Expected results: Confirmation flash message "Subscription Credentials validated successfully" Additional info:
https://github.com/ManageIQ/manageiq/pull/16997
New commit detected on ManageIQ/manageiq/master: https://github.com/ManageIQ/manageiq/commit/b8e87e158947ab9b9a49541e5e777af0625e1eb6 commit b8e87e158947ab9b9a49541e5e777af0625e1eb6 Author: Yuri Rudman <yrudman> AuthorDate: Tue Feb 13 14:05:29 2018 -0500 Commit: Yuri Rudman <yrudman> CommitDate: Tue Feb 13 14:47:07 2018 -0500 do not use saved password when validating credentials if password passed as parameter. https://bugzilla.redhat.com/show_bug.cgi?id=1544911 app/models/pglogical_subscription.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Verified on 5.10.0.1.