<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>Hi,<br><br>When I try to create a big hadoop cluster (21 nodes), sometimes I am getting this error: <br><br>2013-12-05 12:17:57.920 29553 ERROR savanna.context [-] Thread 'cluster-creating-8d093d9b-c675-4222-b53a-3319d54bc61f' fails with exception: 'This request was rate-limited. (HTTP 413)'<br>2013-12-05 12:17:57.920 29553 TRACE savanna.context Traceback (most recent call last):<br>2013-12-05 12:17:57.920 29553 TRACE savanna.context File "/root/savanna/savanna/context.py", line 128, in wrapper<br>2013-12-05 12:17:57.920 29553 TRACE savanna.context func(*args, **kwargs)<br>2013-12-05 12:17:57.920 29553 TRACE savanna.context File "/root/savanna/savanna/service/api.py", line 123, in _provision_cluster<br>2013-12-05 12:17:57.920 29553 TRACE savanna.context i.create_cluster(cluster)<br>2013-12-05 12:17:57.920 29553 TRACE savanna.context File "/root/savanna/savanna/service/instances.py", line 56, in create_cluster<br>2013-12-05 12:17:57.920 29553 TRACE savanna.context _rollback_cluster_creation(cluster, ex)<br>2013-12-05 12:17:57.920 29553 TRACE savanna.context File "/usr/lib64/python2.6/contextlib.py", line 23, in __exit__<br>2013-12-05 12:17:57.920 29553 TRACE savanna.context self.gen.next()<br>2013-12-05 12:17:57.920 29553 TRACE savanna.context File "/root/savanna/savanna/service/instances.py", line 36, in create_cluster<br>2013-12-05 12:17:57.920 29553 TRACE savanna.context _create_instances(cluster)<br>2013-12-05 12:17:57.920 29553 TRACE savanna.context File "/root/savanna/savanna/service/instances.py", line 111, in _create_instances<br>2013-12-05 12:17:57.920 29553 TRACE savanna.context _run_instance(cluster, node_group, idx, aa_groups, userdata)<br>2013-12-05 12:17:57.920 29553 TRACE savanna.context File "/root/savanna/savanna/service/instances.py", line 173, in _run_instance<br>2013-12-05 12:17:57.920 29553 TRACE savanna.context key_name=cluster.user_keypair_id)<br>2013-12-05 12:17:57.920 29553 TRACE savanna.context File "/root/savanna/.tox/venv/lib/python2.6/site-packages/novaclient/v1_1/servers.py", line 658, in create<br>2013-12-05 12:17:57.920 29553 TRACE savanna.context **boot_kwargs)<br>2013-12-05 12:17:57.920 29553 TRACE savanna.context File "/root/savanna/.tox/venv/lib/python2.6/site-packages/novaclient/base.py", line 402, in _boot<br>2013-12-05 12:17:57.920 29553 TRACE savanna.context return_raw=return_raw, **kwargs)<br>2013-12-05 12:17:57.920 29553 TRACE savanna.context File "/root/savanna/.tox/venv/lib/python2.6/site-packages/novaclient/base.py", line 145, in _create<br>2013-12-05 12:17:57.920 29553 TRACE savanna.context _resp, body = self.api.client.post(url, body=body)<br>2013-12-05 12:17:57.920 29553 TRACE savanna.context File "/root/savanna/.tox/venv/lib/python2.6/site-packages/novaclient/client.py", line 232, in post<br>2013-12-05 12:17:57.920 29553 TRACE savanna.context return self._cs_request(url, 'POST', **kwargs)<br>2013-12-05 12:17:57.920 29553 TRACE savanna.context File "/root/savanna/.tox/venv/lib/python2.6/site-packages/novaclient/client.py", line 213, in _cs_request<br>2013-12-05 12:17:57.920 29553 TRACE savanna.context **kwargs)<br>2013-12-05 12:17:57.920 29553 TRACE savanna.context File "/root/savanna/.tox/venv/lib/python2.6/site-packages/novaclient/client.py", line 195, in _time_request<br>2013-12-05 12:17:57.920 29553 TRACE savanna.context resp, body = self.request(url, method, **kwargs)<br>2013-12-05 12:17:57.920 29553 TRACE savanna.context File "/root/savanna/.tox/venv/lib/python2.6/site-packages/novaclient/client.py", line 189, in request<br>2013-12-05 12:17:57.920 29553 TRACE savanna.context raise exceptions.from_response(resp, body, url, method)<br>2013-12-05 12:17:57.920 29553 TRACE savanna.context OverLimit: This request was rate-limited. (HTTP 413)<br>2013-12-05 12:17:57.920 29553 TRACE savanna.context <br><br>How I can prevent this to happen? Any help will be highly appreciated.<br><br>Regards,<br><br>Arindam<br> </div></body>
</html>