cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rajani Karuturi <raj...@apache.org>
Subject Re: [USAGE] Still having hard times to have it starting
Date Fri, 31 Oct 2014 12:00:12 GMT
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 <i.shakitko@tech.leaseweb.com
> wrote:

>  Hello again,
>
>
>
> I’ve 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’t
> see any data in *cloud_usage* DB …
>
> Could you assist me to tackle that?
>
>
>
> root@mgt111-11:~/cloudstack# mvn -pl usage -Drun -Dpid=$$
>
> [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
>
>
>
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message