cloudstack-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alena Prokharchyk <Alena.Prokharc...@citrix.com>
Subject Re: NetworkUsage
Date Mon, 17 Mar 2014 17:27:49 GMT
Diego,

Unfortunately CS lock lack the needed info for debugging the problem. I
see only transaction roll back statement:

2014-03-17 06:01:22,363 DEBUG [db.Transaction.Transaction]
(RouterMonitor-1:null) Rolling back the transaction: Time = 2 Name =
-VirtualNetworkApplianceManagerImpl$NetworkUsageTask.run:900-Executors$Runn
ableAdapter.call:471-FutureTask$Sync.innerRunAndReset:351-FutureTask.runAnd
Reset:178-ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201:165-


To debug it further, you need to change the log level from DEBUG to TRACE
for a certain class by modifying log4 properties (no MS restart is
required)


Here is the link on how to do it:

https://cwiki.apache.org/confluence/display/CLOUDSTACK/Useful+Tips+and+Tric
ks, "How to enable trace logging for a particular class in CloudStack?²
section. Replace category name with:

<category name=³com.cloud.utils.db">
     <priority value=³TRACE"/>
   </category>


 


After the change is done, wait till you see TRACE statements in the log,
and till the error "Rolling back the transaction" occurs again. Take the
log snippet and send it out. After you are done with that, you will need
to remove TRACE config from log4 properties file, otherwise your logs will
grow huge.

-Alena.


On 3/17/14, 9:48 AM, "Diego Spinola Castro" <spinolacastro@gmail.com>
wrote:

>Hi guys, i've been running into a issue when getting network traffic from
>usage server. All records are Zero, i have a CS 4.2.0 install.
>
>Here the usage.logs http://www.fpaste.org/86116/13950748/
>And management-server.log http://www.fpaste.org/86118/07486613/
>
>Does anyone know what is wrong ?


Mime
View raw message