Thank you. Issue is opened (https://github.com/apache/cloudstack/issues/5587) and full usage.log is attached.
Regards, Jordan -----Original Message----- From: Wei ZHOU <ustcweiz...@gmail.com> Sent: Tuesday, October 19, 2021 1:40 PM To: users <users@cloudstack.apache.org> Subject: Re: Usage server not collecting data [X] This message came from outside your organization Hi, It looks like a bug. Please file an issue on github, with more details and logs. -Wei On Tue, 19 Oct 2021 at 12:32, Yordan Kostov <yord...@nsogroup.com> wrote: > Hey everyone, > > ACS 4.15.2 + XCP-NG 8.2. > The usage server is configured a few months ago > according to this guide - > https://urldefense.com/v3/__http://docs.cloudstack.apache.org/en/latest/adminguide/usage.html?*configuring-the-usage-server__;Iw!!A6UyJA!z1Dr6BSwnLR6bhB5MsK92Ej2KjU6c1SDaW01Fx1XyvnDO6zCH0dkCj4rdpi0GSBYjC2SlN3Kbfqw$ > Decided to start working on some reports recenetly but > it seems data is not being collected properly. > In cloud_usage table there are entries between > 2021-04-22 > 23:59:59 and 2021-05-19 23:59:59 but nothing after that. > > Here is /usage.log Warns and Errors: > > 2021-10-19 12:17:03,491 WARN [db.Transaction.Transaction] > (Usage-Job-1:null) (logid:) txn: Commit called when it is not a > transaction: > -UsageManagerImpl.parse:858-UsageManagerImpl.runInContextInternal:405- > UsageManagerImpl$1.runInContext:347-ManagedContextRunnable$1.run:48-De > faultManagedContext$1.call:55-DefaultManagedContext.callWithContext:10 > 2-DefaultManagedContext.runWithContext:52-ManagedContextRunnable.run:4 > 5-UsageManagerImpl.run:349-Executors$RunnableAdapter.call:515-FutureTa > sk.run:264-ScheduledThreadPoolExecutor$ScheduledFutureTask.run:304 > 2021-10-19 12:17:03,491 WARN [apache.cloudstack.alerts] > (Usage-Job-1:null) (logid:) alertType:: 20 // dataCenterId:: 0 // podId:: > 0 // clusterId:: null // message:: Usage job failed. Job id: 250784 > > > 2021-10-19 12:21:18,343 ERROR [cloud.usage.UsageManagerImpl] > (Usage-Job-1:null) (logid:) Exception in usage manager > java.lang.NullPointerException > > Any idea what can be the issue here? > > Regards, > Jordan >