[英]CloudFoundry microbosh unable to deploy on AWS
我在這里https://github.com/cloudfoundry/cf-release/tree/master/example_manifests遵循了“最小AWS部署”指南來嘗試CloudFoundry。
我知道我必須安裝bosh_cli_plugin_micro,但是當我在AWS Ubuntu 14.04 VM上運行它時:
gem install bosh_cli_plugin_micro
我得到:
ERROR: While executing gem ... (Gem::DependencyError)
Unable to resolve dependencies: blobstore_client requires aws-sdk-resources (= 2.2.0); aws-sdk requires aws-sdk-v1 (= 1.60.2)
安裝AWS ruby sdk無法解決問題。 我懷疑aws sdk是比micro bosh cli期望的版本新的問題。 有人有什么建議嗎?
確保獲得一致的寶石集的一種方法是創建一個Gemfile
如下所示:
source 'https://rubygems.org'
gem 'bosh_cli'
gem 'bosh_cli_plugin_micro'
然后從與放置Gemfile
相同的工作目錄中運行bundle
命令。 為了確保您始終使用正確版本的CLI和插件,請在bundle exec
命令,例如
$ bundle exec bosh micro deploy /path/to/stemcell
您甚至可能希望別名化bosh
來bundle exec bosh
。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.