Bug 1518613

Summary: [RFE] Provider can have its compliance checked, but there is no compliance box in details like on VMs
Product: Red Hat CloudForms Management Engine Reporter: Milan Falešník <mfalesni>
Component: UI - OPSAssignee: Brian McLaughlin <bmclaugh>
Status: CLOSED ERRATA QA Contact: Matouš Mojžíš <mmojzis>
Severity: medium Docs Contact: Steve Bream <sbream>
Priority: medium    
Version: 5.9.0CC: adahms, cpelland, hkataria, jhardy, mpovolny, mshriver, obarenbo, simaishi
Target Milestone: GAKeywords: FutureFeature
Target Release: 5.11.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 5.11.0.1 Doc Type: Known Issue
Doc Text:
At current, the results of running a compliance policy on a provider can be accessed from the 'Policy' menu, but are not displayed in the inventory page for that provider. This issue will be resolved in a future update of Red Hat CloudForms.
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-12-12 13:33:21 UTC Type: Bug
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:

Description Milan Falešník 2017-11-29 10:25:38 UTC
Description of problem:
Provider can have its compliance checked, but there is no compliance box in details like on VMs.

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

How reproducible:
always

Steps to Reproduce:
1. Add a provider (I tested it with vSphere infra provider and Openstack cloud provider)
2. Open the provider details

Actual results:
Compliance check is possible in the Policy dropdown, but there is no compliance box on the details page to tell you the compliance status, so you don't know the outcome.

Expected results:
There is a compliance status box on the provider's details like there is one for VMs (there it is top-right).

Additional info:

Comment 5 John Hardy 2019-02-26 09:07:50 UTC
Assigning to Loic as PM.

Comment 8 CFME Bot 2019-04-04 17:38:52 UTC
New commit detected on ManageIQ/manageiq-ui-classic/master:

https://github.com/ManageIQ/manageiq-ui-classic/commit/cde1441169404551d4b8e288a94703498928891c
commit cde1441169404551d4b8e288a94703498928891c
Author:     Brian McLaughlin <bmclaugh>
AuthorDate: Fri Mar 29 14:21:36 2019 -0400
Commit:     Brian McLaughlin <bmclaugh>
CommitDate: Fri Mar 29 14:21:36 2019 -0400

    Add Compliance Box to Provider details page
    Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1518613

 app/controllers/mixins/ems_common.rb | 2 +-
 app/helpers/ems_cloud_helper.rb | 1 +
 app/helpers/ems_cloud_helper/textual_summary.rb | 1 +
 app/helpers/ems_infra_helper.rb | 1 +
 app/helpers/ems_infra_helper/textual_summary.rb | 1 +
 app/helpers/textual_mixins/ems_common.rb | 6 +
 6 files changed, 11 insertions(+), 1 deletion(-)

Comment 9 Matouš Mojžíš 2019-07-10 11:20:34 UTC
Verified in 5.11.0.13. Compliance box is displayed in provider details.

Comment 11 errata-xmlrpc 2019-12-12 13:33: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://access.redhat.com/errata/RHBA-2019:4199