Default volume type used in Create Volume dialog even when the user doesn't have access to it

Bug #1829527 reported by Radomir Dopieralski
6
This bug affects 1 person
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

Revision history for this message
Akihiro Motoki (amotoki) wrote :

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.
http://paste.openstack.org/show/751672/

Changed in horizon:
status: New → Incomplete
Revision history for this message
Ivan Kolodyazhny (e0ne) wrote :

It's a configuration issue. Default volume type is supposed to be a public

Revision history for this message
Radomir Dopieralski (deshipu) wrote :

Thank you!

Changed in horizon:
status: Incomplete → 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.