Hey everyone,

                ACS 4.15.2 + XCP-NG 8.2.
                The usage server is configured a few months ago according to 
this guide - 
http://docs.cloudstack.apache.org/en/latest/adminguide/usage.html?#configuring-the-usage-server
                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-DefaultManagedContext$1.call:55-DefaultManagedContext.callWithContext:102-DefaultManagedContext.runWithContext:52-ManagedContextRunnable.run:45-UsageManagerImpl.run:349-Executors$RunnableAdapter.call:515-FutureTask.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

Reply via email to