Skip to content
This repository has been archived by the owner on Nov 29, 2017. It is now read-only.

Stage 7 fails with SSL error #160

Closed
statik opened this issue Apr 23, 2013 · 6 comments
Closed

Stage 7 fails with SSL error #160

statik opened this issue Apr 23, 2013 · 6 comments

Comments

@statik
Copy link

statik commented Apr 23, 2013

Trying out bosh-bootstrap deploy a couple of times, each time it fails at step 7 with the following errors. Any advice about what to adjust?

deploy Micro BOSH
using existing stemcell (00:00:00)
creating VM from ami-345ac05d (00:00:41)
Waiting for the agent |ooo | 2/11 00:07:55 ETA: --:--:--/usr/local/rvm/gems/ruby-1.9.3-p392/gems/agent_client-1.5.0.pre.480/lib/agent_client/http_client.rb:46:in rescue in request': Request details: (Bosh::Agent::Error) uri: https://vcap:b00tstrap@54.225.114.8:6868/agent payload: {"method":"ping","arguments":[],"reply_to":"bm-7f1a773b-fa7b-48a0-9f93-a4cc62d26e4d"} user: vcap password: b00tstrap OpenSSL::SSL::SSLError: SSL_connect returned=1 errno=0 state=SSLv2/v3 read server hello A: unknown protocol from /usr/local/rvm/gems/ruby-1.9.3-p392/gems/agent_client-1.5.0.pre.480/lib/agent_client/http_client.rb:27:inrequest'
from /usr/local/rvm/gems/ruby-1.9.3-p392/gems/agent_client-1.5.0.pre.480/lib/agent_client/http_client.rb:55:in post_json' from /usr/local/rvm/gems/ruby-1.9.3-p392/gems/agent_client-1.5.0.pre.480/lib/agent_client/http_client.rb:21:inhandle_method'
from /usr/local/rvm/gems/ruby-1.9.3-p392/gems/agent_client-1.5.0.pre.480/lib/agent_client/base.rb:17:in method_missing' from /usr/local/rvm/gems/ruby-1.9.3-p392/gems/bosh_cli_plugin_micro-1.5.0.pre.480/lib/deployer/instance_manager.rb:419:inblock in wait_until_agent_ready'
from /usr/local/rvm/gems/ruby-1.9.3-p392/gems/bosh_cli_plugin_micro-1.5.0.pre.480/lib/deployer/instance_manager.rb:405:in block in wait_until_ready' from /usr/local/rvm/gems/ruby-1.9.3-p392/gems/bosh_common-1.5.0.pre.480/lib/common/common.rb:65:inblock in retryable'
from /usr/local/rvm/gems/ruby-1.9.3-p392/gems/bosh_common-1.5.0.pre.480/lib/common/common.rb:64:in loop' from /usr/local/rvm/gems/ruby-1.9.3-p392/gems/bosh_common-1.5.0.pre.480/lib/common/common.rb:64:inretryable'
from /usr/local/rvm/gems/ruby-1.9.3-p392/gems/bosh_cli_plugin_micro-1.5.0.pre.480/lib/deployer/instance_manager.rb:402:in wait_until_ready' from /usr/local/rvm/gems/ruby-1.9.3-p392/gems/bosh_cli_plugin_micro-1.5.0.pre.480/lib/deployer/instance_manager.rb:419:inwait_until_agent_ready'
from /usr/local/rvm/gems/ruby-1.9.3-p392/gems/bosh_cli_plugin_micro-1.5.0.pre.480/lib/deployer/instance_manager.rb:140:in block in create' from /usr/local/rvm/gems/ruby-1.9.3-p392/gems/bosh_cli_plugin_micro-1.5.0.pre.480/lib/deployer/instance_manager.rb:84:instep'
from /usr/local/rvm/gems/ruby-1.9.3-p392/gems/bosh_cli_plugin_micro-1.5.0.pre.480/lib/deployer/instance_manager.rb:139:in create' from /usr/local/rvm/gems/ruby-1.9.3-p392/gems/bosh_cli_plugin_micro-1.5.0.pre.480/lib/deployer/instance_manager.rb:104:inblock in create_deployment'
from /usr/local/rvm/gems/ruby-1.9.3-p392/gems/bosh_cli_plugin_micro-1.5.0.pre.480/lib/deployer/instance_manager.rb:97:in with_lifecycle' from /usr/local/rvm/gems/ruby-1.9.3-p392/gems/bosh_cli_plugin_micro-1.5.0.pre.480/lib/deployer/instance_manager.rb:103:increate_deployment'
from /usr/local/rvm/gems/ruby-1.9.3-p392/gems/bosh_cli_plugin_micro-1.5.0.pre.480/lib/bosh/cli/commands/micro.rb:171:in perform' from /usr/local/rvm/gems/ruby-1.9.3-p392/gems/bosh_cli-1.5.0.pre.480/lib/cli/command_handler.rb:57:inrun'
from /usr/local/rvm/gems/ruby-1.9.3-p392/gems/bosh_cli-1.5.0.pre.480/lib/cli/runner.rb:59:in run' from /usr/local/rvm/gems/ruby-1.9.3-p392/gems/bosh_cli-1.5.0.pre.480/lib/cli/runner.rb:18:inrun'
from /usr/local/rvm/gems/ruby-1.9.3-p392/gems/bosh_cli-1.5.0.pre.480/bin/bosh:7:in <top (required)>' from /usr/local/rvm/gems/ruby-1.9.3-p392/bin/bosh:19:inload'
from /usr/local/rvm/gems/ruby-1.9.3-p392/bin/bosh:19:in <main>' from /usr/local/rvm/gems/ruby-1.9.3-p392@global/bin/ruby_noexec_wrapper:14:ineval'
from /usr/local/rvm/gems/ruby-1.9.3-p392@global/bin/ruby_noexec_wrapper:14:in <main>' Last line of script: from /usr/local/rvm/gems/ruby-1.9.3-p392@global/bin/ruby_noexec_wrapper:14:in

'
error deploy micro bosh
Failed to complete Stage 7: Deploying micro BOSH

@drnic
Copy link
Contributor

drnic commented Apr 23, 2013

Duplicate of cloudfoundry-community-attic/bosh-bootstrap#185 and re-raised at cloudfoundry/bosh#147

@drnic drnic closed this as completed Apr 23, 2013
@drnic
Copy link
Contributor

drnic commented Apr 23, 2013

Reopening until its fixed for visibility to others

@drnic drnic reopened this Apr 23, 2013
@statik
Copy link
Author

statik commented Apr 23, 2013

Thanks!

@drnic
Copy link
Contributor

drnic commented Apr 23, 2013

cloudfoundry/bosh#147 (comment) says to try again and check that it picks up a newer/different microbosh AMI than last time.

@statik
Copy link
Author

statik commented Apr 24, 2013

Once I manually deleted the VMs and volumes so that bosh-bootstrap deploy would stop using the existing stemcell, it completed successfully. Thanks!

@statik statik closed this as completed Apr 24, 2013
@ramonskie
Copy link

i deleted the vms and volumes and redeployed bosh-boostrap
and the problem still exists i use openstack for this

any idea where to look?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants