Re: [one-users] oneacct doesn't work (bug)

2012-01-18 Thread Javier Fontan
Lovely, I'll take a look into it. If you happen to have an accounting database where this happens and you don't have sensible data in it can you get in touch with me to send it? Thanks On Wed, Jan 18, 2012 at 6:15 PM, Olivier Sallou wrote: > > > Le 1/18/12 5:40 PM, Javier Fontan a écrit : >> Th

Re: [one-users] oneacct doesn't work (bug)

2012-01-18 Thread Olivier Sallou
Le 1/18/12 5:40 PM, Javier Fontan a écrit : > That is indeed a problem, inside network there should be another hash > with tx and rx. Can you check that xml output (-x) has the same > problem? I just want to narrow down the problem. Probably the problem > is only in the oneacct tool and the data

Re: [one-users] oneacct doesn't work (bug)

2012-01-18 Thread Javier Fontan
That is indeed a problem, inside network there should be another hash with tx and rx. Can you check that xml output (-x) has the same problem? I just want to narrow down the problem. Probably the problem is only in the oneacct tool and the data is still in the database. On Wed, Jan 18, 2012 at 4:3

Re: [one-users] oneacct doesn't work (bug)

2012-01-18 Thread Olivier Sallou
I faced same issue with one 3 but I faced after that another issue, after setting correctly the path to /usr/lib/one/ruby: oneadmin@genokvm4:~$ oneacct -u 0 -j {"0":{"vms":{"34":{"network":null,"time":6714,"slices":[{"estime":0,"rstime":1326893803,"cpu":0.2,"uid":0,"seq":0,"vcpu":0,"eetime":0,"gid

Re: [one-users] oneacct doesn't work (bug)

2012-01-18 Thread Javier Fontan
Thanks for reporting. I've created a ticket to track this problem http://dev.opennebula.org/issues/1063 We will provide a fix for this as soon as possible. On Wed, Jan 18, 2012 at 1:31 PM, Rolandas Naujikas wrote: > Hi, > > Opennebula is installed from package (in Debian 6.0.3). > > $ oneacct >

[one-users] oneacct doesn't work (bug)

2012-01-18 Thread Rolandas Naujikas
Hi, Opennebula is installed from package (in Debian 6.0.3). $ oneacct /usr/bin/oneacct:27: undefined method `+' for nil:NilClass (NoMethodError) By looking into /usr/bin/oneacct I see: ONE_LOCATION=ENV['ONE_LOCATION'] $: << ONE_LOCATION+'/lib/ruby' $: << ONE_LOCATION+'/lib/ruby/cli' What will