Open Foundack上的Cloud Foundry v2

时间:2013-11-16 15:10:18

标签: cloudfoundry openstack

我想知道在openstack上运行云代工厂的步骤是什么?是否有适用于新版Cloud Foundry的任何教程或步骤。我试过这里发布的方法https://gist.github.com/yudai/5832367。但我有以下错误。

syck has been removed, psych is used instead
/home/thunder/.rvm/gems/ruby-2.0.0-p247/gems/bosh_cli-1.0.3/lib/cli/yaml_helper.rb:48:in check_duplicate_keys': Cannot find Syck parser for YAML, please check your Ruby installation (RuntimeError)
    from /home/thunder/.rvm/gems/ruby-2.0.0-p247/gems/bosh_cli-1.0.3/lib/cli/core_ext.rb:76:in load_yaml_file'
    from /home/thunder/.rvm/gems/ruby-2.0.0-p247/gems/bosh_cli-1.0.3/lib/cli/config.rb:49:in initialize'
    from /home/thunder/.rvm/gems/ruby-2.0.0-p247/gems/bosh_cli-1.0.3/lib/cli/base_command.rb:38:in new'
    from /home/thunder/.rvm/gems/ruby-2.0.0-p247/gems/bosh_cli-1.0.3/lib/cli/base_command.rb:38:in config'
    from /home/thunder/.rvm/gems/ruby-2.0.0-p247/gems/bosh_cli-1.0.3/lib/cli/base_command.rb:96:in target'
    from /home/thunder/.rvm/gems/ruby-2.0.0-p247/gems/bosh_cli-1.0.3/lib/cli/base_command.rb:168:in target_required'
    from /home/thunder/.rvm/gems/ruby-2.0.0-p247/gems/bosh_cli-1.0.3/lib/cli/base_command.rb:163:in auth_required'
    from /home/thunder/.rvm/gems/ruby-2.0.0-p247/gems/bosh_cli-1.0.3/lib/cli/commands/release.rb:87:in upload'
    from /home/thunder/.rvm/gems/ruby-2.0.0-p247/gems/bosh_cli-1.0.3/lib/cli/command_handler.rb:57:in run'
    from /home/thunder/.rvm/gems/ruby-2.0.0-p247/gems/bosh_cli-1.0.3/lib/cli/runner.rb:61:in run'
    from /home/thunder/.rvm/gems/ruby-2.0.0-p247/gems/bosh_cli-1.0.3/lib/cli/runner.rb:18:in run'
    from /home/thunder/.rvm/gems/ruby-2.0.0-p247/gems/bosh_cli-1.0.3/bin/bosh:16:in <top (required)>'
    from /home/thunder/.rvm/gems/ruby-2.0.0-p247/bin/bosh:23:in load'
    from /home/thunder/.rvm/gems/ruby-2.0.0-p247/bin/bosh:23:in <main>'
    from /home/thunder/.rvm/gems/ruby-2.0.0-p247/bin/ruby_executable_hooks:15:in eval'
    from /home/thunder/.rvm/gems/ruby-2.0.0-p247/bin/ruby_executable_hooks:15:in <main>'
thunder@ubuntu:~/stemcells$ bosh deploy
syck has been removed, psych is used instead
/home/thunder/.rvm/gems/ruby-2.0.0-p247/gems/bosh_cli-1.0.3/lib/cli/yaml_helper.rb:48:in check_duplicate_keys': Cannot find Syck parser for YAML, please check your Ruby installation (RuntimeError)
    from /home/thunder/.rvm/gems/ruby-2.0.0-p247/gems/bosh_cli-1.0.3/lib/cli/core_ext.rb:76:in load_yaml_file'
    from /home/thunder/.rvm/gems/ruby-2.0.0-p247/gems/bosh_cli-1.0.3/lib/cli/config.rb:49:in initialize'
    from /home/thunder/.rvm/gems/ruby-2.0.0-p247/gems/bosh_cli-1.0.3/lib/cli/base_command.rb:38:in new'
    from /home/thunder/.rvm/gems/ruby-2.0.0-p247/gems/bosh_cli-1.0.3/lib/cli/base_command.rb:38:in config'
    from /home/thunder/.rvm/gems/ruby-2.0.0-p247/gems/bosh_cli-1.0.3/lib/cli/base_command.rb:96:in target'
    from /home/thunder/.rvm/gems/ruby-2.0.0-p247/gems/bosh_cli-1.0.3/lib/cli/base_command.rb:168:in target_required'
    from /home/thunder/.rvm/gems/ruby-2.0.0-p247/gems/bosh_cli-1.0.3/lib/cli/base_command.rb:163:in auth_required'
    from /home/thunder/.rvm/gems/ruby-2.0.0-p247/gems/bosh_cli-1.0.3/lib/cli/commands/deployment.rb:87:in perform'
    from /home/thunder/.rvm/gems/ruby-2.0.0-p247/gems/bosh_cli-1.0.3/lib/cli/command_handler.rb:57:in run'
    from /home/thunder/.rvm/gems/ruby-2.0.0-p247/gems/bosh_cli-1.0.3/lib/cli/runner.rb:61:in run'
    from /home/thunder/.rvm/gems/ruby-2.0.0-p247/gems/bosh_cli-1.0.3/lib/cli/runner.rb:18:in run'
    from /home/thunder/.rvm/gems/ruby-2.0.0-p247/gems/bosh_cli-1.0.3/bin/bosh:16:in <top (required)>'
    from /home/thunder/.rvm/gems/ruby-2.0.0-p247/bin/bosh:23:in load'
    from /home/thunder/.rvm/gems/ruby-2.0.0-p247/bin/bosh:23:in <main>'
    from /home/thunder/.rvm/gems/ruby-2.0.0-p247/bin/ruby_executable_hooks:15:in eval'
    from /home/thunder/.rvm/gems/ruby-2.0.0-p247/bin/ruby_executable_hooks:15:in <main>'

我对云代工厂和openstack的这个基础非常陌生。如果有人能让我通过将会有很大帮助。因为这是我的最后一年项目。先谢谢你。 :)

2 个答案:

答案 0 :(得分:0)

答案 1 :(得分:0)