Bug 1480812 - 'Optimize > Utilization' only shows a subset of providers
Summary: 'Optimize > Utilization' only shows a subset of providers
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Appliance
Version: 5.8.0
Hardware: Unspecified
OS: Unspecified
high
medium
Target Milestone: GA
: 5.9.0
Assignee: Gregg Tanzillo
QA Contact: Nikhil Dhandre
URL:
Whiteboard:
Depends On:
Blocks: 1511135
TreeView+ depends on / blocked
 
Reported: 2017-08-11 23:57 UTC by Jerome Marc
Modified: 2018-04-24 08:55 UTC (History)
10 users (show)

Fixed In Version: 5.9.0.3
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1511135 (view as bug list)
Environment:
Last Closed: 2018-03-06 14:49:59 UTC
Category: Bug
Cloudforms Team: CFME Core
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Optimaize Utilization showing only one provider (130.07 KB, image/png)
2017-08-11 23:57 UTC, Jerome Marc
no flags Details

Description Jerome Marc 2017-08-11 23:57:18 UTC
Created attachment 1312335 [details]
Optimaize Utilization showing only one provider

Description of problem:
The tree under 'Optimize > Utilization' only shows one provider in an environment with many providers configured. e.g. in the attached example, RHV provider is the only one showing in the tree, while this environment has VMware, HyperV, and OpenStack configured.

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

How reproducible:
Always

Steps to Reproduce:
1. Have multiple providers configured
2. Navigate to 'Optimize > Utilization'
3. Check the tree for your providers

Actual results:
Only one provider is displayed in the tree.

Expected results:
All providers should be present in the tree.

Additional info:
Storage displays all back-end storage (across all providers).

Comment 3 Dave Johnson 2017-08-16 20:28:18 UTC
Please assess the impact of this issue and update the severity accordingly.  Please refer to https://bugzilla.redhat.com/page.cgi?id=fields.html#bug_severity for a reminder on each severity's definition.

If it's something like a tracker bug where it doesn't matter, please set it to Low/Low.

Comment 6 CFME Bot 2017-10-13 13:51:37 UTC
New commit detected on ManageIQ/manageiq/master:
https://github.com/ManageIQ/manageiq/commit/cb3cb72d336ade55203056436cdb7a0850d9807a

commit cb3cb72d336ade55203056436cdb7a0850d9807a
Author:     Gregg Tanzillo <gtanzill>
AuthorDate: Wed Oct 11 17:17:18 2017 -0400
Commit:     Gregg Tanzillo <gtanzill>
CommitDate: Fri Oct 13 06:58:21 2017 -0400

    Ensure that `base_class` of first target is used for RBAC scope
    
    When targets are passed and the instances are of different subclasses through STI, the base class needs
    to be used for building the scope to prevent ActiveRecord from also scoping to the subclass and limiting
    the results to only instances of that class.
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1480812
    https://bugzilla.redhat.com/show_bug.cgi?id=1467756

 lib/rbac/filterer.rb           |  5 +++++
 spec/lib/rbac/filterer_spec.rb | 43 +++++++++++++++++++++++++++++++++++++++++-
 2 files changed, 47 insertions(+), 1 deletion(-)


Note You need to log in before you can comment on or make changes to this bug.