Bug 1304785 - filters based on group tag do not give visibility to vms
Summary: filters based on group tag do not give visibility to vms
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: UI - OPS
Version: 5.5.0
Hardware: All
OS: All
high
high
Target Milestone: GA
: 5.5.3
Assignee: Libor Pichler
QA Contact: Aziza Karol
URL:
Whiteboard:
Depends On: 1300809
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-02-04 15:42 UTC by Chris Pelland
Modified: 2019-10-10 11:06 UTC (History)
12 users (show)

Fixed In Version: 5.5.3.2
Doc Type: Bug Fix
Doc Text:
In the previous version of CloudForms Management Engine, filtering the list of virtual machines by their hosts did not work if the virtual machines also had group tags. This bug was fixed by correcting the filtering code to handle group tags correctly. Virtual machines with group tags can be filtered as expected in the new version of CloudForms Management Engine.
Clone Of: 1300809
Environment:
Last Closed: 2016-04-13 18:42:47 UTC
Category: ---
Cloudforms Team: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2016:0616 0 normal SHIPPED_LIVE CFME 5.5.3 bug fixes and enhancement update 2016-04-13 22:38:44 UTC

Comment 4 CFME Bot 2016-02-25 15:52:53 UTC
New commit detected on cfme/5.5.z:
https://code.engineering.redhat.com/gerrit/gitweb?p=cfme.git;a=commitdiff;h=02e1c8ce26b7f3343a8cf5c4ab2c4fcbe31f0db7

commit 02e1c8ce26b7f3343a8cf5c4ab2c4fcbe31f0db7
Merge: 4dff6f6 7522084
Author:     Joe Rafaniello <jrafanie>
AuthorDate: Thu Feb 25 10:25:55 2016 -0500
Commit:     Joe Rafaniello <jrafanie>
CommitDate: Thu Feb 25 10:25:55 2016 -0500

    Merge branch 'bz_1304785' into '5.5.z'
    
    List VMs or Templates when filter for host is assigned
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1304785
    
    https://github.com/ManageIQ/manageiq/pull/6639
    
    clean cherry-pick, except to specs:
    added `require "spec_helper"` to `spec/models/miq_filter_spec.rb:1`
    
    and
    
    added
    ```let(:group) { FactoryGirl.create(:miq_group) }
    let(:user)  { FactoryGirl.create(:user, :miq_groups => [group]) }
         ```
    to `spec/models/rbac_spec.rb:239`
    
    See merge request !805

 app/models/miq_filter.rb       | 17 +++++++++----
 app/models/rbac.rb             |  4 ++++
 spec/models/miq_filter_spec.rb | 54 ++++++++++++++++++++++++++++++++++++++++++
 spec/models/rbac_spec.rb       | 24 ++++++++++++++++++-
 4 files changed, 93 insertions(+), 6 deletions(-)

Comment 7 Aziza Karol 2016-03-31 10:06:28 UTC
VMs listed when filter for host is assigned.

Verified:5.5.3.2.20160318152106_92d2d67

Comment 10 errata-xmlrpc 2016-04-13 18:42:47 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-2016:0616


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