[Openstack] Quotas for nonexistent projects
    Alessio Ababilov 
    aababilov at griddynamics.com
       
    Mon Jul 25 11:19:06 UTC 2011
    
    
  
Hi!
I have noticed that project quotas in nova could be stored and retrieved 
even if the project doesn't exist. Indeed, nova database has no 
restrictions, and the quotas' table could store quotas for projects with 
arbitrary names even if there are no such projects in the projects' table.
Is it a bug or a feature?
For example, let us see quotas for nonexistent "fgh" project, set 
"cores" quota, verify that it is stored, and check that there is still 
no "fgh" project.
# nova-manage project quota fgh
metadata_items: 128
instances: 10
injected_file_content_bytes: 10240
injected_files: 5
volumes: 10
gigabytes: 1000
cores: 20
ram: 51200
floating_ips: 10
# nova-manage project quota fgh cores 16
metadata_items: 128
instances: 10
injected_file_content_bytes: 10240
injected_files: 5
volumes: 10
gigabytes: 1000
cores: 16
ram: 51200
floating_ips: 10
# nova-manage project quota fgh
metadata_items: 128
instances: 10
injected_file_content_bytes: 10240
injected_files: 5
volumes: 10
gigabytes: 1000
cores: 16
ram: 51200
floating_ips: 10
# nova-manage project list
1234
aproject
-- 
Alessio Ababilov
Software Engineer
Grid Dynamics
    
    
More information about the Openstack
mailing list