[one-users] vCenter support prevents seperate Sunstone installations in ONE 4.10

Stefan Kooman stefan at bit.nl
Wed Nov 5 02:53:21 PST 2014


Quoting Daniel Molina (dmolina at opennebula.org):
> Hi Stefan,
> 
> Indeed it is a bug, a file is missing in the sunstone package. You can fix
> it including the following file in /usr/lib/one/ruby
> https://github.com/OpenNebula/one/blob/master/src/vmm_mad/remotes/vcenter/vcenter_driver.rb

This is not sufficient, new error is thrown:

[ 2014-11-05 11:30:54.4794 21003/7f59add87700 Pool2/Implementation.cpp:287 ]: Could not spawn process for application
 /usr/lib/one/sunstone: An error occured while starting up the preloader.
  Error ID: a6f5c45b
  Error details saved to: /tmp/passenger-error-W31QXw.html
  Message from application: cannot load such file -- rbvmomi (LoadError)
  /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
  /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
  /usr/lib/one/ruby/vcenter_driver.rb:39:in `<top (required)>'
  /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
  /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
  /usr/lib/one/sunstone/routes/vcenter.rb:26:in `<top (required)>'
  /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
  /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
  /usr/lib/one/sunstone/sunstone-server.rb:323:in `block in <top (required)>'
  /usr/lib/one/sunstone/sunstone-server.rb:322:in `each'
  /usr/lib/one/sunstone/sunstone-server.rb:322:in `<top (required)>'
  /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
  /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
  config.ru:10:in `block in <main>'
  /usr/lib/ruby/vendor_ruby/rack/builder.rb:55:in `instance_eval'
  /usr/lib/ruby/vendor_ruby/rack/builder.rb:55:in `initialize'
  config.ru:1:in `new'
  config.ru:1:in `<main>'
  /usr/share/passenger/helper-scripts/rack-preloader.rb:112:in `eval'
  /usr/share/passenger/helper-scripts/rack-preloader.rb:112:in `preload_app'
  /usr/share/passenger/helper-scripts/rack-preloader.rb:158:in `<module:App>'
  /usr/share/passenger/helper-scripts/rack-preloader.rb:29:in `<module:PhusionPassenger>'
  /usr/share/passenger/helper-scripts/rack-preloader.rb:28:in `<main>'

Message from application: cannot load such file -- rbvmomi (LoadError). It
turns out that "/usr/lib/one/ruby/vendors/rbvmomi" is also missing. 
> 
> Sorry for the inconvenience

Sorry for not having tested this earlier ...

Gr. Stefan

-- 
| BIT BV  http://www.bit.nl/        Kamer van Koophandel 09090351
| GPG: 0xD14839C6                   +31 318 648 688 / info at bit.nl


More information about the Users mailing list