cloudstack-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Enric Muñoz <emu...@intecom.ad>
Subject RE: Usage Records
Date Mon, 03 Jun 2013 10:04:56 GMT
I tried and it works now!! Thank you!!

-----Mensaje original-----
De: Kishan Kavala [mailto:Kishan.Kavala@citrix.com] 
Enviado el: lunes, 03 de junio de 2013 11:54
Para: users@cloudstack.apache.org
Asunto: RE: Usage Records

You can try clearing the entries in usage_job table and restart usage service.

> -----Original Message-----
> From: Enric Muñoz [mailto:emunoz@intecom.ad]
> Sent: Monday, 3 June 2013 1:51 PM
> To: users@cloudstack.apache.org
> Subject: RE: Usage Records
> 
> Yes, I did restart both the management-server and the usage-server. 
> I've checked now the logs from the usage server and it appears the 
> following every 10 minutes which is the time I set in usage.stats.job.aggregation.range:
> 
> 2013-06-03 04:10:00,000 INFO  [cloud.usage.UsageManagerImpl] 
> (Usage-Job-
> 1:null) starting usage job...
> 2013-06-03 04:10:00,004 DEBUG [cloud.usage.UsageManagerImpl] (Usage-
> Job-1:null) Not owner of usage job, skipping...
> 2013-06-03 04:10:00,004 INFO  [cloud.usage.UsageManagerImpl] 
> (Usage-Job-
> 1:null) usage job complete
> 
> Maybe this can help a little more to find the solution.
> 
> -----Mensaje original-----
> De: Kirk Jantzer [mailto:kirk.jantzer@gmail.com] Enviado el: viernes, 
> 31 de mayo de 2013 11:38
> Para: Cloudstack users mailing list
> Asunto: Re: Usage Records
> 
> Silly question, but did you restart the management service after 
> making those changes?
> On May 31, 2013 5:21 AM, "Enric Muñoz" <emunoz@intecom.ad> wrote:
> 
> > Hi all,
> >
> > I'm using Cloudstack 4.0.2 and I have problems to see the usage records.
> > I've already installed the usage server and it is running. I've also 
> > set the global settings from the UI enable.usage.server to true and 
> > the usage.stats.job.aggregation.range to 10 minutes in order to test 
> > the usage server. If I'm not wrong, the usage server should fill the 
> > cloud_usage database every ten minutes with the new usage records.
> > However, the cloud_usage database is always empty. I have also tried 
> > to execute the generateUsageRecords and listUsageRecords API
> commands
> > but no usage data appears. Anyone can help me to get the usage records??
> >
> > Thank you in advance,
> >
> > Enric
> >

Mime
View raw message