RE: No module named marvin

2016-04-26 Thread Chaz PC
I had the same issue installing mysql-connector-python manually resolved it. 
Sent from my Samsung Galaxy smartphone.
 Original message From: Will Stevens  
Date: 4/26/16  3:16 PM  (GMT+04:00) To: dev@cloudstack.apache.org Subject: RE: 
No module named marvin 

Thank you for the hints re:Travis script. Will review that as well.  Travis

has also been failing a lot recently though. That is another thing I need

to review.

On Apr 26, 2016 4:24 AM, "Rohit Yadav"  wrote:



> Will, checkout tools/travis/install.sh for hints (much of travis scripts

> can be used as hints on how to setup a marvin env).

>

> You'll need to install mysql-connector-python manually, unfortunately

> oracle/mysql hosts them at their cdn and pypi/pip scks as not fetching

> external deps on their own. So you'll need to do something like, pip

> install --upgrade --egg 

>

> Regards.

>

> Regards,

>

> Rohit Yadav

>

> rohit.ya...@shapeblue.com

> www.shapeblue.com

> 53 Chandos Place, Covent Garden, London  WC2N 4HSUK

> @shapeblue

>

> -Original Message-

> From: Will Stevens [mailto:williamstev...@gmail.com]

> Sent: Monday, April 25, 2016 11:37 PM

> To: dev@cloudstack.apache.org

> Subject: No module named marvin

>

> Could this:

>

> Deploy data center..

> Traceback (most recent call last):

>   File "/data/git/cs3/cloudstack/tools/marvin/marvin/deployDataCenter.py",

> line 28, in 

> from marvin import configGenerator

> ImportError: No module named marvin

>

> Be caused by this:

>

> Installing Marvin

> DEPRECATION: --allow-external has been deprecated and will be removed in

> the future. Due to changes in the repository protocol, it no longer has any

> effect.

> Processing ./tools/marvin/dist/Marvin-4.9.0-SNAPSHOT.tar.gz

> Collecting mysql-connector-python>=1.1.6 (from Marvin===4.9.0-SNAPSHOT)

>   Could not find a version that satisfies the requirement

> mysql-connector-python>=1.1.6 (from Marvin===4.9.0-SNAPSHOT) (from

> versions: )

> No matching distribution found for mysql-connector-python>=1.1.6 (from

> Marvin===4.9.0-SNAPSHOT)

>

> This seems to be happening in all my CI environments this morning.

> Thoughts?

>

> Thanks,

>

> Will

>




RE: [discuss] CloudStack logging

2016-04-14 Thread Chaz PC
I am confused about the configuration file there two files one is named 
Log4j-cloud.xml The other is Log4j-cloud.xml.in
What is the difference between these two files ? I hope someone can help me 
clear this confusion

 Original message 
From: Koushik Das  
Date: 14/04/2016  6:49 PM  (GMT+04:00) To: 
dev@cloudstack.apache.org Subject: Re: [discuss] CloudStack logging 


Based on the namespace log level can be set. It needs to be configured in the 
log4j.
Check client/tomcatconf/log4j-cloud.xml.in in the source code and you will get 
an idea.

-Koushik


From: williamstev...@gmail.com  on behalf of Will 
Stevens 
Sent: Thursday, April 14, 2016 7:29 PM
To: dev@cloudstack.apache.org
Subject: Re: [discuss] CloudStack logging

Do you have to recompile in order to turn off the logging for a specific
package or class?  If yes, that is a show stopper for almost everyone...
If it only requires a management server restart, that is more realistic.

*Will STEVENS*
Lead Developer

*CloudOps* *| *Cloud Solutions Experts
420 rue Guy *|* Montreal *|* Quebec *|* H3J 1S6
w cloudops.com *|* tw @CloudOps_

On Thu, Apr 14, 2016 at 9:48 AM, Daan Hoogland 
wrote:

> On Thu, Apr 14, 2016 at 3:41 PM, Will Stevens 
> wrote:
>
> > Is there an easy way to do that Daan, or is it a tedious task you just
> have
> > to power through?
> >
> ​It is hard work, mostly tedious, sometimes hilarious and most definitely ​
>
> ​devops!​ It certainly wouldn't classify as development.
>
>
>
>
> --
> Daan
>


DISCLAIMER
==
This e-mail may contain privileged and confidential information which is the 
property of Accelerite, a Persistent Systems business. It is intended only for 
the use of the individual or entity to which it is addressed. If you are not 
the intended recipient, you are not authorized to read, retain, copy, print, 
distribute or use this message. If you have received this communication in 
error, please notify the sender and delete all copies of this message. 
Accelerite, a Persistent Systems business does not accept any liability for 
virus infected mails.


CloudStack Logging, the log4j Configuration file

2015-12-07 Thread Chaz PC
I am studying the logging process used by CloudStack and came accross the 
configuration file that is used by Log4j. What is confusing to me is that all 
the resources is stating that the "log4j-cloud.xml" is supposed to be the file 
used to confiugre the logging, but what I have noticed is that no matter what 
are the changes I made using this file it would just go back to what it was. 
Never the less I found if I change the "log4j-cloud.xml.in" file these changes 
will be reflected on the created log files. 

There are around 13 "log4j-cloud.xml" files  as well as 13 "log4-cloud.xml.in" 
files spreaded accross the source code. These files are not the same, some of 
them may have the same configuration but mostly they differ. 

Can you please explain the diffrences between these files. 

Waiting for your answer. 

Best Regards

Hanan 

CloudStack Logging, the log4j Configuration file

2015-12-07 Thread Chaz PC
Hello,




I am studying the logging process used by CloudStack and came accross the 
configuration file that is used by Log4j. What is confusing to me is that all 
the resources is stating that the "log4j-cloud.xml" is supposed to be the file 
used to confiugre the logging, but what I have noticed is that no matter what 
are the changes I made using this file it would just go back to what it was. 
Never the less I found if I change the "log4j-cloud.xml.in" file these changes 
will be reflected on the created log files. 

There are around 13 "log4j-cloud.xml" files  as well as 13 "log4-cloud.xml.in" 
files spreaded accross the source code. These files are not the same, some of 
them may have the same configuration but mostly they differ. 

Can you please explain the diffrences between these files. 

Waiting for your answer. 

Best Regards

Hanan