A new private type cannot be used or seen by all users

Bug #1474008 reported by Yogev Rabl
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Cinder
Invalid
Undecided
Unassigned

Bug Description

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> ...

Changed in cinder:
assignee: nobody → Deepti Ramakrishna (dramakri)
Eric Harney (eharney)
Changed in cinder:
assignee: Deepti Ramakrishna (dramakri) → nobody
Revision history for this message
Lisa Li (lisali) wrote :

The problem is fixed in current master branch.
commit 231b4a4826e5f0d7012cff96e23deec879aa75dc

cinder type-create --is-public false private

$ cinder type-list
+--------------------------------------+-------------+-------------+-----------+
| ID | Name | Description | Is_Public |
+--------------------------------------+-------------+-------------+-----------+
| 29953494-01ae-463c-8759-a34f6c2c1de4 | lvmdriver-2 | - | False |
| d984f17f-0be1-42fa-afc8-5f7e10b39447 | private | - | False |
| f5d4b8b4-0928-4877-84e9-1f3be74d32b1 | LUKS2 | | False |
+--------------------------------------+-------------+-------------+-----------+

And can create volumes with the private type.

Revision history for this message
Karthik Prabhu Vinod (karthik-prabhu-vinod) wrote :

Hi All,

This is not reproducible for me as well. I was able to view private types from admin user and unable to list them from the demo user.
The cinder type-list is working as desired.

Regards,
Karthik Prabhu

Changed in cinder:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.