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

Stefan Kooman stefan at bit.nl
Wed Nov 5 01:00:04 PST 2014


I upgraded two test installs to ONE 4.10. All went fine on the VM with a "all in
one" setup (ONE / SUNSTONE on the same server). But on the test
installation with opennebula and sunstone in seperate virtual machines,
Sunstone throws this error:

[ 2014-11-05 09:26:35.1733 6489/7fd61076a700 Pool2/Implementation.cpp:287 ]:
Could not spawn process for application /usr/lib/one/sunstone: An error occured
while starting up the preloader.
  Error ID: bf1abc0e
  Error details saved to: /tmp/passenger-error-Cd1rIQ.html
  Message from application: cannot load such file -- vcenter_driver (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/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:9: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>'

Most notably "Message from application: cannot load such file -- vcenter_driver (LoadError)".
It turns out that if I move "/var/lib/one/remotes/im/vcenter.d,
/var/lib/one/remotes/vmm/vcenter" out of the way, Sunstone throws this error.
If I comment "- vcenter" in sunstone-server.conf, Sunstone works fine.

Is this a (new) dependency from Sunstone for vcenter support? Or a bug? Or did
I miss something?



| BIT BV  http://www.bit.nl/        Kamer van Koophandel 09090351
| GPG: 0xD14839C6                   +31 318 648 688 / info at bit.nl
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 230 bytes
Desc: not available
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20141105/d8bb5406/attachment.pgp>

More information about the Users mailing list