Error during Cloudfoundry deployment on Openstack

318 views
Skip to first unread message

animesh nandanwar

unread,
Sep 14, 2012, 5:34:14 PM9/14/12
to bosh-...@cloudfoundry.org
Hi All,
I have a micro bosh deployed and I am trying to deploy Cloudfoundry over it. 
During deployment, I get the following error. Please help!!

Error 100: Expected([200, 202]) <=> Actual(413 Request Entity Too Large)
  request => {:connect_timeout=>60, :headers=>{"Content-Type"=>"application/json", "X-Auth-Token"=>"ed3fbc339f534edc80ae343fe995181f", "Host"=>"192.168.150.95:8774", "Content-Length"=>372}, :instrumentor_name=>"excon", :mock=>false, :nonblock=>true, :read_timeout=>60, :retry_limit=>4, :ssl_ca_file=>"/var/vcap/packages/director/bosh/director/vendor/bundle/ruby/1.9.1/gems/excon-0.16.2/data/cacert.pem", :ssl_verify_peer=>true, :write_timeout=>60, :host=>"192.168.150.95", :path=>"/v2/d562cafe8560474fbbf1d8a7c3239257/servers.json", :port=>"8774", :query=>"ignore_awful_caching1347657265", :scheme=>"http", :body=>"{\"server\":{\"flavorRef\":\"7\",\"imageRef\":\"d9a1a238-2560-40d0-807a-bab1bafd62cb\",\"name\":\"vm-ac19a730-8796-464d-b917-71a8bef4046a\",\"metadata\":{},\"user_data\":\"eyJyZWdpc3RyeSI6eyJlbmRwb2ludCI6Imh0dHA6Ly8xMC4wLjAuMzoyNTc3\\nNyJ9LCJzZXJ2ZXIiOnsibmFtZSI6InZtLWFjMTlhNzMwLTg3OTYtNDY0ZC1i\\nOTE3LTcxYThiZWY0MDQ2YSJ9fQ==\\n\",\"key_name\":\"inception\",\"security_groups\":[{\"name\":\"default\"}]}}", :expects=>[200, 202], :method=>"POST"}
  response => #<Excon::Response:0x00000004b746a8 @body="{\"overLimitFault\": {\"message\": \"This request was rate-limited.\", \"code\": 413, \"details\": \"Only 10 POST request(s) can be made to * every minute.\"}}", @headers={"Content-Type"=>"text/html; charset=UTF-8", "Retry-After"=>"6", "Content-Length"=>"147", "Date"=>"Fri, 14 Sep 2012 21:14:27 GMT"}, @status=413>

LOGS:
root@inception-vm:/var/vcap/deployments# bosh deployment cloudfoundry.yml
Deployment set to `/var/vcap/deployments/cloudfoundry.yml'
root@inception-vm:/var/vcap/deployments# bosh deploy
Getting deployment properties from director...
Unable to get properties list from director, trying without it...
Compiling deployment manifest...
Cannot get current deployment information from director, possibly a new deployment
Please review all changes carefully
Deploying `cloudfoundry.yml' to `microbosh-openstack' (type 'yes' to continue): yes

Director task 42

Preparing deployment
  binding deployment (00:00:00)
  binding releases (00:00:00)
  binding existing deployment (00:00:00)
  binding resource pools (00:00:00)
  binding stemcells (00:00:00)
  binding templates (00:00:00)
  binding properties (00:00:00)
  binding unallocated VMs (00:00:00)
  binding instance networks (00:00:00)
Done                    9/9 00:00:00

Preparing package compilation
  finding packages to compile (00:00:00)
Done                    1/1 00:00:00

Preparing DNS
  binding DNS (00:00:00)
Done                    1/1 00:00:00

Creating bound missing VMs
  infrastructure/5: Expected([200, 202]) <=> Actual(413 Request Entity Too Large)
  request => {:connect_timeout=>60, :headers=>{"Content-Type"=>"application/json", "X-Auth-Token"=>"ed3fbc339f534edc80ae343fe995181f", "Host"=>"192.168.150.95:8774", "Content-Length"=>372}, :instrumentor_name=>"excon", :mock=>false, :nonblock=>true, :read_timeout=>60, :retry_limit=>4, :ssl_ca_file=>"/var/vcap/packages/director/bosh/director/vendor/bundle/ruby/1.9.1/gems/excon-0.16.2/data/cacert.pem", :ssl_verify_peer=>true, :write_timeout=>60, :host=>"192.168.150.95", :path=>"/v2/d562cafe8560474fbbf1d8a7c3239257/servers.json", :port=>"8774", :query=>"ignore_awful_caching1347657265", :scheme=>"http", :body=>"{\"server\":{\"flavorRef\":\"7\",\"imageRef\":\"d9a1a238-2560-40d0-807a-bab1bafd62cb\",\"name\":\"vm-ac19a730-8796-464d-b917-71a8bef4046a\",\"metadata\":{},\"user_data\":\"eyJyZWdpc3RyeSI6eyJlbmRwb2ludCI6Imh0dHA6Ly8xMC4wLjAuMzoyNTc3\\nNyJ9LCJzZXJ2ZXIiOnsibmFtZSI6InZtLWFjMTlhNzMwLTg3OTYtNDY0ZC1i\\nOTE3LTcxYThiZWY0MDQ2YSJ9fQ==\\n\",\"key_name\":\"inception\",\"security_groups\":[{\"name\":\"default\"}]}}", :expects=>[200, 202], :method=>"POST"}
  response => #<Excon::Response:0x00000004b746a8 @body="{\"overLimitFault\": {\"message\": \"This request was rate-limited.\", \"code\": 413, \"details\": \"Only 10 POST request(s) can be made to * every minute.\"}}", @headers={"Content-Type"=>"text/html; charset=UTF-8", "Retry-After"=>"6", "Content-Length"=>"147", "Date"=>"Fri, 14 Sep 2012 21:14:27 GMT"}, @status=413> (00:00:01)
  infrastructure/0: Expected([200, 202]) <=> Actual(413 Request Entity Too Large)
  request => {:connect_timeout=>60, :headers=>{"Content-Type"=>"application/json", "X-Auth-Token"=>"ed3fbc339f534edc80ae343fe995181f", "Host"=>"192.168.150.95:8774", "Content-Length"=>372}, :instrumentor_name=>"excon", :mock=>false, :nonblock=>true, :read_timeout=>60, :retry_limit=>4, :ssl_ca_file=>"/var/vcap/packages/director/bosh/director/vendor/bundle/ruby/1.9.1/gems/excon-0.16.2/data/cacert.pem", :ssl_verify_peer=>true, :write_timeout=>60, :host=>"192.168.150.95", :path=>"/v2/d562cafe8560474fbbf1d8a7c3239257/servers.json", :port=>"8774", :query=>"ignore_awful_caching1347657265", :scheme=>"http", :body=>"{\"server\":{\"flavorRef\":\"7\",\"imageRef\":\"d9a1a238-2560-40d0-807a-bab1bafd62cb\",\"name\":\"vm-a6fab0a9-9309-4cea-a5e0-05a5098caeed\",\"metadata\":{},\"user_data\":\"eyJyZWdpc3RyeSI6eyJlbmRwb2ludCI6Imh0dHA6Ly8xMC4wLjAuMzoyNTc3\\nNyJ9LCJzZXJ2ZXIiOnsibmFtZSI6InZtLWE2ZmFiMGE5LTkzMDktNGNlYS1h\\nNWUwLTA1YTUwOThjYWVlZCJ9fQ==\\n\",\"key_name\":\"inception\",\"security_groups\":[{\"name\":\"default\"}]}}", :expects=>[200, 202], :method=>"POST"}
  response => #<Excon::Response:0x00000004b85660 @body="{\"overLimitFault\": {\"message\": \"This request was rate-limited.\", \"code\": 413, \"details\": \"Only 10 POST request(s) can be made to * every minute.\"}}", @headers={"Content-Type"=>"text/html; charset=UTF-8", "Retry-After"=>"6", "Content-Length"=>"147", "Date"=>"Fri, 14 Sep 2012 21:14:27 GMT"}, @status=413> (00:00:01)
  infrastructure/8: Expected([200, 202]) <=> Actual(413 Request Entity Too Large)
  request => {:connect_timeout=>60, :headers=>{"Content-Type"=>"application/json", "X-Auth-Token"=>"ed3fbc339f534edc80ae343fe995181f", "Host"=>"192.168.150.95:8774", "Content-Length"=>372}, :instrumentor_name=>"excon", :mock=>false, :nonblock=>true, :read_timeout=>60, :retry_limit=>4, :ssl_ca_file=>"/var/vcap/packages/director/bosh/director/vendor/bundle/ruby/1.9.1/gems/excon-0.16.2/data/cacert.pem", :ssl_verify_peer=>true, :write_timeout=>60, :host=>"192.168.150.95", :path=>"/v2/d562cafe8560474fbbf1d8a7c3239257/servers.json", :port=>"8774", :query=>"ignore_awful_caching1347657265", :scheme=>"http", :body=>"{\"server\":{\"flavorRef\":\"7\",\"imageRef\":\"d9a1a238-2560-40d0-807a-bab1bafd62cb\",\"name\":\"vm-4290d266-87da-43ec-8b05-0a82dcbf46f3\",\"metadata\":{},\"user_data\":\"eyJyZWdpc3RyeSI6eyJlbmRwb2ludCI6Imh0dHA6Ly8xMC4wLjAuMzoyNTc3\\nNyJ9LCJzZXJ2ZXIiOnsibmFtZSI6InZtLTQyOTBkMjY2LTg3ZGEtNDNlYy04\\nYjA1LTBhODJkY2JmNDZmMyJ9fQ==\\n\",\"key_name\":\"inception\",\"security_groups\":[{\"name\":\"default\"}]}}", :expects=>[200, 202], :method=>"POST"}
  response => #<Excon::Response:0x00000004b9aa88 @body="{\"overLimitFault\": {\"message\": \"This request was rate-limited.\", \"code\": 413, \"details\": \"Only 10 POST request(s) can be made to * every minute.\"}}", @headers={"Content-Type"=>"text/html; charset=UTF-8", "Retry-After"=>"6", "Content-Length"=>"147", "Date"=>"Fri, 14 Sep 2012 21:14:27 GMT"}, @status=413> (00:00:01)
  dea/1 (00:01:18)
  infrastructure/4 (00:01:33)
  infrastructure/3 (00:01:48)
  infrastructure/6 (00:01:57)
  dea/0 (00:02:09)
  dea/3 (00:02:19)
  infrastructure/1 (00:02:27)
  infrastructure/7 (00:02:31)
  infrastructure/2 (00:02:47)
  dea/2 (00:02:50)
Error                   13/13 00:02:50

Error 100: Expected([200, 202]) <=> Actual(413 Request Entity Too Large)
  request => {:connect_timeout=>60, :headers=>{"Content-Type"=>"application/json", "X-Auth-Token"=>"ed3fbc339f534edc80ae343fe995181f", "Host"=>"192.168.150.95:8774", "Content-Length"=>372}, :instrumentor_name=>"excon", :mock=>false, :nonblock=>true, :read_timeout=>60, :retry_limit=>4, :ssl_ca_file=>"/var/vcap/packages/director/bosh/director/vendor/bundle/ruby/1.9.1/gems/excon-0.16.2/data/cacert.pem", :ssl_verify_peer=>true, :write_timeout=>60, :host=>"192.168.150.95", :path=>"/v2/d562cafe8560474fbbf1d8a7c3239257/servers.json", :port=>"8774", :query=>"ignore_awful_caching1347657265", :scheme=>"http", :body=>"{\"server\":{\"flavorRef\":\"7\",\"imageRef\":\"d9a1a238-2560-40d0-807a-bab1bafd62cb\",\"name\":\"vm-ac19a730-8796-464d-b917-71a8bef4046a\",\"metadata\":{},\"user_data\":\"eyJyZWdpc3RyeSI6eyJlbmRwb2ludCI6Imh0dHA6Ly8xMC4wLjAuMzoyNTc3\\nNyJ9LCJzZXJ2ZXIiOnsibmFtZSI6InZtLWFjMTlhNzMwLTg3OTYtNDY0ZC1i\\nOTE3LTcxYThiZWY0MDQ2YSJ9fQ==\\n\",\"key_name\":\"inception\",\"security_groups\":[{\"name\":\"default\"}]}}", :expects=>[200, 202], :method=>"POST"}
  response => #<Excon::Response:0x00000004b746a8 @body="{\"overLimitFault\": {\"message\": \"This request was rate-limited.\", \"code\": 413, \"details\": \"Only 10 POST request(s) can be made to * every minute.\"}}", @headers={"Content-Type"=>"text/html; charset=UTF-8", "Retry-After"=>"6", "Content-Length"=>"147", "Date"=>"Fri, 14 Sep 2012 21:14:27 GMT"}, @status=413>

Task 42 error
root@inception-vm:/var/vcap/deployments#


Ferran Rodenas

unread,
Sep 14, 2012, 5:46:52 PM9/14/12
to bosh-...@cloudfoundry.org
Your OpenStack compute box has the API rate limit activated. You can remove it or raise the limits at your /etc/nova/api-paste.ini file. See the OpenStack Compute Admin manual for more info.

- Ferdy

2012/9/14 animesh nandanwar <animeshn...@gmail.com>

animesh nandanwar

unread,
Sep 14, 2012, 5:52:34 PM9/14/12
to bosh-...@cloudfoundry.org
Thanks a lot Ferdy !!
Do I need to reinstall openstack for this to take effect ?

Thanks,
Animesh

Ferran Rodenas

unread,
Sep 14, 2012, 5:56:44 PM9/14/12
to bosh-...@cloudfoundry.org
No, just restart the nova-api service.

Frans Thamura

unread,
Sep 14, 2012, 6:20:08 PM9/14/12
to bosh-...@cloudfoundry.org
all

talking CF and OpenStack
we using ubuntu 12.

and both run as separate services

any tips to integrate openstack + CF in ubuntu-cloud?

is the bosh in ubuntu-cloud also same with this mailing list bosh

i tought we must modify CF from source esp the bosh, like people in activestate, appfog did

Frans
Reply all
Reply to author
Forward
0 new messages