Re: Question about deploying diego in aws


Danny Berger
 

Hi - sounds like two issues. First, update jq to a newer version from
stedolan.github.com/jq. Second, it sounds like you're missing boosh - make
sure you've gone through the Setting Up Local Dependencies section in
https://github.com/cloudfoundry-incubator/diego-release/blob/develop/examples/aws/README.md#setting-up-local-dependencies
to install boosh and the other tools needed.

Danny

On Mon, May 23, 2016 at 12:42 AM, 王小锋 <zzuwxf(a)gmail.com> wrote:

Hi, there

I already deployed cloudfoundry v233 in aws using bosh, now I am trying to
deploy diego release along cf release using the guide:
https://github.com/cloudfoundry-incubator/diego-
release/blob/develop/examples/aws/README.md#manifest-generation.

And I am stuck in this step:
Creating the AWS environment
with following error, anyone can help? thanks a lot.

+ cat
+ aws iam get-server-certificate --server-certificate-name cfrouter
+ jq -c -S .
jq: Unknown option -S
Use jq --help for help with command-line options,
or see the jq documentation at http://stedolan.github.com/jq
+ boosh generate
./deploy_aws_environment: line 78: boosh: command not found
+ spiff merge
/home/ubuntu/diego/diego-release-0.1472.0/examples/aws/templates/infrastructure/boosh.yml
/home/ubuntu/diego/diego-release-0.1472.0/examples/aws/templates/infrastructure/boosh-internal.yml
stubs/bosh-init/keypair.yml stubs/domain.yml
stubs/infrastructure/certificates.yml
stubs/infrastructure/availability_zones.yml
2016/05/23 07:19:12 error generating manifest: unresolved nodes:
(( meta.availability_zones.[2] )) in
/home/ubuntu/diego/diego-release-0.1472.0/examples/aws/templates/infrastructure/boosh-internal.yml
subnets.[3].availability_zone ()
(( meta.availability_zones.[2] )) in
/home/ubuntu/diego/diego-release-0.1472.0/examples/aws/templates/infrastructure/boosh-internal.yml
subnets.[6].availability_zone ()
(( meta.availability_zones.[2] )) in
/home/ubuntu/diego/diego-release-0.1472.0/examples/aws/templates/infrastructure/boosh-internal.yml
subnets.[9].availability_zone ()
(( meta.availability_zones.[2] )) in
/home/ubuntu/diego/diego-release-0.1472.0/examples/aws/templates/infrastructure/boosh-internal.yml
subnets.[12].availability_zone ()
(( meta.availability_zones.[2] )) in
/home/ubuntu/diego/diego-release-0.1472.0/examples/aws/templates/infrastructure/boosh-internal.yml
subnets.[13].availability_zone ()


--
Danny Berger

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