Skip to content
This repository has been archived by the owner on Nov 29, 2017. It is now read-only.

bosh-bootstrap fails on kernal_require.rb #321

Open
ghost opened this issue Nov 20, 2015 · 5 comments
Open

bosh-bootstrap fails on kernal_require.rb #321

ghost opened this issue Nov 20, 2015 · 5 comments

Comments

@ghost
Copy link

ghost commented Nov 20, 2015

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:in require': 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:in require'
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:in require'
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:in require'
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:in require'
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
Copy link
Contributor

drnic commented Nov 21, 2015

Sorry, try "gem install bundler" first

On Fri, Nov 20, 2015 at 3:44 PM, HifzaK [email protected] 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:in require': 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:in require'
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:in require'
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:in require'
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:in require'
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:
#321

@ghost
Copy link
Author

ghost commented Nov 21, 2015

Thanks, it worked.

@ghost
Copy link
Author

ghost commented Nov 21, 2015

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
Copy link
Contributor

drnic commented Nov 21, 2015

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 [email protected] 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:
#321 (comment)

@ghost
Copy link
Author

ghost commented Nov 21, 2015

Sure.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant