Bug 1583784

Summary: xClarity: Wrong credentials and last refresh status when execute refresh cycle against a provider with invalid credentials
Product: Red Hat CloudForms Management Engine Reporter: Satoe Imaishi <simaishi>
Component: ProvidersAssignee: Douglas Gabriel <dgouveia>
Status: CLOSED ERRATA QA Contact: Douglas Gabriel <dgouveia>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 5.9.0CC: agrare, cpelland, dgouveia, gblomqui, jfrey, jhardy, jprause, obarenbo, rbrown4
Target Milestone: GAKeywords: ZStream
Target Release: 5.9.3   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 5.9.3.1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1581680 Environment:
Last Closed: 2018-07-12 13:15:30 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: Lenovo Target Upstream Version:
Embargoed:
Bug Depends On: 1581680    
Bug Blocks:    

Comment 2 CFME Bot 2018-05-29 16:47:43 UTC
New commit detected on ManageIQ/manageiq-providers-lenovo/gaprindashvili:

https://github.com/ManageIQ/manageiq-providers-lenovo/commit/4c5ceea78322b0fa16a61f40b9c8e97e98999173
commit 4c5ceea78322b0fa16a61f40b9c8e97e98999173
Author:     Adam Grare <agrare>
AuthorDate: Thu May 24 16:21:26 2018 -0400
Commit:     Adam Grare <agrare>
CommitDate: Thu May 24 16:21:26 2018 -0400

    Merge pull request #191 from douglasgabriel/fix_status_issue

    [BZ 1581680] Fixing authentication status update
    (cherry picked from commit 4e57b0deb60d94c25d17c6d8e9def0226025269b)

    Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1583784

 app/models/manageiq/providers/lenovo/manager_mixin.rb | 4 +-
 1 file changed, 2 insertions(+), 2 deletions(-)

Comment 3 Rodney H. Brown 2018-07-10 20:05:03 UTC
Verified with driver: 5.9.3.4.20180702181921_afd03d7

Expected results:  
1. Connect to an LXCA with valid credentials
2. Change the credentials at the LXCA interface
3. Reauthenticate via the ManageIQ interface
4. Expect status to say invalid and last refresh status to indicate last successful refresh.
6. Reconfigure the provider in ManageIQ to the new LXCA password
7. Re-check authentication status
8. Expect status to say Success and recent status update

Comment 5 errata-xmlrpc 2018-07-12 13:15:30 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/RHSA-2018:2184