Bug 1598520 - openStack public tenant image visibility
Summary: openStack public tenant image visibility
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Providers
Version: 5.8.0
Hardware: Unspecified
OS: Unspecified
medium
high
Target Milestone: GA
: 5.9.7
Assignee: Alexander Demicev
QA Contact: Ido Ovadia
URL:
Whiteboard:
: 1566884 (view as bug list)
Depends On: 1524368
Blocks: 1578510 1622587 1658378
TreeView+ depends on / blocked
 
Reported: 2018-07-05 17:28 UTC by Satoe Imaishi
Modified: 2021-12-10 16:33 UTC (History)
19 users (show)

Fixed In Version: 5.9.7.1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1524368
Environment:
5.8
Last Closed: 2019-01-23 14:35:55 UTC
Category: ---
Cloudforms Team: Openstack
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2019:0110 0 None None None 2019-01-23 14:36:05 UTC

Comment 2 CFME Bot 2018-07-06 14:02:24 UTC
New commit detected on ManageIQ/manageiq/gaprindashvili:

https://github.com/ManageIQ/manageiq/commit/3f9e0e78e3f84f81a990862224e46002c62c52fe
commit 3f9e0e78e3f84f81a990862224e46002c62c52fe
Author:     Gregg Tanzillo <gtanzill>
AuthorDate: Tue Jul  3 05:16:55 2018 -0400
Commit:     Gregg Tanzillo <gtanzill>
CommitDate: Tue Jul  3 05:16:55 2018 -0400

    Merge pull request #17058 from alexander-demichev/public-images-tenants

    Make all public images be visible for provisioning.
    (cherry picked from commit 178f498dd0a4e62e2d80c100504b55bf347ebc22)

    Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1598520

 app/models/manageiq/providers/cloud_manager/template.rb | 7 +
 spec/lib/rbac/filterer_spec.rb | 32 +
 spec/models/manageiq/providers/cloud_manager/template_spec.rb | 33 +-
 3 files changed, 67 insertions(+), 5 deletions(-)

Comment 4 Jad Haj Yahya 2018-07-19 10:57:53 UTC
Only private Image appears on Tenenat1 summary page but still missing on Tenant1 (All Images) page along with public images

Comment 11 Alexander Demicev 2018-08-23 12:55:16 UTC
*** Bug 1566884 has been marked as a duplicate of this bug. ***

Comment 13 Satoe Imaishi 2018-10-11 20:44:09 UTC
Backported to Gaprindashvili branch:

$ git log -1
commit 119d2691ca63f5730e7f7cfa37b8b7c029e7fa2a
Author: Gregg Tanzillo <gtanzill>
Date:   Wed Oct 10 14:08:21 2018 -0400

    Merge pull request #17851 from alexander-demichev/named-scopes-templates
    
    Add tenant filtering for templates in provisioning and summary pages
    
    (cherry picked from commit 142a184d4619fd9d3ecebb6cff71ccd13667832e)

Comment 15 Ido Ovadia 2018-10-18 15:44:54 UTC
Failed QA
=========
CFME 5.9.5.2

Comment 28 CFME Bot 2018-12-19 17:50:48 UTC
New commit detected on ManageIQ/manageiq/gaprindashvili:

https://github.com/ManageIQ/manageiq/commit/e5fbfd56031042d6de457d83cbe7ce5c2c0539f5
commit e5fbfd56031042d6de457d83cbe7ce5c2c0539f5
Author:     Gregg Tanzillo <gtanzill>
AuthorDate: Tue Dec 18 11:58:25 2018 -0500
Commit:     Gregg Tanzillo <gtanzill>
CommitDate: Tue Dec 18 11:58:25 2018 -0500

    Merge pull request #18128 from alexander-demichev/fix-rbac-for-templates

    Fix RBAC call for templates and vms

    (cherry picked from commit cd982a488b48a189e4aabf2f1a21ae7007dda5fb)

    https://bugzilla.redhat.com/show_bug.cgi?id=1598520

 app/models/manageiq/providers/cloud_manager/template.rb | 11 -
 app/models/vm_or_template.rb | 16 +-
 spec/factories/vm_or_template.rb | 4 +
 spec/lib/rbac/filterer_spec.rb | 74 +-
 spec/models/manageiq/providers/cloud_manager/template_spec.rb | 28 -
 spec/models/manageiq/providers/cloud_manager/vm_or_template_spec.rb | 28 +
 spec/models/mixins/cloud_tenancy_mixin_spec.rb | 2 +-
 7 files changed, 105 insertions(+), 58 deletions(-)

Comment 29 Jad Haj Yahya 2019-01-09 13:14:08 UTC
Verified on 5.9.7.1

Comment 31 errata-xmlrpc 2019-01-23 14:35:55 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:0110


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