Bug 1331371

Summary: AMQP credentials validation always passes
Product: Red Hat CloudForms Management Engine Reporter: Ronnie Rasouli <rrasouli>
Component: ProvidersAssignee: Shveta <sshveta>
Status: CLOSED ERRATA QA Contact: Ola Pavlenko <opavlenk>
Severity: high Docs Contact:
Priority: high    
Version: 5.6.0CC: jfrey, jhardy, obarenbo, simaishi, sshveta
Target Milestone: GA   
Target Release: 5.6.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 5.6.0.6 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-06-29 15:55:58 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
validation failed with wrong username none

Description Ronnie Rasouli 2016-04-28 11:57:08 UTC
Description of problem:

When setting up AMQP on new infra/cloud provider - it does not validate the inserted credentials

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1. add new provider 
2. Configure the IP of the infra provider
3. configure AMQP credentials - click validate
4. restore the test with wrong credentials username: 'wrong' password 'very_wrong'
Actual results:

the validation pass

Expected results:
validate the correct credentials of rabbitMQ

Additional info:

git issues:

https://github.com/ManageIQ/manageiq/issues/8158
https://github.com/ManageIQ/manageiq/issues/8159

Comment 3 Greg Blomquist 2016-05-03 18:57:38 UTC
Ladas, looks like you've already got this one.  On me to review/merge

Comment 4 CFME Bot 2016-05-05 21:40:45 UTC
New commit detected on ManageIQ/manageiq/master:
https://github.com/ManageIQ/manageiq/commit/417e6325f42ec929ff6b857140dbdb97a71c81b8

commit 417e6325f42ec929ff6b857140dbdb97a71c81b8
Author:     Ladislav Smola <lsmola>
AuthorDate: Thu Apr 28 16:38:35 2016 +0200
Commit:     Ladislav Smola <lsmola>
CommitDate: Thu May 5 11:43:12 2016 +0200

    Pick the Events plugin for OpenStack according to choice
    
    Pick the Events plugin for OpenStack according to choice in
    the provider form.
    
    Fixes Issue:
    https://github.com/ManageIQ/manageiq/issues/8159
    
    Fixes BZ:
    https://bugzilla.redhat.com/show_bug.cgi?id=1331371

 .../manageiq/providers/openstack/manager_mixin.rb  | 26 +++++++++++-------
 gems/pending/openstack/openstack_event_monitor.rb  | 32 ++++++----------------
 2 files changed, 25 insertions(+), 33 deletions(-)

Comment 6 Shveta 2016-06-01 03:47:58 UTC
Created attachment 1163457 [details]
validation failed with wrong username

Verified in 5.6.0.8-rc1.20160524155303_f2a5a50

Comment 8 errata-xmlrpc 2016-06-29 15:55:58 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2016:1348