cloudstack-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Diego Spinola Castro <spinolacas...@gmail.com>
Subject Re: NetworkUsage
Date Mon, 17 Mar 2014 18:25:24 GMT
Hi, sorry.  i went lost with this huge log.



2014-03-17 15:10 GMT-03:00 Alena Prokharchyk <Alena.Prokharchyk@citrix.com>:

>  Diego, the log you've provided, doesn't contain "Rolling back the
> transaction" statement. You should wait for this particular error to happen
> (while logging on TRACE), and then take a log snippet.
>
>   From: Diego Spinola Castro <spinolacastro@gmail.com>
> Date: Monday, March 17, 2014 at 11:00 AM
> To: Alena Prokharchyk <alena.prokharchyk@citrix.com>
> Cc: "users@cloudstack.apache.org" <users@cloudstack.apache.org>
> Subject: Re: NetworkUsage
>
>   Hi, Alena. thanks for the tips, i got some logs:
> http://www.fpaste.org/86141/13950791/
>
>
> 2014-03-17 14:27 GMT-03:00 Alena Prokharchyk <Alena.Prokharchyk@citrix.com
> >:
>
>> 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