Bug 1820012

Summary: Quadicon incorrectly shows that host is authenticated when it's not
Product: Red Hat CloudForms Management Engine Reporter: Nandini Chandra <nachandr>
Component: UI - OPSAssignee: Nick LaMuro <nlamuro>
Status: CLOSED ERRATA QA Contact: Nandini Chandra <nachandr>
Severity: medium Docs Contact: Red Hat CloudForms Documentation <cloudforms-docs>
Priority: unspecified    
Version: unspecifiedCC: bthurber, dmetzger, hkataria, juwatts, mzazrivec, simaishi, znemecko
Target Milestone: GAKeywords: ZStream
Target Release: 5.11.9Flags: simaishi: cfme-5.11.z+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 5.11.9.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-11-05 22:04:52 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: Bug
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: CFME Core Target Upstream Version:
Embargoed:
Attachments:
Description Flags
screen shot of host quadicon
none
screen shot of host summary page none

Description Nandini Chandra 2020-04-02 04:09:44 UTC
Created attachment 1675594 [details]
screen shot of host quadicon

Description of problem:
------------------------
Quadicon incorrectly shows that host is authenticated when it's not.The host summary page correctly shows that the host is not authenticated.
I've seen this issue with a RHV host.

See attached screen shots.

Version-Release number of selected component (if applicable):
--------------------------------------------------------------
master.20200401002122_8bd930cd58


How reproducible:
-----------------
Unsure


Steps to Reproduce:
-------------------
1.Manage an infra provider
2.Wait for provider refresh to complete


Actual results:
---------------
Quadicon incorrectly shows that host is authenticated when it's not.


Expected results:
-----------------
Quadicon should show correct authentication status for hosts.


Additional info:
----------------
I'll update the BZ if I see this issue with vSphere hosts as well.

Comment 2 Nandini Chandra 2020-04-02 04:11:33 UTC
Created attachment 1675595 [details]
screen shot of host summary page

Comment 3 Milan Zázrivec 2020-04-21 14:09:16 UTC
Can't reproduce locally. Is there perhaps an appliance showing this problem?

Thanks.

Comment 5 Milan Zázrivec 2020-09-04 12:07:07 UTC
Assigning to Nick, who has the fix for the problem upstream.

Comment 6 Nick LaMuro 2020-09-08 13:57:08 UTC
Fix for this has been merged here:


https://github.com/ManageIQ/manageiq/pull/20494


Going to look at what version is needed for a backport for this BZ.

Comment 7 CFME Bot 2020-09-30 17:05:28 UTC
New commit detected on ManageIQ/manageiq/ivanchuk:

https://github.com/ManageIQ/manageiq/commit/c8afde7be3404d86c390fc472112cdfc6ccfb20f
commit c8afde7be3404d86c390fc472112cdfc6ccfb20f
Author:     Keenan Brock <keenan>
AuthorDate: Thu Sep  3 20:41:32 2020 +0000
Commit:     Satoe Imaishi <simaishi>
CommitDate: Wed Sep 30 16:57:22 2020 +0000

    Merge pull request #20494 from NickLaMuro/fix-authentication-status-virtual-delegate

    [AuthenticationMixin] Fix .authentication_status

    (cherry picked from commit a1ee4dd1463299de42c84a9f115d7f70499d3f0f)

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

 app/models/mixins/authentication_mixin.rb | 51 +-
 spec/models/mixins/authentication_mixin_spec.rb | 22 +
 2 files changed, 72 insertions(+), 1 deletion(-)

Comment 8 juwatts 2020-11-02 20:08:04 UTC
Verified in 5.11.9.0.20201007144602_3f931e3

Comment 13 errata-xmlrpc 2020-11-05 22:04:52 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 (CloudForms 5.0.9 bug fix and enhancement update), 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-2020:4967

Comment 14 Red Hat Bugzilla 2023-09-14 05:55:00 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days