[one-users] vCenter support prevents seperate Sunstone installations in ONE 4.10
Hi, 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? Thanks, Stefan -- | BIT BV http://www.bit.nl/Kamer van Koophandel 09090351 | GPG: 0xD14839C6 +31 318 648 688 / i...@bit.nl pgpkVhnY86MXK.pgp Description: PGP signature ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] vCenter support prevents seperate Sunstone installations in ONE 4.10
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 Sorry for the inconvenience On 5 November 2014 10:00, Stefan Kooman ste...@bit.nl wrote: Hi, 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? Thanks, Stefan -- | BIT BV http://www.bit.nl/Kamer van Koophandel 09090351 | GPG: 0xD14839C6 +31 318 648 688 / i...@bit.nl ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- -- Daniel Molina Project Engineer OpenNebula - Flexible Enterprise Cloud Made Simple www.OpenNebula.org | dmol...@opennebula.org | @OpenNebula ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] vCenter support prevents seperate Sunstone installations in ONE 4.10
Quoting Daniel Molina (dmol...@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 / i...@bit.nl ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] vCenter support prevents seperate Sunstone installations in ONE 4.10
Now the rbvmovi gem is missing, this should be also included in the package since it's vendored. As a workaround you can just install the gem using gem install rbvmovi. We will include al these fixes in a new version of the package, sorry. On 5 November 2014 11:53, Stefan Kooman ste...@bit.nl wrote: Quoting Daniel Molina (dmol...@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 / i...@bit.nl -- -- Daniel Molina Project Engineer OpenNebula - Flexible Enterprise Cloud Made Simple www.OpenNebula.org | dmol...@opennebula.org | @OpenNebula ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] vCenter support prevents seperate Sunstone installations in ONE 4.10
Hi Stefan, If you are not using the vcenter integration, you can also disable the routes in sunstone-server.conf and it should work. Cheers On 5 November 2014 13:13, Daniel Molina dmol...@opennebula.org wrote: Now the rbvmovi gem is missing, this should be also included in the package since it's vendored. As a workaround you can just install the gem using gem install rbvmovi. We will include al these fixes in a new version of the package, sorry. On 5 November 2014 11:53, Stefan Kooman ste...@bit.nl wrote: Quoting Daniel Molina (dmol...@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 / i...@bit.nl -- -- Daniel Molina Project Engineer OpenNebula - Flexible Enterprise Cloud Made Simple www.OpenNebula.org | dmol...@opennebula.org | @OpenNebula -- -- Daniel Molina Project Engineer OpenNebula - Flexible Enterprise Cloud Made Simple www.OpenNebula.org | dmol...@opennebula.org | @OpenNebula ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org