Bug 1667980

Summary: [Container Provider] Missing Success Message When "Re-check Authentication Status" is clicked on Dashboard View
Product: Red Hat CloudForms Management Engine Reporter: juwatts
Component: UI - OPSAssignee: Hilda Stastna <hstastna>
Status: CLOSED CURRENTRELEASE QA Contact: juwatts
Severity: low Docs Contact: Red Hat CloudForms Documentation <cloudforms-docs>
Priority: low    
Version: 5.10.0CC: bmidwood, dmetzger, hkataria, lavenel, mpovolny, obarenbo
Target Milestone: GAKeywords: Regression, TestOnly, ZStream
Target Release: 5.11.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 5.11.0.1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1686984 (view as bug list) Environment:
Last Closed: 2019-12-13 15:08:49 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:
Bug Depends On:    
Bug Blocks: 1686984    

Description juwatts 2019-01-21 15:48:43 UTC
Description of problem:
When the user clicks the "Re-check Authentication Status" drop down action button, no status message is displayed. 


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

How reproducible:
100%

Steps to Reproduce:
1. Add a Openshift provider to CFME
2. Navigate to Compute->Containers-Providers and select the Openshift provider
3. On the Dashboard view, select the "Authentication" drop down and click "Re-check Authentication Status"

Actual results:
Nothing is diaplyed

Expected results:
The following status message is displayed:
Authentication status will be saved and workers will be restarted for the selected Containers Provider


Additional info:
This is only on the Dashboard view

Comment 4 Hilda Stastna 2019-02-13 14:43:47 UTC
fixing https://github.com/ManageIQ/manageiq-ui-classic/pull/5243

Comment 5 CFME Bot 2019-02-13 21:48:06 UTC
New commit detected on ManageIQ/manageiq-ui-classic/master:

https://github.com/ManageIQ/manageiq-ui-classic/commit/e8ff8e2c7841dfc6f89de960712f8805e416b820
commit e8ff8e2c7841dfc6f89de960712f8805e416b820
Author:     Hilda Stastna <hstastna>
AuthorDate: Wed Feb 13 09:34:33 2019 -0500
Commit:     Hilda Stastna <hstastna>
CommitDate: Wed Feb 13 09:34:33 2019 -0500

    Fix missing flash message for Re-check Authentication Status

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

    Fix the missing flash message for re-checking authentication status
    for selected Container Provider, under Compute > Containers > Providers.

 app/views/ems_container/_show_dashboard.html.haml | 1 +
 1 file changed, 1 insertion(+)

Comment 6 Harpreet Kataria 2019-02-28 20:42:54 UTC
*** Bug 1684237 has been marked as a duplicate of this bug. ***

Comment 8 juwatts 2019-04-30 17:34:42 UTC
Verified in 5.11.0.1.20190424210327_58b5dbd

Verification steps:
1. Add a Openshift provider to CFME
2. Navigate to Compute->Containers-Providers and select the Openshift provider
3. On the Dashboard view, select the "Authentication" drop down and click "Re-check Authentication Status"
4. Verified the following messages rendered: "Authentication status will be saved and workers will be restarted for the selected Containers Provider"
5. On the Dashboard view, select the "Policy" drop down and click "Check Compliance of Last Known Configuration"
6. Verified the following messages rendered: "<ocp_provider_name>: Check Compliance successfully initiated"