[one-users] vCenter support prevents seperate Sunstone installations in ONE 4.10
Daniel Molina
dmolina at opennebula.org
Wed Nov 5 02:03:56 PST 2014
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 <stefan at 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 / info at bit.nl
>
> _______________________________________________
> Users mailing list
> Users at 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 | dmolina at opennebula.org | @OpenNebula
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20141105/a7dceb49/attachment.htm>
More information about the Users
mailing list