Ask Your Question
0

Attachment producing overlimit errors

asked 2013-04-03 01:26:57 -0500

terry-gong gravatar image

I have a python test program to make many attachment requests. Out of 100 attachment requests only 20 produced no errors. The remaining 80 is returning the following error:

OverLimit: This request was rate-limited (HTTP 413)

Could someone please explained the request limitation? How many requests can one submit within a short time period? What is the best practice in submitting the requests? Should there be wait between each requests? How does one check to see if the request actually made the attachment?

The requests are submitted programmatically directly to the python nova client API's. The API that I am using is novaclient.v1_1.volumes.create_server_volume

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
0

answered 2013-04-04 03:11:15 -0500

lauria gravatar image

Please use the following link to learn about limits (both Rate and Absolute ones): http://docs.openstack.org/trunk/openstack-compute/developer/openstack-compute-api-1.1/content/ch03s09.html (http://docs.openstack.org/trunk/opens...)

In the doc (section 3.9.3), you will also find how to query the limits for your account. The results will guide you on how to best submit your requests.

edit flag offensive delete link more
0

answered 2013-04-04 19:06:30 -0500

terry-gong gravatar image

Thanks Giampaolo Lauria, that solved my question.

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-04-03 01:26:57 -0500

Seen: 87 times

Last updated: Apr 04 '13