Attachment producing overlimit errors

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

2 answers

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.