[Pkg-opennebula-devel] Bug#684947: Bug#684947: Bug#684947: ruby-opennebula: Missing ruby libraries: OZonesJSON

Martin Steigerwald ms at teamix.de
Tue Aug 28 12:05:46 UTC 2012


Am Donnerstag, 16. August 2012, 10:34:06 schrieb Damien Raude-Morvan:
> Hi,

Hi,

> Le 15/08/2012 14:53, Chlon Michaël a écrit :
> > Le 15/08/2012 13:54, gregor herrmann a écrit :
> >> On Wed, 15 Aug 2012 10:43:05 +0200, Chlon Michaël wrote:
> >>> It appears that: /usr/lib/one/ruby/zona/ belongs to: opennebula, pakage
> >>> ! Is it possible to forward my request to the maintainer of the
> >>> package or am I forced to  open a new ticket ?
> >> 
> >> opennebula is built from the same source package, so the maintainer
> >> should already see this bug report.
> >> 
> >> Cheers,
> >> gregor
> > 
> > OK !
> 
> JFTR, I am main maintainer of OpenNebula Debian package but I'm not user
> of ozone part of opennebula (and AFAIK, no others members of package
> maintainers teams use ozone).

I tried to use it and fixed the missing OZonesJSON for OpenNebula 3.6 experimental branch in 
packaging repo:

> > In order to give more details:
> > - After starting ozone server: ozones-server start
> > - I try, first, to see if there is any zone:
> > - onezone list
> > And the response is:
> > === 8< ======================================
> > 
> > /usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:36:in
> > `gem_original_require': no such file to load -- *zona/OZonesJSON
> > (LoadError)*
> > 
> >      from /usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:36:in
> > 
> > `require'
> > 
> >      from /usr/lib/one/ruby/zona.rb:22
> >      from /usr/lib/one/ruby/cli/ozones_helper.rb:17:in `require'
> >      from /usr/lib/one/ruby/cli/ozones_helper.rb:17
> >      from /usr/lib/one/ruby/cli/ozones_helper/zones_helper.rb:1:in
> >      `require' from
> >      /usr/lib/one/ruby/cli/ozones_helper/zones_helper.rb:1
> >      from /usr/bin/onezone:31:in `require'
> >      from /usr/bin/onezone:31
> > 
> > == 8< ======================================
> > 
> > So you can see that there is a missing "OZonesJSON"  under "zona"
> > directory !
> > so there is perhaps more files / modules that are missing ...
> > Is this explanation, put you on the right way ?
> 
> Yep, it seems that part of oZone feature is not installed into binary
> package. I'll have a look at this soon.

I fixed stuff in experimental (for OpenNebula 3.6) branch of the OpenNebula packaging repository. 
This should be easily merge- oder backportable to 3.4 branch.

http://anonscm.debian.org/gitweb/?p=pkg-
opennebula/opennebula.git;a=commit;h=25b7a0b7a42a73126410393a4350f51aa53fe8a7

diff --git a/debian/ruby-opennebula.install b/debian/ruby-opennebula.install
index b0a8b63..2d50b87 100644 (file)
--- a/debian/ruby-opennebula.install
+++ b/debian/ruby-opennebula.install
@@ -5,10 +5,7 @@ dist/usr/lib/one/ruby/server_cipher_auth.rb             /usr/lib/one/ruby/
 dist/usr/lib/one/ruby/server_x509_auth.rb               /usr/lib/one/ruby/
 dist/usr/lib/one/ruby/x509_auth.rb                      /usr/lib/one/ruby/
 dist/usr/lib/one/ruby/zona.rb                           /usr/lib/one/ruby/
-dist/usr/lib/one/ruby/zona/*                            /usr/lib/one/ruby/
-
-dist/usr/lib/one/ruby/zona/OZonesJSON.rb                /usr/lib/one/ruby/zona/
-dist/usr/lib/one/ruby/zona/OZonesJSON                   /usr/lib/one/ruby/zona/OZonesJSON/
+dist/usr/lib/one/ruby/zona/*                            /usr/lib/one/ruby/zona/
 
 dist/usr/lib/one/ruby/cloud/CloudAuth.rb                /usr/lib/one/ruby/cloud/
 dist/usr/lib/one/ruby/cloud/CloudAuth/X509CloudAuth.rb  /usr/lib/one/ruby/cloud/CloudAuth/


(note that the minus lines where erraneous attempts to fix the issue – it was hot at that day.)

Still I can´t login to OZones-Server and did not yet found out why. That might be a 3.6 packaging 
issue and for 3.4 the above fix

+dist/usr/lib/one/ruby/zona/*                            /usr/lib/one/ruby/zona/

might be all whats needed. I did not test that yet.

I am holding a training this and next week and have two week holidays after that, so it might take a 
while till I get back to this.

We have interest in evaluation of OZones so I intend to follow up on this.

> Michaël, are you willing to test any beta package ?

Count me in as well as I manage to take time for it.

Thanks,
-- 
Martin Steigerwald
Trainer / Consultant

teamix GmbH
Solide IT-Infrastruktur
Südwestpark 35
90449 Nürnberg

fon:   +49 (911) 30999- 0
fax:   +49 (911) 30999-99
mail:  ms at teamix.de
web:   http://www.teamix.de
vcf:   http://www.teamix.de/vcf/ms.vcf
gpg:   19E3 8D42 896F D004 08AC
       A0CA 1E10 C593 0399 AE90

Amtsgericht Nürnberg, HRB 18320
Geschäftsführer: Oliver Kügow, Richard Müller



More information about the Pkg-opennebula-devel mailing list