Bug 1242530

Summary: A new private type cannot be used or seen by all users
Product: Red Hat OpenStack Reporter: Yogev Rabl <yrabl>
Component: python-cinderclientAssignee: Eric Harney <eharney>
Status: CLOSED UPSTREAM QA Contact: nlevinki <nlevinki>
Severity: medium Docs Contact:
Priority: high    
Version: DirectorCC: eharney, jruzicka, sgotliv, yeylon
Target Milestone: ---   
Target Release: 8.0 (Liberty)   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-10-21 06:03:41 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 Yogev Rabl 2015-07-13 13:53:19 UTC
Description of problem:
A private type is created with the command 
# cinder type-create --is-public false ... 
once the type has been created there's no access to it and it is not visible to all users (including admin), with no way to get it's UUID.

Version-Release number of selected component (if applicable):
python-cinder-2015.1.0-3.el7ost.noarch
openstack-cinder-2015.1.0-3.el7ost.noarch
python-cinderclient-1.2.1-1.el7ost.noarch

How reproducible:
100%

Steps to Reproduce:
1. Create a private volume type

Actual results:
The type isn't accessible by any user

Expected results:
1) a default project has access to all volume-types 
2) in the type creation there's a flag that sets the access list of the type, for an example:
# cinder type-create --is-public false tenant-id=<tenant uuid> ...