[Openstack] overLimitFault error

2012-09-19 Thread Lucian Thomaz
Hey guys,
I was doing some test and I got the following error:
http://docs.openstack.org/compute/api/v1.1";>This request was 
rate-limited.Only 10 POST request(s) can be made to * every 
minute.
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


Re: [Openstack] overLimitFault error

2012-09-19 Thread Everett Toews
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, "*", .*, , MINUTE);(POST, "*/servers", ^/servers, , 
DAY);(PUT, "*", .*, , MINUTE);(GET, "*changes-since*", .*changes-since.*, 
, MINUTE);(DELETE, "*", .*, , MINUTE)

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

Everett


From: Lucian Thomaz mailto:luciantho...@hotmail.com>>
Date: Wednesday, September 19, 2012 8:33 AM
To: "openstack@lists.launchpad.net<mailto: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:

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

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


Re: [Openstack] overLimitFault error

2012-09-19 Thread George Mihaiescu
Hi Lucian,

Check the following doc that describes how to adjust the API limits:

 

http://docs.openstack.org/trunk/openstack-compute/admin/content/configuring-compute-API.html

 

George

 

 



From: openstack-bounces+george.mihaiescu=q9@lists.launchpad.net 
[mailto:openstack-bounces+george.mihaiescu=q9@lists.launchpad.net] On 
Behalf Of Lucian Thomaz
Sent: Wednesday, September 19, 2012 9:34 AM
To: openstack@lists.launchpad.net
Subject: [Openstack] overLimitFault error

 

Hey guys,

 

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

 

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

 

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