limit storage usage based on type

asked 2014-03-15 22:11:20 -0600

senyapsudah gravatar image

I know openstack can be attaced with multiple storage, so let say if i have two type of storage which is normal disk and ssd. Can i limit how many gb of ssd storage and how many gb of normal storage to a specific tennant? If yes, any special step need to be done? Cause in some scenario we might not not want specific tennant to access ssd storage. Please advise

edit retag flag offensive close merge delete



I believe the best description for my question is how can i set quota for specific volume type

senyapsudah gravatar imagesenyapsudah ( 2014-03-16 09:03:27 -0600 )edit

2 answers

Sort by ยป oldest newest most voted

answered 2014-03-17 08:44:44 -0600

SamYaple gravatar image

I ran accross this issue as well.

The seperate types came out first in Grizzly. I didn't start using them until Havana since they broke cinder for me in grizzly.

After digging in I found that the scheduler driver would have to be modified to take into account the different type. But more than that, different quotas would have to be implemented. Currently there is a global cinder quota that gets taken into account, it would need additional quotas for the various types. Since there would be an unknown number of types, these would have to be dynamically taken into account.

That project is an undertaking. We have it on our "todo list", but it is near the bottom.

I follow Icehouse pretty closely and haven't noticed this feature implemented there either. To be fair, though, I haven't looked for this exact feature for about 3 months.

Short answer is, these quotas do not currently exist.

edit flag offensive delete link more

answered 2014-05-01 22:38:59 -0600

parash_hallur gravatar image

Please see my question -

Quota GB limits are populated for each volume type, however they are getting populated with the default value of -1. I think I have started seeing these attributes/limits in icehouse. I'm also looking at getting the maximum size which can be utilized for a volume type and have not found anything concrete yet.

Today each drivers queries volume stats to backend device to know the available space of the storage pool to which the volume type is mapped to, if this could be set as defualt limit then that would give us/me what we are looking for.

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools



Asked: 2014-03-15 22:11:20 -0600

Seen: 267 times

Last updated: May 01 '14