在观看了这个很棒的演示视频后,我一直在尝试根据文档在 AWS 上安装 CloudFoundry2并不断遇到问题。
我在 OS X 上,所以我最终安装了rbenv
and Ruby v 1.9.3-p327
,但现在我无法按照指南进行操作,也不知道如何继续。尝试运行bosh aws create
以配置 Amazon 服务时出现以下错误:
→ bosh aws create
/Users/dave/.rbenv/versions/1.9.3-p327/lib/ruby/gems/1.9.1/gems/aws-sdk-1.8.5/lib/aws/core/client.rb:339:in `return_or_raise': Access Denied (AWS::S3::Errors::AccessDenied)
from /Users/dave/.rbenv/versions/1.9.3-p327/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 `get_object'
from /Users/dave/.rbenv/versions/1.9.3-p327/lib/ruby/gems/1.9.1/gems/aws-sdk-1.8.5/lib/aws/s3/s3_object.rb:1272:in `get_object'
from /Users/dave/.rbenv/versions/1.9.3-p327/lib/ruby/gems/1.9.1/gems/aws-sdk-1.8.5/lib/aws/s3/s3_object.rb:1058:in `read'
from /Users/dave/.rbenv/versions/1.9.3-p327/lib/ruby/gems/1.9.1/gems/bosh_cli_plugin_aws-1.5.0.pre.650/lib/bosh_cli_plugin_aws/s3.rb:51:in `block in fetch_object_contents'
from /Users/dave/.rbenv/versions/1.9.3-p327/lib/ruby/gems/1.9.1/gems/bosh_common-1.5.0.pre.650/lib/common/retryable.rb:23:in `block in retryer'
from /Users/dave/.rbenv/versions/1.9.3-p327/lib/ruby/gems/1.9.1/gems/bosh_common-1.5.0.pre.650/lib/common/retryable.rb:21:in `loop'
from /Users/dave/.rbenv/versions/1.9.3-p327/lib/ruby/gems/1.9.1/gems/bosh_common-1.5.0.pre.650/lib/common/retryable.rb:21:in `retryer'
from /Users/dave/.rbenv/versions/1.9.3-p327/lib/ruby/gems/1.9.1/gems/bosh_common-1.5.0.pre.650/lib/common/common.rb:119:in `retryable'
from /Users/dave/.rbenv/versions/1.9.3-p327/lib/ruby/gems/1.9.1/gems/bosh_cli_plugin_aws-1.5.0.pre.650/lib/bosh_cli_plugin_aws/s3.rb:50:in `fetch_object_contents'
from /Users/dave/.rbenv/versions/1.9.3-p327/lib/ruby/gems/1.9.1/gems/bosh_cli_plugin_aws-1.5.0.pre.650/lib/bosh_cli_plugin_aws/migrator.rb:81:in `load_migrations_for_env'
from /Users/dave/.rbenv/versions/1.9.3-p327/lib/ruby/gems/1.9.1/gems/bosh_cli_plugin_aws-1.5.0.pre.650/lib/bosh_cli_plugin_aws/migrator.rb:35:in `environment_migrations'
from /Users/dave/.rbenv/versions/1.9.3-p327/lib/ruby/gems/1.9.1/gems/bosh_cli_plugin_aws-1.5.0.pre.650/lib/bosh_cli_plugin_aws/migrator.rb:40:in `needs_migration?'
from /Users/dave/.rbenv/versions/1.9.3-p327/lib/ruby/gems/1.9.1/gems/bosh_cli_plugin_aws-1.5.0.pre.650/lib/bosh_cli_plugin_aws/migrator.rb:11:in `migrate'
from /Users/dave/.rbenv/versions/1.9.3-p327/lib/ruby/gems/1.9.1/gems/bosh_cli_plugin_aws-1.5.0.pre.650/lib/bosh/cli/commands/aws.rb:125:in `create'
from /Users/dave/.rbenv/versions/1.9.3-p327/lib/ruby/gems/1.9.1/gems/bosh_cli-1.5.0.pre.650/lib/cli/command_handler.rb:57:in `run'
from /Users/dave/.rbenv/versions/1.9.3-p327/lib/ruby/gems/1.9.1/gems/bosh_cli-1.5.0.pre.650/lib/cli/runner.rb:59:in `run'
from /Users/dave/.rbenv/versions/1.9.3-p327/lib/ruby/gems/1.9.1/gems/bosh_cli-1.5.0.pre.650/lib/cli/runner.rb:18:in `run'
from /Users/dave/.rbenv/versions/1.9.3-p327/lib/ruby/gems/1.9.1/gems/bosh_cli-1.5.0.pre.650/bin/bosh:7:in `<top (required)>'
from /Users/dave/.rbenv/versions/1.9.3-p327/bin/bosh:23:in `load'
from /Users/dave/.rbenv/versions/1.9.3-p327/bin/bosh:23:in `<main>'
如果可能的话,我真的很想避免手动设置所有 AWS 组件,但如果需要,我可以走这条路(假设有一些好的文档要遵循)。
波什详情
→ gem list bosh
*** LOCAL GEMS ***
bosh (1.3.0)
bosh_aws_cpi (1.5.0.pre.650)
bosh_cli (1.5.0.pre.650, 1.0.3)
bosh_cli_plugin_aws (1.5.0.pre.650)
bosh_cli_plugin_micro (1.5.0.pre.650)
bosh_common (1.5.0.pre.650, 0.5.4)
bosh_cpi (1.5.0.pre.650)
bosh_openstack_cpi (1.5.0.pre.650)
bosh_registry (1.5.0.pre.650)
bosh_vcloud_cpi (1.5.0.pre.650)
bosh_vsphere_cpi (1.5.0.pre.650)
额外的波什信息(可能不相关,因为我没有部署任何东西
→ bosh status
Config
/Users/dave/.bosh_config
Director
not set
Deployment
not set
任何帮助,将不胜感激。谢谢!