A new private type cannot be used or seen by all users
| 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-
openstack-
python-
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) |
| Changed in cinder: | |
| assignee: | Deepti Ramakrishna (dramakri) → nobody |
| Changed in cinder: | |
| status: | New → Invalid |

The problem is fixed in current master branch. 7012cff96e23dee c879aa75dc
commit 231b4a4826e5f0d
cinder type-create --is-public false private
$ cinder type-list ------- ------- ------- ------- ----+-- ------- ----+-- ------- ----+-- ------- --+ ------- ------- ------- ------- ----+-- ------- ----+-- ------- ----+-- ------- --+ 01ae-463c- 8759-a34f6c2c1d e4 | lvmdriver-2 | - | False | 0be1-42fa- afc8-5f7e10b394 47 | private | - | False | 0928-4877- 84e9-1f3be74d32 b1 | LUKS2 | | False | ------- ------- ------- ------- ----+-- ------- ----+-- ------- ----+-- ------- --+
+------
| ID | Name | Description | Is_Public |
+------
| 29953494-
| d984f17f-
| f5d4b8b4-
+------
And can create volumes with the private type.