Unable to deploy on AWS

32 views
Skip to first unread message

Amitabh Saxena

unread,
Jul 16, 2013, 3:13:25 AM7/16/13
to vcap...@cloudfoundry.org
I followed the instructions here:
http://docs.cloudfoundry.com/docs/running/deploying-cf/ec2/

I am stuck at the bosh aws create command.

The first time it gave me some error "subnet X is not member of group Y".
Then I did a complete erase (using bosh destroy command).

Now I get the following error:
c:/Ruby193/lib/ruby/gems/1.9.1/gems/aws-sdk-1.8.5/lib/aws/core/client.rb:339:in `return_or_raise': The requested bucket name is not available. The bucket namespace is shared by all users of the system. Please select a different name and try again. (AWS::S3::Errors::BucketAlreadyExists)
        from c:/Ruby193/lib/ruby/gems/1.9.1/gems/aws-sdk-1.8.5/lib/aws/core/client.rb:440:in `client_request'
        from (eval):3:in `create_bucket'
        from c:/Ruby193/lib/ruby/gems/1.9.1/gems/aws-sdk-1.8.5/lib/aws/s3/bucket_collection.rb:113:in `create'
        from c:/Ruby193/lib/ruby/gems/1.9.1/gems/bosh_cli_plugin_aws-1.5.0.pre.805/lib/bosh_cli_plugin_aws/s3.rb:9:in `create_bucket'
        from c:/Ruby193/lib/ruby/gems/1.9.1/gems/bosh_cli_plugin_aws-1.5.0.pre.805/lib/bosh_cli_plugin_aws/migrator.rb:53:in `ensure_bucket_exists'
        from c:/Ruby193/lib/ruby/gems/1.9.1/gems/bosh_cli_plugin_aws-1.5.0.pre.805/lib/bosh_cli_plugin_aws/migrator.rb:39:in `needs_migration?'
        from c:/Ruby193/lib/ruby/gems/1.9.1/gems/bosh_cli_plugin_aws-1.5.0.pre.805/lib/bosh_cli_plugin_aws/migrator.rb:11:in `migrate'
        from c:/Ruby193/lib/ruby/gems/1.9.1/gems/bosh_cli_plugin_aws-1.5.0.pre.805/lib/bosh/cli/commands/aws.rb:126:in `create'
        from c:/Ruby193/lib/ruby/gems/1.9.1/gems/bosh_cli-1.5.0.pre.805/lib/cli/command_handler.rb:57:in `run'
        from c:/Ruby193/lib/ruby/gems/1.9.1/gems/bosh_cli-1.5.0.pre.805/lib/cli/runner.rb:59:in `run'
        from c:/Ruby193/lib/ruby/gems/1.9.1/gems/bosh_cli-1.5.0.pre.805/lib/cli/runner.rb:18:in `run'
        from c:/Ruby193/lib/ruby/gems/1.9.1/gems/bosh_cli-1.5.0.pre.805/bin/bosh:7:in `<top (required)>'
        from c:/Ruby193/bin/bosh:19:in `load'
        from c:/Ruby193/bin/bosh:19:in `<main>'

Georg Apitz

unread,
Jul 16, 2013, 1:23:56 PM7/16/13
to vcap...@cloudfoundry.org
You might need to log into your aws.console and delete the buckets, they have to be empty to be deleted.

cheers
Georg;

Amitabh Saxena

unread,
Jul 17, 2013, 2:49:05 AM7/17/13
to vcap...@cloudfoundry.org
I did delete all the buckets. In fact I did a bosh aws destroy.
This was about a week ago (I realize that bucket names take a while to get freed).
Here is a screenshot of my AWS console. There are no buckets (it is asking me to create a bucket to get started).

A bucket name must be unique. There is a problem in some bucket names hardcoded in the scripts. I don't know enough ruby to dig around for the problem.

Out of curiosity, has anyone actually been able to successfully deploy CFv2 on AWS using the guide linked above?

Rgds
Amitabh

Amitabh Saxena

unread,
Jul 17, 2013, 2:50:40 AM7/17/13
to vcap...@cloudfoundry.org
Screenshot of AWS console

http://i.imgur.com/9gxwRpI.png

Georg Apitz

unread,
Jul 17, 2013, 10:32:09 AM7/17/13
to vcap...@cloudfoundry.org
I've done it successfully about a dozen times now.
You might be looking at the wrong s3 screen, mine looks like this:

best,
Georg;

Reply all
Reply to author
Forward
0 new messages