Skip to content

Instantly share code, notes, and snippets.

@calebamiles
Last active August 29, 2015 14:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save calebamiles/05f948d8b9a884b24b15 to your computer and use it in GitHub Desktop.
Save calebamiles/05f948d8b9a884b24b15 to your computer and use it in GitHub Desktop.
6) Bosh::OpenStackCloud::Cloud when using config drive as cdrom exercises the vm lifecycle
Failure/Error: expect {
expected no Exception, got #<Bosh::Clouds::CloudError: OpenStack API Request Entity Too Large error. Check task debug log for details.> with backtrace:
# ./lib/cloud/openstack/helpers.rb:20:in `cloud_error'
# ./lib/cloud/openstack/helpers.rb:40:in `rescue in with_openstack'
# ./lib/cloud/openstack/helpers.rb:25:in `with_openstack'
# ./lib/cloud/openstack/cloud.rb:455:in `block in create_disk'
# /tmp/build/7a2e9560-be57-4e4b-6b51-8c0cbb6199ee/bosh-src/bosh_common/lib/common/thread_formatter.rb:49:in `with_thread_name'
# ./lib/cloud/openstack/cloud.rb:433:in `create_disk'
# ./spec/integration/lifecycle_spec.rb:315:in `create_disk'
# ./spec/integration/lifecycle_spec.rb:257:in `vm_lifecycle'
# ./spec/integration/lifecycle_spec.rb:214:in `block (4 levels) in <top (required)>'
# ./spec/integration/lifecycle_spec.rb:213:in `block (3 levels) in <top (required)>'
# ./spec/integration/lifecycle_spec.rb:213:in `block (3 levels) in <top (required)>'
Middleware::Instrumentor:0x007efd04f31378 @stack=#<Excon::Middleware::Mock:0x007efd04f313a0 @stack=#<Excon::Connection:7efd02f1c650 @data={:chunk_size=>1048576, :ciphers=>"HIGH:!SSLv2:!aNULL:!eNULL:!3DES", :connect_timeout=>60, :debug_request=>false, :debug_response=>true, :headers=>{"User-Agent"=>"fog/1.27.0 fog-core/1.30.0"}, :idempotent=>false, :instrumentor_name=>"excon", :middlewares=>[Excon::Middleware::ResponseParser, Excon::Middleware::Expects, Excon::Middleware::Idempotent, Excon::Middleware::Instrumentor, Excon::Middleware::Mock], :mock=>false, :nonblock=>true, :omit_default_port=>false, :persistent=>false, :read_timeout=>60, :retry_limit=>4, :ssl_verify_peer=>true, :tcp_nodelay=>false, :thread_safe_sockets=>true, :uri_parser=>URI, :versions=>"excon/0.45.3 (x86_64-linux) ruby/2.1.2", :write_timeout=>60, :host=>"pivotal-1.openstack.blueboxgrid.com", :hostname=>"pivotal-1.openstack.blueboxgrid.com", :path=>"", :port=>8778, :query=>nil, :scheme=>"https", :instrumentor=>Bosh::OpenStackCloud::ExconLoggingInstrumentor} @socket_key="https://pivotal-1.openstack.blueboxgrid.com:8778">>>>>>}
D, [2015-08-04T18:26:59.362700 #1937] DEBUG -- : excon.error {:error=>#<Excon::Errors::RequestEntityTooLarge: Expected([200, 202]) <=> Actual(413 Request Entity Too Large)
excon.error.response
:body => "{\"overLimit\": {\"message\": \"VolumeLimitExceeded: Maximum number of volumes allowed (20) exceeded\", \"code\": 413, \"retryAfter\": 0}}"
:headers => {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment