Bosh deploy hangs on AWS


Dulanjalie Dhanapala <dulanjalie@...>
 

Hi Daya,
I hit the same issue. Only way i could get thru was bringing up the VM is
execute bosh micro commands to AWS.
Please try the security group suggestion given in "bosh micro deploy
stuck at Started deploy micro bosh > Waiting for the agent" email thread.

Sincerely,
Dulanjalie




On Fri, Jun 19, 2015 at 9:33 AM, Shetty, Daya <Daya.Shetty(a)bnymellon.com>
wrote:

Trying to deploy microBosh using the steps mentioned in the following
link,

https://bosh.io/docs/create-micro-manifest.html#ex-aws

the deployment process hangs on the following line

Started deploy micro bosh > Waiting for the agent.

See below:

bosh micro deploy
light-bosh-stemcell-2989-aws-xen-ubuntu-trusty-go_agent.tgz


No `bosh-deployments.yml` file found in current directory.


Conventionally, `bosh-deployments.yml` should be saved in /Users/xbbly9r.

Is /Users/xbbly9r/microBosh a directory where you can save state? (type
'yes' to continue): yes

Deploying new micro BOSH instance `manifest.yml' to `Unknown Director'
(type 'yes' to continue): yes


Verifying stemcell...

File exists and readable OK

Verifying tarball...

Read tarball OK

Manifest exists OK

Stemcell image file OK

Stemcell properties OK


Stemcell info

-------------

Name: bosh-aws-xen-ubuntu-trusty-go_agent

Version: 2989


Started deploy micro bosh

Started deploy micro bosh > Unpacking stemcell. Done (00:00:00)

Started deploy micro bosh > Uploading stemcell. Done (00:00:05)

Started deploy micro bosh > Creating VM from ami-2bca3940 light. Done
(00:00:41)

Started deploy micro bosh > Waiting for the agent

In the bosh_micro_deploy.log, I see the following error

I, [2015-06-18T17:58:14.159692 #13002] [0x3ff721452470] INFO -- :
discovered bosh ip=55.55.55.1

D, [2015-06-18T17:58:45.167440 #13002] [0x3ff721452470] DEBUG -- : Waiting
for agent to be ready: #<Bosh::Agent::Error: Request details:

uri: https://vcap:b00tstrap(a)55.55.55.1:6868/agent

payload:
{"method":"ping","arguments":[],"reply_to":"bm-9a692862-b6de-44b0-8e35-af7e17fbfe60"}

user: vcap

password: b00tstrap

HTTPClient::ConnectTimeoutError: execution expired>

I, [2015-06-18T17:58:46.145480 #13002] [0x3ff721452470] INFO -- : [AWS
EC2 200 0.976519 0 retries]
describe_addresses(:filters=>[{:name=>"instance-id",:values=>["i-353a799c"]}])


I, [2015-06-18T17:58:46.433165 #13002] [0x3ff721452470] INFO -- : [AWS
EC2 200 0.286558 0 retries]
describe_addresses(:filters=>[{:name=>"instance-id",:values=>["i-353a799c"]}])


I, [2015-06-18T17:58:46.433361 #13002] [0x3ff721452470] INFO -- :
discovered bosh ip=55.55.55.1


Thanks

Daya



The information contained in this e-mail, and any attachment, is
confidential and is intended solely for the use of the intended recipient.
Access, copying or re-use of the e-mail or any attachment, or any
information contained therein, by any other person is not authorized. If
you are not the intended recipient please return the e-mail to the sender
and delete it from your computer. Although we attempt to sweep e-mail and
attachments for viruses, we do not guarantee that either are virus-free and
accept no liability for any damage sustained as a result of viruses.

Please refer to http://disclaimer.bnymellon.com/eu.htm for certain
disclosures relating to European legal entities.

_______________________________________________
cf-bosh mailing list
cf-bosh(a)lists.cloudfoundry.org
https://lists.cloudfoundry.org/mailman/listinfo/cf-bosh


--
Dulanjalie


Shetty, Daya <Daya.Shetty@...>
 

Trying to deploy microBosh using the steps mentioned in the following link,

https://bosh.io/docs/create-micro-manifest.html#ex-aws

the deployment process hangs on the following line

Started deploy micro bosh > Waiting for the agent.

See below:


bosh micro deploy light-bosh-stemcell-2989-aws-xen-ubuntu-trusty-go_agent.tgz


No `bosh-deployments.yml` file found in current directory.


Conventionally, `bosh-deployments.yml` should be saved in /Users/xbbly9r.

Is /Users/xbbly9r/microBosh a directory where you can save state? (type 'yes' to continue): yes

Deploying new micro BOSH instance `manifest.yml' to `Unknown Director' (type 'yes' to continue): yes


Verifying stemcell...

File exists and readable OK

Verifying tarball...

Read tarball OK

Manifest exists OK

Stemcell image file OK

Stemcell properties OK


Stemcell info

-------------

Name: bosh-aws-xen-ubuntu-trusty-go_agent

Version: 2989


Started deploy micro bosh

Started deploy micro bosh > Unpacking stemcell. Done (00:00:00)

Started deploy micro bosh > Uploading stemcell. Done (00:00:05)

Started deploy micro bosh > Creating VM from ami-2bca3940 light. Done (00:00:41)

Started deploy micro bosh > Waiting for the agent

In the bosh_micro_deploy.log, I see the following error


I, [2015-06-18T17:58:14.159692 #13002] [0x3ff721452470] INFO -- : discovered bosh ip=55.55.55.1

D, [2015-06-18T17:58:45.167440 #13002] [0x3ff721452470] DEBUG -- : Waiting for agent to be ready: #<Bosh::Agent::Error: Request details:

uri: https://vcap:b00tstrap(a)55.55.55.1:6868/agent

payload: {"method":"ping","arguments":[],"reply_to":"bm-9a692862-b6de-44b0-8e35-af7e17fbfe60"}

user: vcap

password: b00tstrap

HTTPClient::ConnectTimeoutError: execution expired>

I, [2015-06-18T17:58:46.145480 #13002] [0x3ff721452470] INFO -- : [AWS EC2 200 0.976519 0 retries] describe_addresses(:filters=>[{:name=>"instance-id",:values=>["i-353a799c"]}])


I, [2015-06-18T17:58:46.433165 #13002] [0x3ff721452470] INFO -- : [AWS EC2 200 0.286558 0 retries] describe_addresses(:filters=>[{:name=>"instance-id",:values=>["i-353a799c"]}])


I, [2015-06-18T17:58:46.433361 #13002] [0x3ff721452470] INFO -- : discovered bosh ip=55.55.55.1


Thanks

Daya



The information contained in this e-mail, and any attachment, is confidential and is intended solely for the use of the intended recipient. Access, copying or re-use of the e-mail or any attachment, or any information contained therein, by any other person is not authorized. If you are not the intended recipient please return the e-mail to the sender and delete it from your computer. Although we attempt to sweep e-mail and attachments for viruses, we do not guarantee that either are virus-free and accept no liability for any damage sustained as a result of viruses.

Please refer to http://disclaimer.bnymellon.com/eu.htm for certain disclosures relating to European legal entities.