In your /etc/nova/api-paste.ini find the following

[filter:ratelimit]
paste.filter_factory = 
nova.api.openstack.compute.limits:RateLimitingMiddleware.factory

Immediately after those lines add the following

limits=(POST, "*", .*, 9999, MINUTE);(POST, "*/servers", ^/servers, 9999, 
DAY);(PUT, "*", .*, 9999, MINUTE);(GET, "*changes-since*", .*changes-since.*, 
9999, MINUTE);(DELETE, "*", .*, 9999, MINUTE)

Restart your nova-api server(s). Change the 9999 to whatever values work best 
for you.

Everett


From: Lucian Thomaz <luciantho...@hotmail.com<mailto:luciantho...@hotmail.com>>
Date: Wednesday, September 19, 2012 8:33 AM
To: "openstack@lists.launchpad.net<mailto:openstack@lists.launchpad.net>" 
<openstack@lists.launchpad.net<mailto:openstack@lists.launchpad.net>>
Subject: [Openstack] overLimitFault error

Hey guys,

I was doing some test and I got the following error:

<overLimitFault code="413" 
xmlns="http://docs.openstack.org/compute/api/v1.1";><message>This request was 
rate-limited.</message><details>Only 10 POST request(s) can be made to * every 
minute.</details></overLimitFault>

It seems related to a limit of POST in a * minute. How can I change this 
configuration?

Thanks in advance.


Lucian Thomaz
_______________________________________________
Mailing list: https://launchpad.net/~openstack
Post to     : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp

Reply via email to