Return-Path: X-Original-To: apmail-cloudstack-dev-archive@www.apache.org Delivered-To: apmail-cloudstack-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 88016172E1 for ; Fri, 31 Oct 2014 12:00:34 +0000 (UTC) Received: (qmail 43861 invoked by uid 500); 31 Oct 2014 12:00:34 -0000 Delivered-To: apmail-cloudstack-dev-archive@cloudstack.apache.org Received: (qmail 43811 invoked by uid 500); 31 Oct 2014 12:00:34 -0000 Mailing-List: contact dev-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cloudstack.apache.org Delivered-To: mailing list dev@cloudstack.apache.org Received: (qmail 43800 invoked by uid 99); 31 Oct 2014 12:00:33 -0000 Received: from mail-relay.apache.org (HELO mail-relay.apache.org) (140.211.11.15) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 31 Oct 2014 12:00:33 +0000 Received: from mail-ie0-f169.google.com (mail-ie0-f169.google.com [209.85.223.169]) by mail-relay.apache.org (ASF Mail Server at mail-relay.apache.org) with ESMTPSA id 8BF341A01AD for ; Fri, 31 Oct 2014 11:59:55 +0000 (UTC) Received: by mail-ie0-f169.google.com with SMTP id tr6so1085942ieb.14 for ; Fri, 31 Oct 2014 05:00:32 -0700 (PDT) X-Received: by 10.50.128.35 with SMTP id nl3mr3567279igb.34.1414756832210; Fri, 31 Oct 2014 05:00:32 -0700 (PDT) MIME-Version: 1.0 Received: by 10.64.78.136 with HTTP; Fri, 31 Oct 2014 05:00:12 -0700 (PDT) In-Reply-To: <1BE6C1C9B4F9B545AEC14EABB4B4981D30B538B8@nlhlmexdb05.ocom.lan> References: <1BE6C1C9B4F9B545AEC14EABB4B4981D30B538B8@nlhlmexdb05.ocom.lan> From: Rajani Karuturi Date: Fri, 31 Oct 2014 17:30:12 +0530 Message-ID: Subject: Re: [USAGE] Still having hard times to have it starting To: "dev@cloudstack.apache.org" Content-Type: multipart/alternative; boundary=089e013a1b786d767a0506b6bed5 --089e013a1b786d767a0506b6bed5 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Can you check the values of these three configs? usage.stats.job.exec.time (start time in 24 hr format) usage.stats.job.aggregation.range (the aggregation which you already specified) usage.execution.timezone (execution timezone) make sure you restart the usage server after changing those values. The easiest way to debug would be to attach the debugger and see why it is skipping the run in UsageManagerImpl.parse(). ~Rajani On Fri, Oct 31, 2014 at 3:52 PM, Ilia Shakitko wrote: > Hello again, > > > > I=E2=80=99ve managed to run the Usage server within Jetty from the source= . > Deployed a VM. Waited for more than 10min (my aggr. range) , but I can= =E2=80=99t > see any data in *cloud_usage* DB =E2=80=A6 > > Could you assist me to tackle that? > > > > root@mgt111-11:~/cloudstack# mvn -pl usage -Drun -Dpid=3D$$ > > [INFO] Scanning for projects... > > [INFO] > > [INFO] > ------------------------------------------------------------------------ > > [INFO] Building Apache CloudStack Usage Server 4.4.2-SNAPSHOT > > [INFO] > ------------------------------------------------------------------------ > > [INFO] > > [INFO] --- maven-checkstyle-plugin:2.11:check (cloudstack-checkstyle) @ > cloud-usage --- > > [INFO] Starting audit... > > Audit done. > > > > [INFO] > > [INFO] --- maven-remote-resources-plugin:1.3:process (default) @ > cloud-usage --- > > [INFO] > > [INFO] --- maven-antrun-plugin:1.7:run (generate-resource) @ cloud-usage > --- > > [INFO] Executing tasks > > > > main: > > [copy] Copying 2 files to /root/cloudstack/usage/target/transformed > > [INFO] Executed tasks > > [INFO] > > [INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ > cloud-usage --- > > [debug] execute contextualize > > [INFO] Using 'UTF-8' encoding to copy filtered resources. > > [INFO] Copying 1 resource > > [INFO] Copying 3 resources > > [INFO] > > [INFO] --- maven-compiler-plugin:2.5.1:compile (default-compile) @ > cloud-usage --- > > [INFO] Nothing to compile - all classes are up to date > > [INFO] > > [INFO] --- maven-resources-plugin:2.5:testResources > (default-testResources) @ cloud-usage --- > > [debug] execute contextualize > > [INFO] Using 'UTF-8' encoding to copy filtered resources. > > [INFO] Copying 8 resources > > [INFO] Copying 3 resources > > [INFO] > > [INFO] >>> exec-maven-plugin:1.2.1:java (run-usage) @ cloud-usage >>> > > [INFO] > > [INFO] --- maven-checkstyle-plugin:2.11:check (cloudstack-checkstyle) @ > cloud-usage --- > > [INFO] Starting audit... > > Audit done. > > > > [INFO] > > [INFO] <<< exec-maven-plugin:1.2.1:java (run-usage) @ cloud-usage <<< > > [INFO] > > [INFO] --- exec-maven-plugin:1.2.1:java (run-usage) @ cloud-usage --- > > log4j:WARN No appenders could be found for logger > (org.springframework.core.env.StandardEnvironment). > > log4j:WARN Please initialize the log4j system properly. > > log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for > more info. > > SLF4J: The requested version 1.6.99 by your slf4j binding is not > compatible with [1.5.5, 1.5.6] > > SLF4J: See http://www.slf4j.org/codes.html#version_mismatch for further > details. > > > > > > Kind regards, > > Ilia Shakitko > Innovation Engineer > LeaseWeb Technologies B.V. > > T: +31 20 316 0235 > > E: i.shakitko@tech.leaseweb.com > W: www.leaseweb.com > Luttenbergweg 8, 1101 EC Amsterdam, Netherlands > > > > > --089e013a1b786d767a0506b6bed5--