[one-users] Opennebula 4.8.2 Sunstone accounting - some miscalculations

Carlos Martín Sánchez cmartin at opennebula.org
Mon Sep 29 07:00:48 PDT 2014


Hi Robert,

The problem here is that the oneacct output is using your local timezone,
while Sunstone uses UTC. In UTC, VM 5 start time is 10:57:16, so sunstone
is showing 13 hours for the date 2014-08-25.

I have opened this issue [1] to fix this inconsistency.

Best regards,
Carlos

[1] http://dev.opennebula.org/issues/3206

--
Carlos Martín, MSc
Project Engineer
OpenNebula - Flexible Enterprise Cloud Made Simple
www.OpenNebula.org | cmartin at opennebula.org | @OpenNebula
<http://twitter.com/opennebula> <cmartin at opennebula.org>

On Thu, Sep 18, 2014 at 10:55 AM, Robert Tanase <robert.tanase at appnor.com>
wrote:

> Hi Carlos,
>
> Sorry fot delay.
>
> The system version is *OpenNebula 4.8.0.*
>
> In attachement is the XML acct stats file output of "oneacct -s 2014-08-25
> -e 2014-09-28 -u 2 -x > acct_test_25-28-08-2014.xml" command.
>
> Regards,
> Robert Tanase
>
> On Tue, Sep 9, 2014 at 12:17 PM, Carlos Martín Sánchez <
> cmartin at opennebula.org> wrote:
>
>> Hi Robert,
>>
>> Can you please send the output of oneacct -x? Off-list if you prefer.
>> Also, what version are you using, 4.6.2? 4.8.2 is not available, we don't
>> even have 4.8.1 out yet :)
>>
>> Regards.
>> --
>> Carlos Martín, MSc
>> Project Engineer
>> OpenNebula - Flexible Enterprise Cloud Made Simple
>> www.OpenNebula.org | cmartin at opennebula.org | @OpenNebula
>> <http://twitter.com/opennebula> <cmartin at opennebula.org>
>>
>> On Fri, Aug 29, 2014 at 11:47 AM, Robert Tanase <robert.tanase at appnor.com
>> > wrote:
>>
>>> Hello,
>>>
>>> I am testing Opennebula 4.8.2 build.
>>>
>>> Working with accounting stats I found a wrong calculation in Sunstone
>>> results:
>>>
>>>  VID HOSTNAME        ACTION           REAS     START_TIME       END_TIME
>>> MEMORY CPU NET_RX NET_TX
>>>    5 bu-mf39014.appn poweroff         user *08/25 13:57:16* 08/28
>>> 16:55:24  1024M 0.1   285M  15.9M
>>>
>>> Life time Is about 10 hours on 25-08 for VM 5.
>>>
>>> [image: Inline image 1]
>>>
>>>
>>>
>>> --
>>>
>>>
>>>
>>> *Best regards, Robert Tanase*
>>>
>>> _______________________________________________
>>> Users mailing list
>>> Users at lists.opennebula.org
>>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>>>
>>>
>>
>
>
> --
>
>
>
>
>
> *Best regards,Robert TANASESoftware Developer - Appnor MSP S.A.US: (+1)
> 650 336 57 50RO: (+4) 021 569 46 56http://www.appnor.com
> <http://www.appnor.com/>*
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20140929/1ec50069/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 70641 bytes
Desc: not available
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20140929/1ec50069/attachment-0001.png>


More information about the Users mailing list