我正在使用橡胶部署到 EC2(遵循 Railscast #347)。我刚刚运行“cap rubber:create_staging”并收到此错误:
"Groups belonging to other users may not be granted permissions to VPC security groups."
mike@sleepycat:~/projects/usesthis☺ cap rubber:create_staging
Respawning with 'bundle exec'
triggering load callbacks
* 2013-08-19 08:55:19 executing `rubber:init'
* 2013-08-19 08:55:21 executing `rubber:create_staging'
Hostname to use for staging instance [production]:
Roles to use for staging instance [apache,app,collectd,common,db:primary=true,elasticsearch,examples,graphite_server,graphite_web,graylog_elasticsearch,graylog_mongodb,graylog_server,graylog_web,haproxy,mongodb,monit,passenger,postgresql,postgresql_master,web,web_tools]:
* 2013-08-19 08:55:23 executing `rubber:create'
* Creating new security group: usesthis_production_default
* Creating new rule: {"source_group_name"=>"usesthis_production_default", "source_group_account"=>"9050-9101-9552"}
/home/mike/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/excon-0.25.3/lib/excon/middlewares/expects.rb:6:in `response_call': InvalidParameterValue => Groups belonging to other users may not be granted permissions to VPC security groups. (Fog::Compute::AWS::Error)
除了亚马逊的默认设置和 Rubber 创建的内容之外,我的帐户中没有任何内容。VPC 是:“usesthis_production_default”和“default”。
这是我第一次接触 Rubber 或 EC2,所以这对我来说意义不大。谁能指出我正确的方向?