Bug #2331

Missing Gems on standalone Sunstone package installation on Ubuntu 12.04

Added by Simon Boulet almost 8 years ago. Updated over 7 years ago.

Status:ClosedStart date:09/19/2013
Priority:NormalDue date:
Assignee:Jaime Melis% Done:

0%

Category:Packaging
Target version:Release 4.4
Resolution:fixed Pull request:
Affected Versions:OpenNebula 4.2

Description

Installing latest opennebula-sunstone from the OpenNebula Ubuntu 12.04 repository also installs ruby-opennebula and opennebula-common dependencies. However, the cloud/CloudClient gem is not packaged inside ruby-opennebula, instead it can be found in opennebula-tools. Sunstone will not start without it.

The package opennebula-tools has to be manually installed (apt-get install opennebula-tools)

I suppose all the ruby gems should be moved to the ruby-opennebula package, or opennebula-tools added as a dependency to opennebula-sunstone.

The following error can be seen in /var/log/one/sunstone.error:

/usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:36:in `gem_original_require': no such file to load -- cloud/CloudClient (LoadError)
from /usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:36:in `require'
from /usr/lib/one/ruby/cloud/marketplace/marketplace_client.rb:18
from /usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:36:in `gem_original_require'
from /usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:36:in `require'
from /usr/lib/one/sunstone/models/SunstoneMarketplace.rb:17
from /usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:36:in `gem_original_require'
from /usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:36:in `require'
from /usr/lib/one/sunstone/models/SunstoneServer.rb:26
from /usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:36:in `gem_original_require'
from /usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:36:in `require'
from /usr/lib/one/sunstone/sunstone-server.rb:60

History

#1 Updated by Ruben S. Montero almost 8 years ago

  • Assignee set to Jaime Melis
  • Target version set to Release 4.4

#2 Updated by Ruben S. Montero almost 8 years ago

  • Status changed from Pending to New

#3 Updated by Jaime Melis over 7 years ago

  • Status changed from New to Closed
  • Resolution set to fixed

fixed

Thanks!

EDIT: we did: opennebula-tools added as a dependency to opennebula-sunstone

Also available in: Atom PDF