Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Disk Quota for Projects

Hi,

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):

{
   "quota_set":
   {
       "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?

Thanks.

Disk Quota for Projects

Hi,

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):

{
   "quota_set":
   {
       "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?

Thanks.