[one-users] oneacctd crashes (opennebula 3.2)

Daniel Molina dmolina at opennebula.org
Mon Jan 23 08:41:37 PST 2012


Hi Olivier,

On 23 January 2012 17:30, Olivier Sallou <olivier.sallou at irisa.fr> wrote:
>
>
> Le 1/23/12 12:14 PM, Olivier Sallou a écrit :
>>
>> Le 1/23/12 11:16 AM, Daniel Molina a écrit :
>>> Hi Rolandas and Olivier,
>>>
>>> On 23 January 2012 09:44, Olivier Sallou <olivier.sallou at irisa.fr> wrote:
>>>> Le 1/22/12 2:02 PM, Rolandas Naujikas a écrit :
>>>>> Hi,
>>>>>
>>>>> oneacctd crashes periodically (after restart).
>>>> I face same issue on one 3.0
>>> I think this problem is related to virtual machines on pending state.
>> I think at this moment I had a VM in shutdown state (the only one in fact)
> As additional info, I continue to face the issue several times a day,
> with no VM running

I have uploaded a patch, would you mind to try if it works? I found
out that there was a problem when trying to insert VMs in DONE state
with no history, for example VMs that are created and deleted (and not
deployed) in the same accounting step.

>>> http://dev.opennebula.org/issues/1080

The patch included in the ticket should fix the problem

>>>
>>> Thanks for your feedback
>>>
>>>>> /var/log/one/oneacctd.log:
>>>>> Sun Jan 22 12:55:56 +0200 2012 OneWatch::VmMonitoring
>>>>> Sun Jan 22 13:00:56 +0200 2012 OneWatch::VmMonitoring
>>>>> Sun Jan 22 13:05:56 +0200 2012 OneWatch::VmMonitoring
>>>>> Sun Jan 22 13:05:56 +0200 2012 OneWatch::HostMonitoring
>>>>> Sun Jan 22 13:10:56 +0200 2012 OneWatch::VmMonitoring
>>>>> Sun Jan 22 13:15:56 +0200 2012 OneWatch::VmMonitoring
>>>>> Sun Jan 22 13:20:56 +0200 2012 OneWatch::VmMonitoring
>>>>> Sun Jan 22 13:20:56 +0200 2012 OneWatch::HostMonitoring
>>>>> Sun Jan 22 13:25:56 +0200 2012 OneWatch::VmMonitoring
>>>>> Sun Jan 22 13:30:56 +0200 2012 OneWatch::VmMonitoring
>>>>> Sun Jan 22 13:35:57 +0200 2012 OneWatch::VmMonitoring
>>>>> Sun Jan 22 13:35:57 +0200 2012 OneWatch::HostMonitoring
>>>>> Sun Jan 22 13:40:57 +0200 2012 OneWatch::VmMonitoring
>>>>> Sun Jan 22 13:40:57 +0200 2012 OneWatch::Accounting
>>>>> /usr/lib/one/ruby/acct/accounting.rb:98:in `update_history': undefined
>>>>> method `[]' for nil:NilClass (NoMethodError)
>>>>>         from /usr/lib/one/ruby/acct/accounting.rb:126:in `insert_vm'
>>>>>         from /usr/lib/one/ruby/acct/accounting.rb:68:in `insert'
>>>>>         from /usr/lib/one/ruby/acct/accounting.rb:67:in `each'
>>>>>         from /usr/lib/one/ruby/acct/accounting.rb:67:in `insert'
>>>>>         from /usr/lib/one/ruby/acct/acctd.rb:77:in `update'
>>>>>         from /usr/lib/one/ruby/acct/acctd.rb:59:in `each'
>>>>>         from /usr/lib/one/ruby/acct/acctd.rb:59:in `update'
>>>>>         from /usr/lib/one/ruby/acct/acctd.rb:57:in `each'
>>>>>         from /usr/lib/one/ruby/acct/acctd.rb:57:in `update'
>>>>>         from /usr/lib/one/ruby/acct/acctd.rb:129
>>>>>         from /usr/lib/one/ruby/acct/acctd.rb:124:in `loop'
>>>>>         from /usr/lib/one/ruby/acct/acctd.rb:124
>>>>>
>>>>> Configuration uses mysql as DB and default other parameters as in
>>>>> opennebula 3.2 distribution. In opennebula 3.0 it was more stable.
>>>>>
>>>>> Regards, Rolandas
>>>>> _______________________________________________
>>>>> Users mailing list
>>>>> Users at lists.opennebula.org
>>>>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>>>>>
>>>> --
>>>> Olivier Sallou
>>>> IRISA / University of Rennes 1
>>>> Campus de Beaulieu, 35000 RENNES - FRANCE
>>>> Tel: 02.99.84.71.95
>>>>
>>>> gpg key id: 4096R/326D8438  (pgp.mit.edu)
>>>> Key fingerprint = 5FB4 6F83 D3B9 5204 6335  D26D 78DC 68DB 326D 8438
>>>>
>>>>
>>>> _______________________________________________
>>>> Users mailing list
>>>> Users at lists.opennebula.org
>>>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>>>
>
> --
> Olivier Sallou
> IRISA / University of Rennes 1
> Campus de Beaulieu, 35000 RENNES - FRANCE
> Tel: 02.99.84.71.95
>
> gpg key id: 4096R/326D8438  (pgp.mit.edu)
> Key fingerprint = 5FB4 6F83 D3B9 5204 6335  D26D 78DC 68DB 326D 8438
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org



-- 
Daniel Molina
Project Engineer
OpenNebula - The Open Source Toolkit for Data Center Virtualization
www.OpenNebula.org | dmolina at opennebula.org | @OpenNebula



More information about the Users mailing list