You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2013/05/15 16:59:17 UTC
[jira] [Commented] (CLOUDSTACK-962) CloudStack usage server didn't
store data to cloud_usage in correct time
[ https://issues.apache.org/jira/browse/CLOUDSTACK-962?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13658417#comment-13658417 ]
ASF subversion and git services commented on CLOUDSTACK-962:
------------------------------------------------------------
Commit e6af3bf112f33a8e02eb6d964ce799e6f30447e0 in branch refs/heads/4.1 from [~weizhou]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=e6af3bf ]
CLOUDSTACK-962: Because of the same reason to this (CLOUDSTACK-685)
https://reviews.apache.org/r/11157/
Signed-off-by: Chip Childers <ch...@gmail.com>
> CloudStack usage server didn't store data to cloud_usage in correct time
> ------------------------------------------------------------------------
>
> Key: CLOUDSTACK-962
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-962
> Project: CloudStack
> Issue Type: Bug
> Security Level: Public(Anyone can view this level - this is the default.)
> Components: Usage
> Affects Versions: 4.0.0
> Reporter: Ilia Shakitko
> Assignee: Wei Zhou
> Labels: bytesReceived, bytesSended, cloud_usage, usage, user_statistics
> Fix For: 4.0.2, 4.1.0, 4.2.0
>
>
> We have found strange behavior of CloudStack usage server.
> There are two global settings values:
> usage.stats.job.aggregation.range 1440
> usage.stats.job.exec.time 00:15
> Here I will describe how we had determined this problem.
> 9th of January we‘ve generated some traffic, like 10Gb. But 10th of January we didn’t saw records with amount of traffic in cloud_usage.cloud_usage. And we got this values in cloud_usage db only at 11th.
> Looks like it works like as written below:
> ---------January---------------------------------9th----------------10th--------------11th----------12th-----------
> (traffic generetad ) 10Gb 2,5Gb 5Gb …
> (traffic stored in usage_db) 0 0 10Gb 12,5Gb …
> We changed the value 'usage.stats.job.aggregation.range' to 10 minutes to have more tests. Here's what we got:
> ---------Timeline--------------------------------10:00--------------10:10------------10:20--------10:30--------10:40
> (traffic generetad ) 5Gb 0 2,5Gb 0 0
> (traffic stored in usage_db) 0 0 5Gb 5Gb 7,5Gb
> My colleague Wei Zhou will adds more comments with what we found in CloudStack source and solution for it.
> Will keep updated information about tests and additional info in this thread.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira