Used Quotas are Incorrect

Asked by Stephen on 2013-01-18

I am not able to boot images to the demo user. I am getting the following error:

Error: Quota exceeded for instances: Requested 1, but already used 10 of 10 instances (HTTP 413) (Request-ID: req-234b035b-d5a2-4837-9c13-b558449f4f88)

There are no instances in existence as shown by:

root@irad-controller:/home/irad-controller# nova list --all-tenants

root@irad-controller:/home/irad-controller#

What would cause the system to think the user is running more instances than they actually are?

Thank you for your help!

Question information

Language:
English Edit question
Status:
Answered
For:
OpenStack Compute (nova) Edit question
Assignee:
No assignee Edit question
Last query:
2013-01-18
Last reply:
2013-01-19
Keith Tobin (keith-tobin) said : #1

From the logs you posted I see that you have reached the max instances allowed under the tenant quota for that tenant. I also noted that you do not see any instances running for that tenant. I think the reason for this is, the DB probably has faulty info from previous instances that failed to launch, did you have instances that failed to launch or delete?

To get around what I think the problem is, you can increase the instances quotas for the tenant, here is a link that can help show how to do this

http://www.sebastien-han.fr/blog/2012/09/19/openstack-play-with-quota/

The info in the link is dependant on version and having horizon installed, you can do it also with command line or edit the DB.

Set it to 20, currently it is set to 10.

You should be able to launch instance.

Please let me know how you get on.

.

Can you help with this problem?

Provide an answer of your own, or ask Stephen for more information if necessary.

To post a message you must log in.