cloudfoundry-community-attic / bosh-bootstrap

From zero to a running micro BOSH in one command line
MIT License
63 stars 46 forks source link

bosh-bootstrap fails on kernal_require.rb #321

Open ghost opened 9 years ago

ghost commented 9 years ago

Hi,

I am trying to deploy cloud foundry on openstack using travelling bosh. When I enter the command "bosh-bootstrap deploy", it fails at

/home/..../.rvm/rubies/ruby-2.2.1/lib/ruby/site_ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:inrequire': cannot load such file -- bundler (LoadError) from /home/.../.rvm/rubies/ruby-2.2.1/lib/ruby/site_ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in require' from /home/..../.rvm/gems/ruby-2.2.1/gems/bosh-bootstrap-0.16.2/lib/bosh-bootstrap/cli/helpers/bundle.rb:5:in<top (required)>' from /home/.../.rvm/rubies/ruby-2.2.1/lib/ruby/site_ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in require' from /home/.../.rvm/rubies/ruby-2.2.1/lib/ruby/site_ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:inrequire' from /home/..../.rvm/gems/ruby-2.2.1/gems/bosh-bootstrap-0.16.2/lib/bosh-bootstrap/cli/helpers.rb:3:in <top (required)>' from /home/..../.rvm/rubies/ruby-2.2.1/lib/ruby/site_ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:inrequire' from /home/.../.rvm/rubies/ruby-2.2.1/lib/ruby/site_ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in require' from /home/.../.rvm/gems/ruby-2.2.1/gems/bosh-bootstrap-0.16.2/lib/bosh-bootstrap/microbosh.rb:2:in<top (required)>' from /home/.../.rvm/rubies/ruby-2.2.1/lib/ruby/site_ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in require' from /home/.../.rvm/rubies/ruby-2.2.1/lib/ruby/site_ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:inrequire' from /home/.../.rvm/gems/ruby-2.2.1/gems/bosh-bootstrap-0.16.2/lib/bosh-bootstrap.rb:20:in <top (required)>' from /home/.../.rvm/rubies/ruby-2.2.1/lib/ruby/site_ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:inrequire' from /home/.../.rvm/rubies/ruby-2.2.1/lib/ruby/site_ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in require' from /home/.../.rvm/gems/ruby-2.2.1/gems/bosh-bootstrap-0.16.2/bin/bosh-bootstrap:6:in<top (required)>' from /home/.../.rvm/gems/ruby-2.2.1/bin/bosh-bootstrap:23:in load' from /home/..../.rvm/gems/ruby-2.2.1/bin/bosh-bootstrap:23:in

' from /home/.../.rvm/gems/ruby-2.2.1/bin/ruby_executable_hooks:15:in eval' from /home/.../.rvm/gems/ruby-2.2.1/bin/ruby_executable_hooks:15:in
`

Does anyone have any ideas?

drnic commented 9 years ago

Sorry, try "gem install bundler" first

On Fri, Nov 20, 2015 at 3:44 PM, HifzaK notifications@github.com wrote:

Hi, I am trying to deploy cloud foundry on openstack using travelling bosh. When I enter the command "bosh-bootstrap deploy", it fails at /home/..../.rvm/rubies/ruby-2.2.1/lib/ruby/site_ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:inrequire': cannot load such file -- bundler (LoadError) from /home/.../.rvm/rubies/ruby-2.2.1/lib/ruby/site_ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in require' from /home/..../.rvm/gems/ruby-2.2.1/gems/bosh-bootstrap-0.16.2/lib/bosh-bootstrap/cli/helpers/bundle.rb:5:in<top (required)>' from /home/.../.rvm/rubies/ruby-2.2.1/lib/ruby/site_ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in require' from /home/.../.rvm/rubies/ruby-2.2.1/lib/ruby/site_ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:inrequire' from /home/..../.rvm/gems/ruby-2.2.1/gems/bosh-bootstrap-0.16.2/lib/bosh-bootstrap/cli/helpers.rb:3:in <top (required)>' from /home/..../.rvm/rubies/ruby-2.2.1/lib/ruby/site_ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:inrequire' from /home/.../.rvm/rubies/ruby-2.2.1/lib/ruby/site_ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in require' from /home/.../.rvm/gems/ruby-2.2.1/gems/bosh-bootstrap-0.16.2/lib/bosh-bootstrap/microbosh.rb:2:in<top (required)>' from /home/.../.rvm/rubies/ruby-2.2.1/lib/ruby/site_ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in require' from /home/.../.rvm/rubies/ruby-2.2.1/lib/ruby/site_ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:inrequire' from /home/.../.rvm/gems/ruby-2.2.1/gems/bosh-bootstrap-0.16.2/lib/bosh-bootstrap.rb:20:in <top (required)>' from /home/.../.rvm/rubies/ruby-2.2.1/lib/ruby/site_ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:inrequire' from /home/.../.rvm/rubies/ruby-2.2.1/lib/ruby/site_ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in require' from /home/.../.rvm/gems/ruby-2.2.1/gems/bosh-bootstrap-0.16.2/bin/bosh-bootstrap:6:in<top (required)>' from /home/.../.rvm/gems/ruby-2.2.1/bin/bosh-bootstrap:23:in load' from /home/..../.rvm/gems/ruby-2.2.1/bin/bosh-bootstrap:23:in

' from /home/.../.rvm/gems/ruby-2.2.1/bin/ruby_executable_hooks:15:in eval' from /home/.../.rvm/gems/ruby-2.2.1/bin/ruby_executable_hooks:15:in
`

Does anyone have any ideas?

Reply to this email directly or view it on GitHub: https://github.com/cloudfoundry-community/bosh-bootstrap/issues/321

ghost commented 9 years ago

Thanks, it worked.

ghost commented 9 years ago

Is there a way to resolve the following issue without running stack.sh again

create stemcell failed: Invalid OpenStack cloud properties: #<Membrane::SchemaValidationError: { openstack => { api_key => Expected instance of String, given an instance of Fixnum } }>:

Neither changing the openstack password helps nor editing the api_key in micro_bosh.yml.

drnic commented 9 years ago

Perhaps can you create a new issue for this so it doesn't get lost?

On Fri, Nov 20, 2015 at 7:58 PM, HifzaK notifications@github.com wrote:

Is there a way to resolve the following issue without running stack.sh again

create stemcell failed: Invalid OpenStack cloud properties: #<Membrane::SchemaValidationError: { openstack => { api_key => Expected instance of String, given an instance of Fixnum } }>:

Reply to this email directly or view it on GitHub: https://github.com/cloudfoundry-community/bosh-bootstrap/issues/321#issuecomment-158584629

ghost commented 9 years ago

Sure.