<div dir="ltr">Hi Stefan,<div><br></div><div>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</div><div><a href="https://github.com/OpenNebula/one/blob/master/src/vmm_mad/remotes/vcenter/vcenter_driver.rb">https://github.com/OpenNebula/one/blob/master/src/vmm_mad/remotes/vcenter/vcenter_driver.rb</a><br></div><div><br></div><div>Sorry for the inconvenience </div></div><div class="gmail_extra"><br><div class="gmail_quote">On 5 November 2014 10:00, Stefan Kooman <span dir="ltr"><<a href="mailto:stefan@bit.nl" target="_blank">stefan@bit.nl</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
I upgraded two test installs to ONE 4.10. All went fine on the VM with a "all in<br>
one" setup (ONE / SUNSTONE on the same server). But on the test<br>
installation with opennebula and sunstone in seperate virtual machines,<br>
Sunstone throws this error:<br>
<br>
[ 2014-11-05 09:26:35.1733 6489/7fd61076a700 Pool2/Implementation.cpp:287 ]:<br>
Could not spawn process for application /usr/lib/one/sunstone: An error occured<br>
while starting up the preloader.<br>
Error ID: bf1abc0e<br>
Error details saved to: /tmp/passenger-error-Cd1rIQ.html<br>
Message from application: cannot load such file -- vcenter_driver (LoadError)<br>
/usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'<br>
/usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'<br>
/usr/lib/one/sunstone/routes/vcenter.rb:26:in `<top (required)>'<br>
/usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'<br>
/usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'<br>
/usr/lib/one/sunstone/sunstone-server.rb:323:in `block in <top (required)>'<br>
/usr/lib/one/sunstone/sunstone-server.rb:322:in `each'<br>
/usr/lib/one/sunstone/sunstone-server.rb:322:in `<top (required)>'<br>
/usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'<br>
/usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'<br>
config.ru:9:in `block in <main>'<br>
/usr/lib/ruby/vendor_ruby/rack/builder.rb:55:in `instance_eval'<br>
/usr/lib/ruby/vendor_ruby/rack/builder.rb:55:in `initialize'<br>
config.ru:1:in `new'<br>
config.ru:1:in `<main>'<br>
/usr/share/passenger/helper-scripts/rack-preloader.rb:112:in `eval'<br>
/usr/share/passenger/helper-scripts/rack-preloader.rb:112:in `preload_app'<br>
/usr/share/passenger/helper-scripts/rack-preloader.rb:158:in `<module:App>'<br>
/usr/share/passenger/helper-scripts/rack-preloader.rb:29:in `<module:PhusionPassenger>'<br>
/usr/share/passenger/helper-scripts/rack-preloader.rb:28:in `<main>'<br>
<br>
Most notably "Message from application: cannot load such file -- vcenter_driver (LoadError)".<br>
It turns out that if I move "/var/lib/one/remotes/im/vcenter.d,<br>
/var/lib/one/remotes/vmm/vcenter" out of the way, Sunstone throws this error.<br>
If I comment "- vcenter" in sunstone-server.conf, Sunstone works fine.<br>
<br>
Is this a (new) dependency from Sunstone for vcenter support? Or a bug? Or did<br>
I miss something?<br>
<br>
Thanks,<br>
<br>
Stefan<br>
<span class="HOEnZb"><font color="#888888"><br>
<br>
<br>
--<br>
| BIT BV <a href="http://www.bit.nl/" target="_blank">http://www.bit.nl/</a> Kamer van Koophandel 09090351<br>
| GPG: 0xD14839C6 <a href="tel:%2B31%20318%20648%20688" value="+31318648688">+31 318 648 688</a> / <a href="mailto:info@bit.nl">info@bit.nl</a><br>
</font></span><br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opennebula.org">Users@lists.opennebula.org</a><br>
<a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div>--<br></div>Daniel Molina<br>Project Engineer<br>OpenNebula - Flexible Enterprise Cloud Made Simple<br><a href="http://www.OpenNebula.org" target="_blank">www.OpenNebula.org</a> | <a href="mailto:dmolina@opennebula.org" target="_blank">dmolina@opennebula.org</a> | @OpenNebula</div></div>
</div>