Check for the max files in nova boot command fails
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Invalid
|
Low
|
Unassigned |
Bug Description
I tried to create a nova server injecting 7 files, when i checked the max number of files allowed for that Tenant through nova absolute-limits is 6.
Ideally i guess it should throw an error saying the limit got exceeded
nova --version 2.18.1.32
steps i followed
1) nova boot --flavor m1.tiny --image c60462a7-
Server got created
2) nova absolute-limits
+------
| Name | Value |
+------
| maxServerMeta | 128 |
| maxPersonality | 6 |
| maxImageMeta | 128 |
| maxPersonalitySize | 10240 |
| maxTotalRAMSize | 51200 |
| maxSecurityGrou
| maxTotalKeypairs | 100 |
| totalRAMUsed | 4736 |
| maxSecurityGroups | 10 |
| totalFloatingIp
| totalInstancesUsed | 10 |
| totalSecurityGr
| maxTotalFloatingIps | 10 |
| maxTotalInstances | 15 |
| totalCoresUsed | 10 |
| maxTotalCores | 20 |
+------
i even checked the limits for nova quota-class-show for the tenant 'demo' i am working on.
3) nova quota-class-show demo
+------
| Quota | Limit |
+------
| instances | 10 |
| cores | 20 |
| ram | 51200 |
| floating_ips | 10 |
| fixed_ips | -1 |
| metadata_items | 128 |
| injected_files | 5 |
| injected_
| injected_
| key_pairs | 100 |
| security_groups | 10 |
| security_
+------
summary: |
- Check for the max personality files fails + Check for the max files in nova boot command fails |
Changed in nova: | |
assignee: | nobody → Vladislav Belogrudov (vlad-belogrudov) |
tags: | added: quotas |
Have you tried using the command line? I got this error, which is not what you got, but is related.
$ nova boot --image cirros- 0.3.2-x86_ 64-uec --flavor m1.tiny --file /tmp/openrc= /home/thang/ git/devstack/ openrc test1
ERROR (TypeError): __init__() got an unexpected keyword argument 'retry_after'