[one-users] onevm bug: bignum too big to convert into `long'

Nathan Hruby nhruby at gmail.com
Tue Jun 21 08:11:41 PDT 2011


Hi folks!

I have an odd problem with onevm in that it issues a traceback when
doing a show:

===
[oneadmin at oneadmin-1 build]$ onevm list
   ID     USER     NAME STAT CPU     MEM        HOSTNAME        TIME
    9 oneadmin ttylinux runn   0     64M vmm-onenode-1.v 16 21:47:47
   10 oneadmin vmtest1 runn   0      8G vmm-onenode-2.v 16 21:46:31
   17 oneadmin vmtest1 runn   0    7.9G vmm-onenode-2.v 11 13:37:45
   20 oneadmin ttylinux runn   0     64M vmm-onenode-2.v 11 00:26:00
[oneadmin at oneadmin-1 build]$ onevm show 20
VIRTUAL MACHINE 20 INFORMATION
ID             : 20
NAME           : ttylinuxttylinux
STATE          : ACTIVE
LCM_STATE      : RUNNING
/usr/bin/onevm:866:in `at': bignum too big to convert into `long' (RangeError)
        from /usr/bin/onevm:866
        from /usr/bin/onevm:843:in `each'
        from /usr/bin/onevm:843
[oneadmin at oneadmin-1 build]$
====

This is on CentOS 5.6 x86_64 + EPEL5 + OpenNebula-2.2.1 +
Ruby-1.8.7-p299 (the rhel6 ruby)

The erroring value seems to be the STIME value, which when manually
run though irb yields the correct string, so I can only assume that
either the xml-rpc server is producing the incorrect result, or more
probably, I have an older ruby library that doesn't like the longer
time value.  What are the correct version dependencies for ruby
libraries for OpenNebula?

Here's what I have installed, ruby-wise:

ruby-shadow-1.4.1-7.el5.x86_64
ruby-irb-1.8.7.299-6.el5.x86_64
rubygem-sys-proctable-0.9.0-1.noarch
rubygem-mkrf-0.2.3-4.el5.noarch
rubygem-daemons-1.0.10-1.el5.noarch
rubygem-rack-test-0.4.0-1.el5.noarch
rubygem-rack-1.1.0-2.el5.noarch
ruby-ldap-0.9.7-3.el5.x86_64
ruby-1.8.7.299-6.el5.x86_64
ruby-augeas-0.4.1-1.el5.x86_64
ruby-rdoc-1.8.7.299-6.el5.x86_64
rubygem-test-unit-2.3.0-2.el5.noarch
rubygem-rake-0.8.7-2.el5.noarch
rubygem-xmlparser-0.6.81.1-2.el5.x86_64
rubygem-eventmachine-0.12.10-4.el5.x86_64
rubygem-json-1.4.3-3.el5.1.x86_64
rubygem-sinatra-1.0-2.el5.noarch
rubygem-thin-1.2.8-2.el5.x86_64
ruby-libs-1.8.7.299-6.el5.x86_64
rubygems-1.3.7-1.el5.noarch
rubygem-stomp-1.1.8-1.el5.noarch
rubygem-nokogiri-1.3.1-1.el5.x86_64

Thanks,

-n
-- 
-------------------------------------------
nathan hruby <nhruby at gmail.com>
metaphysically wrinkle-free
-------------------------------------------



More information about the Users mailing list