bosh aws create DHCP cannot delete error


xiaoshan fang
 

Dear all,

I am deploying cf using bosh aws create. Below is the error message:

details in S3 receipt: aws_vpc_receipt and file: aws_vpc_receipt.yml
/var/lib/gems/2.3.0/gems/aws-sdk-v1-1.60.2/lib/aws/core/client.rb:375:in `return _or_raise': The dhcpOptions 'dopt-6adde40f' has dependencies and cannot be delet ed. (AWS::EC2::Errors::DependencyViolation)
from /var/lib/gems/2.3.0/gems/aws-sdk-v1-1.60.2/lib/aws/core/client.rb:4 76:in `client_request'
from (eval):3:in `delete_dhcp_options'
from /var/lib/gems/2.3.0/gems/aws-sdk-v1-1.60.2/lib/aws/ec2/dhcp_options .rb:78:in `delete'
from /var/lib/gems/2.3.0/gems/bosh_cli_plugin_aws-1.3262.24.0/lib/bosh_c li_plugin_aws/vpc.rb:171:in `create_dhcp_options'
from /var/lib/gems/2.3.0/gems/bosh_cli_plugin_aws-1.3262.24.0/migrations /20130412004642_create_vpc.rb:46:in `execute'
from /var/lib/gems/2.3.0/gems/bosh_cli_plugin_aws-1.3262.24.0/lib/bosh_c li_plugin_aws/migration.rb:21:in `run'
from /var/lib/gems/2.3.0/gems/bosh_cli_plugin_aws-1.3262.24.0/lib/bosh_c li_plugin_aws/migrator.rb:75:in `block in run_migrations'
from /var/lib/gems/2.3.0/gems/bosh_cli_plugin_aws-1.3262.24.0/lib/bosh_c li_plugin_aws/migrator.rb:74:in `each'
from /var/lib/gems/2.3.0/gems/bosh_cli_plugin_aws-1.3262.24.0/lib/bosh_c li_plugin_aws/migrator.rb:74:in `run_migrations'
from /var/lib/gems/2.3.0/gems/bosh_cli_plugin_aws-1.3262.24.0/lib/bosh_c li_plugin_aws/migrator.rb:13:in `migrate'
from /var/lib/gems/2.3.0/gems/bosh_cli_plugin_aws-1.3262.24.0/lib/bosh/c li/commands/aws.rb:130:in `create'
from /var/lib/gems/2.3.0/gems/bosh_cli-1.3262.24.0/lib/cli/command_handl er.rb:57:in `run'
from /var/lib/gems/2.3.0/gems/bosh_cli-1.3262.24.0/lib/cli/runner.rb:59: in `run'
from /var/lib/gems/2.3.0/gems/bosh_cli-1.3262.24.0/bin/bosh:19:in `<top (required)>'
from /usr/local/bin/bosh:23:in `load'
from /usr/local/bin/bosh:23:in `<main>'

My environment is as below:
Ruby 2.3.1 Ubuntu

Could anybody help?
Thanks,
-xiaoshan