Bug 1550503

Summary: Policy simulation results are not displayed
Product: Red Hat CloudForms Management Engine Reporter: Dávid Halász <dhalasz>
Component: UI - OPSAssignee: Karel Hala <khala>
Status: CLOSED CURRENTRELEASE QA Contact: Dmitry Misharov <dmisharo>
Severity: medium Docs Contact:
Priority: high    
Version: 5.9.0CC: cpelland, dmisharo, hkataria, khala, lavenel, mpovolny, obarenbo
Target Milestone: GAKeywords: Regression, TestOnly, ZStream
Target Release: 5.10.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 5.10.0.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1554839 (view as bug list) Environment:
Last Closed: 2019-02-11 14:08:42 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: 1554839    

Description Dávid Halász 2018-03-01 10:21:34 UTC
Created attachment 1402400 [details]
Policy simulation in 5.9

Description of problem:
Policy simulation screen now displays a list view instead of a grid view with quadicons. As the simulation results have been displayed in the bottom-right quad, these results are no longer displayed.

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

How reproducible:


Steps to Reproduce:
1. Have an infra provider with at least one VM
2. Go to Compute -> Infra -> VMs and check at least one VM's checkbox
3. In the toolbar open Policy -> Policy Simulation
4. Select a policy profile in the dropdown

Actual results:
After selecting the policy profile, no simulation results are displayed in the list below.

Expected results:
Policy simulation results should be displayed


Additional info:
As 5.8 displays quadicons instead of the list view, this issue is not present there.

Comment 2 Dávid Halász 2018-03-01 10:22:04 UTC
Created attachment 1402401 [details]
Policy simulation in 5.8

Comment 8 CFME Bot 2018-03-12 17:22:32 UTC
New commit detected on ManageIQ/manageiq-ui-classic/master:

https://github.com/ManageIQ/manageiq-ui-classic/commit/fded52e7ad177c21514faa91d08b972869652f7b
commit fded52e7ad177c21514faa91d08b972869652f7b
Author:     Karel Hala <khala>
AuthorDate: Wed Mar  7 06:50:54 2018 -0500
Commit:     Karel Hala <khala>
CommitDate: Wed Mar  7 06:50:54 2018 -0500

    Show policy status when running policy simulation
    fixes https://bugzilla.redhat.com/show_bug.cgi?id=1550503

 app/controllers/application_controller/policy_support.rb | 4 +-
 app/decorators/miq_template_decorator.rb | 3 +-
 app/decorators/vm_or_template_decorator.rb | 3 +-
 3 files changed, 7 insertions(+), 3 deletions(-)

Comment 11 Dmitry Misharov 2018-06-26 09:08:51 UTC
Fixed and verified in 5.10.0.1.20180619163011_900fdc4. Policy simulation result is displayed.