Bug 1382836

Summary: Cloud Providers authentication not re-validated after save
Product: Red Hat CloudForms Management Engine Reporter: Satoe Imaishi <simaishi>
Component: ProvidersAssignee: Marcel Hild <mhild>
Status: CLOSED ERRATA QA Contact: Jiri Stefanisin <jistefan>
Severity: high Docs Contact:
Priority: high    
Version: 5.6.0CC: cpelland, dclarizi, gblomqui, jfrey, jhardy, jistefan, obarenbo, simaishi
Target Milestone: GAKeywords: ZStream
Target Release: 5.6.3   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 5.6.3.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1374865 Environment:
Last Closed: 2016-11-30 19:56:21 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: CFME Core Target Upstream Version:
Embargoed:
Bug Depends On: 1374865    
Bug Blocks:    

Comment 2 CFME Bot 2016-10-07 20:41:10 UTC
New commit detected on ManageIQ/manageiq/darga:
https://github.com/ManageIQ/manageiq/commit/687008c2658f95da54c106080d5e4b7d6fc03b33

commit 687008c2658f95da54c106080d5e4b7d6fc03b33
Author:     Dan Clarizio <dclarizi>
AuthorDate: Thu Sep 22 07:37:06 2016 -0700
Commit:     Oleg Barenboim <chessbyte>
CommitDate: Fri Oct 7 16:40:08 2016 -0400

    Merge pull request #11297 from AparnaKarve/bz1374865_save_auth_status
    
    Save Authentication status on a Save
    (cherry picked from commit 7b2c846bc94552ff875da58b783bf6283ac59b59)
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1382836

 .../ems_common/ems_common_form_controller.js       | 32 ++++------------------
 app/controllers/mixins/ems_common_angular.rb       |  2 ++
 2 files changed, 8 insertions(+), 26 deletions(-)

Comment 3 Marcel Hild 2016-10-10 13:42:35 UTC
So, I checked by setting :authentication_check_interval: 1.minute in advanced settings and setting the credentials to become invalid by adding ec2.eu-central-1.amazonaws.com to /etc/hosts to point to localhost. The managers auth would become invalid, the refresher would stop to work. After correcting the hosts settings the schedule worker did an auth check and the refresh worker would start automatically again.

So my Comment 6 https://bugzilla.redhat.com/show_bug.cgi?id=1374865#c6 is invalid.

Changing the the issue to reflect the UI part only

Comment 6 errata-xmlrpc 2016-11-30 19:56:21 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://rhn.redhat.com/errata/RHSA-2016-2839.html