Skip to content

Instantly share code, notes, and snippets.

@daemonza
Created July 21, 2014 12:41
Show Gist options
  • Save daemonza/d5ee6fc81ea840cbc5ea to your computer and use it in GitHub Desktop.
Save daemonza/d5ee6fc81ea840cbc5ea to your computer and use it in GitHub Desktop.
ubuntu@ip-10-140-195-69:~/cf-setup$ bundle exec bosh aws create
Executing migration CreateKeyPairs
allocating 1 KeyPair(s)
Executing migration CreateVpc
Waiting for vpc, continuing after AWS::EC2::Errors::InvalidVpcID::NotFound: The vpc ID 'vpc-f4c46091' does not exist
creating internet gateway
creating security groups: open, bosh, bat, cf, web
creating subnets: bosh1, bosh_rds1, cf_elb1, cf_rds1, services_rds1, cf1, services1, bosh_rds2, cf_elb2, cf_rds2, services_rds2
Making subnet bosh1 10.10.0.0/24:
Making subnet bosh_rds1 10.10.1.0/24:
Making subnet cf_elb1 10.10.2.0/24:
Making subnet cf_rds1 10.10.3.0/24:
Making subnet services_rds1 10.10.8.0/21:
Making subnet cf1 10.10.16.0/20:
Making subnet services1 10.10.32.0/20:
Making subnet bosh_rds2 10.10.65.0/24:
Making subnet cf_elb2 10.10.66.0/24:
Making subnet cf_rds2 10.10.67.0/24:
Making subnet services_rds2 10.10.72.0/21:
Making routing table for bosh1
Binding default route to igw
Making routing table for cf_elb1
Binding default route to igw
Making routing table for cf1
Binding default route to cf_nat_box1
Making routing table for services1
Binding default route to cf_nat_box1
Making routing table for cf_elb2
Binding default route to igw
creating load balancers: cfrouter
adding CNAME record for *.cf.hip-od2.com
creating DHCP options
details in S3 receipt: aws_vpc_receipt and file: aws_vpc_receipt.yml
Executing migration CreateRoute53Records
allocating 3 elastic IP(s)
adding A record for micro.cf.hip-od2.com
adding A record for bat.cf.hip-od2.com
adding A record for bosh.cf.hip-od2.com
details in S3 receipt: aws_route53_receipt and file: aws_route53_receipt.yml
Executing migration CreateRdsDbs
details in S3 receipt: aws_rds_receipt and file: aws_rds_receipt.yml
/var/lib/gems/1.9.1/gems/aws-sdk-1.44.0/lib/aws/core/client.rb:375:in `return_or_raise': The security group 'sg-185c257d' does not exist (AWS::EC2::Errors::InvalidGroup::NotFound)
from /var/lib/gems/1.9.1/gems/aws-sdk-1.44.0/lib/aws/core/client.rb:476:in `client_request'
from (eval):3:in `authorize_security_group_ingress'
from /var/lib/gems/1.9.1/gems/aws-sdk-1.44.0/lib/aws/ec2/security_group.rb:245:in `authorize_ingress'
from /var/lib/gems/1.9.1/gems/bosh_cli_plugin_aws-1.2641.0/lib/bosh_cli_plugin_aws/vpc.rb:84:in `block (2 levels) in create_security_groups'
from /var/lib/gems/1.9.1/gems/bosh_cli_plugin_aws-1.2641.0/lib/bosh_cli_plugin_aws/vpc.rb:81:in `each'
from /var/lib/gems/1.9.1/gems/bosh_cli_plugin_aws-1.2641.0/lib/bosh_cli_plugin_aws/vpc.rb:81:in `block in create_security_groups'
from /var/lib/gems/1.9.1/gems/bosh_cli_plugin_aws-1.2641.0/lib/bosh_cli_plugin_aws/vpc.rb:77:in `each'
from /var/lib/gems/1.9.1/gems/bosh_cli_plugin_aws-1.2641.0/lib/bosh_cli_plugin_aws/vpc.rb:77:in `create_security_groups'
from /var/lib/gems/1.9.1/gems/bosh_cli_plugin_aws-1.2641.0/lib/bosh_cli_plugin_aws/rds.rb:140:in `create_vpc_db_security_group'
from /var/lib/gems/1.9.1/gems/bosh_cli_plugin_aws-1.2641.0/lib/bosh_cli_plugin_aws/rds.rb:24:in `create_database'
from /var/lib/gems/1.9.1/gems/bosh_cli_plugin_aws-1.2641.0/lib/bosh_cli_plugin_aws/migration_helper.rb:46:in `create!'
from /var/lib/gems/1.9.1/gems/bosh_cli_plugin_aws-1.2641.0/migrations/20130412183544_create_rds_dbs.rb:21:in `block in execute'
from /var/lib/gems/1.9.1/gems/bosh_cli_plugin_aws-1.2641.0/migrations/20130412183544_create_rds_dbs.rb:17:in `each'
from /var/lib/gems/1.9.1/gems/bosh_cli_plugin_aws-1.2641.0/migrations/20130412183544_create_rds_dbs.rb:17:in `execute'
from /var/lib/gems/1.9.1/gems/bosh_cli_plugin_aws-1.2641.0/lib/bosh_cli_plugin_aws/migration.rb:21:in `run'
from /var/lib/gems/1.9.1/gems/bosh_cli_plugin_aws-1.2641.0/lib/bosh_cli_plugin_aws/migrator.rb:75:in `block in run_migrations'
from /var/lib/gems/1.9.1/gems/bosh_cli_plugin_aws-1.2641.0/lib/bosh_cli_plugin_aws/migrator.rb:74:in `each'
from /var/lib/gems/1.9.1/gems/bosh_cli_plugin_aws-1.2641.0/lib/bosh_cli_plugin_aws/migrator.rb:74:in `run_migrations'
from /var/lib/gems/1.9.1/gems/bosh_cli_plugin_aws-1.2641.0/lib/bosh_cli_plugin_aws/migrator.rb:13:in `migrate'
from /var/lib/gems/1.9.1/gems/bosh_cli_plugin_aws-1.2641.0/lib/bosh/cli/commands/aws.rb:130:in `create'
from /var/lib/gems/1.9.1/gems/bosh_cli-1.2641.0/lib/cli/command_handler.rb:57:in `run'
from /var/lib/gems/1.9.1/gems/bosh_cli-1.2641.0/lib/cli/runner.rb:56:in `run'
from /var/lib/gems/1.9.1/gems/bosh_cli-1.2641.0/lib/cli/runner.rb:16:in `run'
from /var/lib/gems/1.9.1/gems/bosh_cli-1.2641.0/bin/bosh:7:in `<top (required)>'
from /usr/local/bin/bosh:23:in `load'
from /usr/local/bin/bosh:23:in `<main>'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment