Bug 984595

Summary: [RFE] allow adding specific tenants as members to an image
Product: Red Hat OpenStack Reporter: Dafna Ron <dron>
Component: python-django-horizonAssignee: Julie Pichon <jpichon>
Status: CLOSED UPSTREAM QA Contact: Ami Jeain <ajeain>
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: aortega, athomas, jpichon, mrunge, oblaut, yeylon
Target Milestone: ---Keywords: FutureFeature, Triaged
Target Release: 9.0 (Mitaka)   
Hardware: x86_64   
OS: Linux   
URL: https://blueprints.launchpad.net/horizon/+spec/glance-image-member-management
Whiteboard: storage upstream_milestone_next upstream_status_good-progress upstream_definition_superseded
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-10-14 11:30:44 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:

Description Dafna Ron 2013-07-15 14:07:34 UTC
Description of problem:

when creating an image we can either create it under a specific tenant (using login with the admin user) or a public one. 
in the CLI we can add a specific tenant to a specific image using glance: 

root@opens-vdsb ~(keystone_admin)]# glance member-list --image-id 169243de-e5a0-4fd8-9e5c-d7af549453eb
+--------------------------------------+-----------+-----------+
| Image ID                             | Member ID | Can Share |
+--------------------------------------+-----------+-----------+
| 169243de-e5a0-4fd8-9e5c-d7af549453eb | dron      |           |
| 169243de-e5a0-4fd8-9e5c-d7af549453eb | new_ten   |           |
+--------------------------------------+-----------+-----------+


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

python-django-horizon-2013.1.2-1.el6ost.noarch

How reproducible:

100%

Steps to Reproduce:
1. create an image and do not select the public tag 
2. go to cli and run glance member-create <image uuid> <tenant_name> 
3.

Actual results:

we cannot create an image with specific tenants or edit it to add a specific tenant but we can do that from cli

Expected results:

we should be able to add a specific tenant from cli

Additional info: