Ask Your Question
1

Used Quotas are Incorrect

asked 2013-01-18 17:28:46 -0600

stephen-kahmann gravatar image

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!

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
1

answered 2013-01-19 20:26:10 -0600

keith-tobin gravatar image

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/ (http://www.sebastien-han.fr/blog/2012...)

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.

.

edit flag offensive delete link more
0

answered 2017-03-28 11:51:25 -0600

tiger gravatar image

updated 2017-03-28 11:51:50 -0600

For what it's worth, I see this error. I have had a lot of errors in launching instances, and they apparently get into some state where they neither show up in the GUI nor are they deleted in the database table nova.instances. I have 11 rows in the latter.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2013-01-18 17:28:46 -0600

Seen: 784 times

Last updated: Mar 28 '17