You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cloudstack.apache.org by Ilia Shakitko <i....@tech.leaseweb.com> on 2014/11/03 09:02:34 UTC

RE: [USAGE] Still having hard times to have it starting

Hi Rajani,

That's the config: http://clip2net.com/s/jcTHfq

I'll try to play with debugger. But maybe that issue is related to that output?

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.

Tried to fix that, but haven't succeed yet :\


Kind regards,

Ilia Shakitko
Innovation Engineer
LeaseWeb Technologies B.V.

T: +31 20 316 0235
M:
E: i.shakitko@tech.leaseweb.com
W: http://www.leaseweb.com

Luttenbergweg 8, 1101 EC Amsterdam, Netherlands


-----Original Message-----
From: Rajani Karuturi [mailto:rajani@apache.org]
Sent: vrijdag, 31 oktober, 2014 13:00
To: dev@cloudstack.apache.org
Subject: Re: [USAGE] Still having hard times to have it starting

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
>
>
>
>
>