Default volume type used in Create Volume dialog even when the user doesn't have access to it
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Dashboard (Horizon) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
When the volume type configured as default in Cinder is non-public, some users will not have access to it. However, it will still be displayed as the selected option on the Create Volume dialog, and probably because it's not one of the valid choices, it will be impossible to change it then.
Steps to reproduce:
login as admin,
create a new public volume type named "testing", so that there are two volume types available,
set the default iscsi volume type to non-public,
modify the quotas for the demo user to be able to create volumes,
logout and login as demo,
try to create a new volume,
observe that the "Type" field has "iscsi" as the default, but when clicked, only shows "testing" volume type, which then can't be selected
I am not sure this is a horizon bug or a configuration issue.
According to my test, cinder assumes the default type should be accessible from anyone. paste.openstack .org/show/ 751672/
http://