Bug 1293373

Summary: In a tenant you are unable to see your parent's templates
Product: Red Hat CloudForms Management Engine Reporter: Chris Pelland <cpelland>
Component: ApplianceAssignee: Gregg Tanzillo <gtanzill>
Status: CLOSED ERRATA QA Contact: Pavol Kotvan <pakotvan>
Severity: high Docs Contact:
Priority: high    
Version: 5.5.0CC: abellott, bascar, cpelland, dajohnso, gtanzill, jhardy, jprause, kmorey, lpichler, mberube, nachandr, obarenbo
Target Milestone: GAKeywords: ZStream
Target Release: 5.5.2   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 5.5.2.1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1292285 Environment:
Last Closed: 2016-02-10 15:29:49 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1292285    
Bug Blocks:    
Attachments:
Description Flags
Hot Fix none

Comment 2 Gregg Tanzillo 2016-01-08 16:57:51 UTC
Awaiting a second MR

Comment 4 Gregg Tanzillo 2016-01-08 20:49:58 UTC
Created attachment 1112990 [details]
Hot Fix

Here is the requested hot fix. To deploy, please follow these steps:

1. Copy the attached bz-1293373-tenant-vm-templates.tar to /var/www/miq/vmdb on the appliance.
2. cd to /var/www/miq/vmdb and unpack the tar file
cd /var/www/miq/vmdb
tar -xvf bz-1293373-tenant-vm-templates.tar
3. Restart EVM

Comment 5 CFME Bot 2016-01-08 21:04:22 UTC
New commit detected on cfme/5.5.z:
https://code.engineering.redhat.com/gerrit/gitweb?p=cfme.git;a=commitdiff;h=e1099090cdd8d9ff00dc6b7ec3c4deaae8ebabea

commit e1099090cdd8d9ff00dc6b7ec3c4deaae8ebabea
Merge: c6a5fc8 aca08a1
Author:     Gregg Tanzillo <gtanzill>
AuthorDate: Fri Jan 8 15:31:04 2016 -0500
Commit:     Gregg Tanzillo <gtanzill>
CommitDate: Fri Jan 8 15:31:04 2016 -0500

    Merge branch 'bz-1292285-addition' into '5.5.z'
    
    Fix condition in to avoid sql 'ambigious' error of tenant_id
    
    (cherry picked from commit c4bee2618950ebf140b8e14a32d73a17198c1e26)
    
    clean cherry pick from https://github.com/ManageIQ/manageiq/pull/6083
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1293373
    
    (part of gitlab.cloudforms.lab.eng.rdu2.redhat.com/cloudforms/cfme/merge_requests/676)
    
    See merge request !689

 app/models/vm_or_template.rb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Comment 9 errata-xmlrpc 2016-02-10 15:29:49 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:0159