Re: Deploying CloudFoundry on AWS - bosh deploy returns timed out pinging


James Bayer
 

sounds like some sort of firewall or security groups issue, where the VMs
that are created are not able to talk to the BOSH Director. did you perform
this step: http://bosh.io/docs/deploy-microbosh-to-aws.html#create-security

On Mon, Jun 15, 2015 at 6:59 AM, Flávio Henrique Schuindt da Silva <
flavio.schuindt(a)gmail.com> wrote:

Hi, guys!

I'm trying to deploy CF on aws and I'm following strictly this tutorial:
http://docs.cloudfoundry.org/deploying/ec2/aws_steps.html

I completed succesfully steps 1, 2 and 3, but I'm stuck on step 4. When I
run bosh deploy, I got it:

bosh deploy

Processing deployment manifest
------------------------------
Getting deployment properties from director...
Compiling deployment manifest...
Please review all changes carefully

Deploying
------------------------------
Deployment name: `minimal-aws.yml'
Director name: `microbosh'
Are you sure you want to deploy? (type 'yes' to continue): yes

Director task 33
Started unknown
Started unknown > Binding deployment. Done (00:00:00)

Started preparing deployment
Started preparing deployment > Binding releases. Done (00:00:00)
Started preparing deployment > Binding existing deployment. Done (00:00:00)
Started preparing deployment > Binding resource pools. Done (00:00:00)
Started preparing deployment > Binding stemcells. Done (00:00:00)
Started preparing deployment > Binding templates. Done (00:00:00)
Started preparing deployment > Binding properties. Done (00:00:00)
Started preparing deployment > Binding unallocated VMs. Done (00:00:00)
Started preparing deployment > Binding instance networks. Done (00:00:00)

Started preparing package compilation > Finding packages to compile. Done
(00:00:00)

Started compiling packages
Started compiling packages >
rootfs_cflinuxfs2/3e1f990a4a77b3daf012fdb278ece231150182b4
Started compiling packages >
haproxy/630ad6d6e1d3cab4547ce104f3019b483f354613
Started compiling packages >
buildpack_binary/816fc3f418dd9e6f3fd8a1dd0de4812c53a729d4
Started compiling packages >
buildpack_staticfile/f6c501e6e86abbd0620074d67c2aac2e49225ee3
Failed compiling packages >
rootfs_cflinuxfs2/3e1f990a4a77b3daf012fdb278ece231150182b4: Timed out
pinging to 0d86a715-5035-4d2d-a7d8-62b17026d3fc after 600 seconds (00:11:04)
Failed compiling packages >
buildpack_staticfile/f6c501e6e86abbd0620074d67c2aac2e49225ee3: Timed out
pinging to 435b8765-8e9a-4615-8328-6f7b30bca3c0 after 600 seconds (00:11:04)
Failed compiling packages >
haproxy/630ad6d6e1d3cab4547ce104f3019b483f354613: Timed out pinging to
4c86e063-3c06-497d-829b-12b5455679e9 after 600 seconds (00:11:04)
Failed compiling packages >
buildpack_binary/816fc3f418dd9e6f3fd8a1dd0de4812c53a729d4: Timed out
pinging to 0a734427-f633-420e-94da-8d20ddc1d0be after 600 seconds (00:11:04)

Error 450002: Timed out pinging to 0d86a715-5035-4d2d-a7d8-62b17026d3fc
after 600 seconds

I see on ec2 dashboard that the compilation vms workers start to run, but
in a couple of minutes they suddently got terminated (the terminated ation
is made by bosh, of course). The problem here, I think, is that the bosh
director aren't communicating properly with compilation vms and so they got
a timeout error. But I followed exactly the same steps from tutorial.

Also, I checked all the network config on aws console and nothing seems to
be wrong. How can i solve it? Thanks in advance, guys!

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


--
Thank you,

James Bayer

Join {cf-bosh@lists.cloudfoundry.org to automatically receive all group messages.