Disk Quota for Projects

asked 2013-12-11 10:38:16 -0600

vahid gravatar image

updated 2013-12-11 10:50:40 -0600


I remember in Folsom calling Nova API "os-quota-sets" to get a project's quota would return a "gigabytes" field that indicated the local storage (not block storage) quota for the project. However, starting in Grizzly I no longer see that field; even though in Horizon I still see a "Gigabytes" field under Edit Project screen's Quota tab.

Here's a response example from Havana (v2):

       "injected_file_content_bytes": 10240,
       "metadata_items": 128,
       "ram": 51200,
       "floating_ips": 10,
       "key_pairs": 100,
       "id": "200c0ea64aa0414985f290763feeff00",
       "instances": 10,
       "security_group_rules": 20,
       "injected_files": 5,
       "cores": 20,
       "fixed_ips": -1,
       "injected_file_path_bytes": 255,
       "security_groups": 10

Does anyone know why I see this inconsistency? And if there is another way of retrieving the "gigabytes" value from the APIs?


edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2013-12-11 11:18:54 -0600

jtopjian gravatar image


The "gigabytes" quota has been moved to Cinder starting with Grizzly. This one threw me for a loop, too, when I upgraded from Folsom.

Horizon is querying both Nova and Cinder behind the scenes and then compiling all quota fields for the output. You can see the Cinder portion here:


If I remember correctly, gigabytes was always for block storage and not local/instance storage. With Folsom, Nova was still handling this quota, but it was just doing it on behalf of Cinder. Please correct me if I'm wrong.

As far as I'm aware, there's currently no quota in Nova for local/instance storage.

Hope that helps,


edit flag offensive delete link more


Hi Joe, Thanks for clearing that out. It makes sense now. Do you happen to know why no quota setting has been designed for local storage?

vahid gravatar imagevahid ( 2013-12-11 11:50:20 -0600 )edit

I'm not exactly sure... sorry :/

jtopjian gravatar imagejtopjian ( 2013-12-11 12:38:36 -0600 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2013-12-11 10:38:16 -0600

Seen: 763 times

Last updated: Dec 11 '13