Re: Review Request 15922: Enhanced few features under Marvin

2013-12-07 Thread Girish Shilamkar
Fixed in 4.2, 4.3 and master.

Regards,
Girish

On 07-Dec-2013, at 12:47 PM, Girish Shilamkar  wrote:

> Mea culpa. I will push the missed out files.
> 
> Regards,
> Girish
> 
> On 07-Dec-2013, at 12:34 PM, Santhosh Edukulla  
> wrote:
> 
>> I was thinking that it was an install issue. So, I just pulled the latest 
>> code for 4.3 and master to see the changes for this patch, i could see 
>> marvinLog.py and marvinInit.py files seems to be missing and so is the 
>> reason for this failure.  If we see, these files were available as part of 
>> the patch, these were not pushed.
>> 
>> Regards,
>> Santhosh
>> 
>> From: williamstev...@gmail.com [williamstev...@gmail.com] on behalf of Will 
>> Stevens [wstev...@cloudops.com]
>> Sent: Saturday, December 07, 2013 12:24 AM
>> To: Santhosh Edukulla
>> Cc: dev@cloudstack.apache.org; Girish Shilamkar
>> Subject: Re: Review Request 15922: Enhanced few features under Marvin
>> 
>> If you looked at the steps I have done, you will see that I have done that...
>> 
>> I have done a clean install in order to get the latest marvin.  That didnt 
>> work so I tried grabbing a version from online.  That didnt work.  I also 
>> tried doing a 'python setup.py install'.  That also didn't work...
>> 
>> So you're saying that this SHOULD work???
>> 
>> 
>> # clean install (I have to skip tests because 'Apache CloudStack Console 
>> Proxy - RDP Client' fails tests)
>> $ mvn -P developer,systemvm clean install -Dmaven.test.skip=true
>> 
>> # deploy the db
>> $ mvn -P developer -pl developer,tools/devcloud -Ddeploydb
>> 
>> # I have done it with and without the following lines
>> $ cd tools/marvin
>> $ python setup.py install
>> 
>> # start the server
>> $ chmod 755 
>> /mnt/hgfs/palo_alto/cloudstack/client/target/cloud-client-ui-4.3.0-SNAPSHOT/WEB-INF/classes/scripts/vm/systemvm/injectkeys.sh
>> $ export MAVEN_OPTS="-Xmx1024m -XX:MaxPermSize=512m -Xdebug 
>> -Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=n"
>> $ mvn -pl :cloud-client-ui jetty:run
>> 
>> # now I try to deploy the server
>> $ export MAVEN_OPTS=""
>> $ mvn -P developer -pl tools/devcloud -Ddeploysvr -X
>> 
>> This results in:
>> 
>> [DEBUG] Executing command line: python ../marvin/marvin/deployDataCenter.py 
>> -i devcloud.cfg
>> Traceback (most recent call last):
>> File "../marvin/marvin/deployDataCenter.py", line 567, in 
>>   from marvin.marvinLog import MarvinLog
>> ImportError: No module named marvinLog
>> 
>> 
>> On Fri, Dec 6, 2013 at 11:32 PM, Santhosh Edukulla 
>> mailto:santhosh.eduku...@citrix.com>> wrote:
>> 1. The path mentioned below does not contain latest.
>> 
>> 2.  When you pull the latest 4.3 code, the latest marvin for that build is 
>> available with it. So, running python setup.py install in that folder should 
>> install latest marvin
>> 
>> 3. In your case of running mvn, under devcloud pom.xml, you are asking it to 
>> run deploy data center as well using "-Ddeploysvr" switch which requires 
>> latest marvin to work with deployDataCenter.
>> 
>> So for devcloud module, you need latest marvin. I would recommend running 
>> "mvn clean install" or with other some profile as "mvn clean install -P 
>> developer,systemvm" It will  get you latest marvin with cloudstackAPI folder 
>> and running
>> python setup.py install from tools/marvin should install the marvin.
>> 
>> Thereafter you can build devcloud. Let me know.
>> 
>> 
>> Regards,
>> Santhosh
>> 
>> From: williamstev...@gmail.com 
>> [williamstev...@gmail.com] on behalf of 
>> Will Stevens [wstev...@cloudops.com]
>> Sent: Friday, December 06, 2013 10:59 PM
>> To: Santhosh Edukulla
>> Cc: dev@cloudstack.apache.org; Girish 
>> Shilamkar
>> Subject: Re: Review Request 15922: Enhanced few features under Marvin
>> 
>> Where do I get the latest package?  I was getting 1555 from here: 
>> https://builds.apache.org/job/cloudstack-marvin/
>> 
>> I did run 'python setup.py install' in the 'tools/marvin' directory and that 
>> did not work either.
>> 
>> Can you specify the steps I need to take to get this working?
>> 
>> Thanks,
>> 
>> Will
>> 
>> 
>> On Fri, Dec 6, 2013 at 10:55 PM, Santhosh Edukulla 
>> mailto:santhosh.eduku...@citrix.com>>>
>>  wrote:
>> Hi will,
>> 
>> You need to install latest marvin. Changes to it requires for users to 
>> install it again. Using mvn, it just builds and packages, it wont install.
>> 
>> under marvin folder, run python setup.py install, or can use pip install 
>> marvin..tar.gz
>> 
>> Thanks!
>> Santhosh
>> 
>> From: Will Stevens 
>> [nore...@reviews.apache.org>]
>>  on behalf of Wil

RE: [HELP] query w.r.t to cloudstack-1047

2013-12-07 Thread Sanjay Tripathi
Hi Saurav,

After the CS got switched to use new jobs framework, the 
AsyncJobManagerImpl.java file got moved under framework package; but the 
changes which I committed are not there in the file, somebody must have missed 
it during the transition.

I'll port the same changes in the new jobs framework, so that we can have UUIDs 
in our logs. Can you please open a ticket to track this issue.

--Sanjay

From: Saurav Lahiri [mailto:saurav.lah...@sungard.com]
Sent: Thursday, December 5, 2013 3:53 PM
To: dev@cloudstack.apache.org; Sanjay Tripathi
Subject: [HELP] query w.r.t to cloudstack-1047

Hi Sanjay,
I was looking at the changes that were done as part of [cloudstack-1047 - 
tracking in logs using job id ]. From the defect history it appears that the 
change corresponded to
setting job-=[].

Currently the changes dont appear to be there in the master in the 
./framework/jobs/src/org/apache/cloudstack/framework/jobs/impl/AsyncJobManagerImpl.java
 file. Could you please let me know what I am missing here. This is to help me 
in identifying the best approach to fix cloudstack-3471.

Thanks in advance.

Saurav


Template not in ready state

2013-12-07 Thread Girish Shilamkar
Hello,

I am trying to get a CS setup up, zones etc are setup. But templates are not in 
ready state. 
I tried various things like:
- Checking agent status
- Running ssvm health check
- Checked ssvm logs for errors, nothing useful

In db template_host_ref is empty. But I can see templates listed in in 
"Templates" section. 

What else I can check to get to the bottom of this problem ?

Regards,
Girish



Re: Template not in ready state

2013-12-07 Thread Srikanteswararao Talluri
Have you checked all the points in this wiki ?
https://cwiki.apache.org/confluence/display/CLOUDSTACK/SSVM,+templates,+Sec
ondary+storage+troubleshooting


~Talluri

On 07/12/13 4:07 pm, "Girish Shilamkar"  wrote:

>Hello,
>
>I am trying to get a CS setup up, zones etc are setup. But templates are
>not in ready state.
>I tried various things like:
>- Checking agent status
>- Running ssvm health check
>- Checked ssvm logs for errors, nothing useful
>
>In db template_host_ref is empty. But I can see templates listed in in
>"Templates" section.
>
>What else I can check to get to the bottom of this problem ?
>
>Regards,
>Girish
>



Re: Template not in ready state

2013-12-07 Thread Nitin Mehta
Can you check the MS logs, what errors are reported for this template
download ? And then refer to the wiki suggested below.

On 07/12/13 6:21 AM, "Srikanteswararao Talluri"
 wrote:

>Have you checked all the points in this wiki ?
>https://cwiki.apache.org/confluence/display/CLOUDSTACK/SSVM,+templates,+Se
>c
>ondary+storage+troubleshooting
>
>
>~Talluri
>
>On 07/12/13 4:07 pm, "Girish Shilamkar"  wrote:
>
>>Hello,
>>
>>I am trying to get a CS setup up, zones etc are setup. But templates are
>>not in ready state.
>>I tried various things like:
>>- Checking agent status
>>- Running ssvm health check
>>- Checked ssvm logs for errors, nothing useful
>>
>>In db template_host_ref is empty. But I can see templates listed in in
>>"Templates" section.
>>
>>What else I can check to get to the bottom of this problem ?
>>
>>Regards,
>>Girish
>>
>



Re: [HELP] query w.r.t to cloudstack-1047

2013-12-07 Thread Nitin Mehta
Sanjay - while porting the changes can you please atleast skip porting -
NDC.push("job-" + jobId + " = [ " + jobUuid + " ]");
We don¹t every line of log to have the job id and corresponding uuid. Just
the very first line saying that this jobId corresponding uuid is some uuid
is fine.
 
Thanks,
-Nitin

On 07/12/13 1:33 AM, "Sanjay Tripathi"  wrote:

>Hi Saurav,
>
>After the CS got switched to use new jobs framework, the
>AsyncJobManagerImpl.java file got moved under framework package; but the
>changes which I committed are not there in the file, somebody must have
>missed it during the transition.
>
>I'll port the same changes in the new jobs framework, so that we can have
>UUIDs in our logs. Can you please open a ticket to track this issue.
>
>--Sanjay
>
>From: Saurav Lahiri [mailto:saurav.lah...@sungard.com]
>Sent: Thursday, December 5, 2013 3:53 PM
>To: dev@cloudstack.apache.org; Sanjay Tripathi
>Subject: [HELP] query w.r.t to cloudstack-1047
>
>Hi Sanjay,
>I was looking at the changes that were done as part of [cloudstack-1047 -
>tracking in logs using job id ]. From the defect history it appears that
>the change corresponded to
>setting job-=[].
>
>Currently the changes dont appear to be there in the master in the
>./framework/jobs/src/org/apache/cloudstack/framework/jobs/impl/AsyncJobMan
>agerImpl.java file. Could you please let me know what I am missing here.
>This is to help me in identifying the best approach to fix
>cloudstack-3471.
>
>Thanks in advance.
>
>Saurav



4.3 vmware automation blocker

2013-12-07 Thread Rayees Namathponnan
Vm deployment failing latest 4.3 build in Vmware environment;   below defect 
created

https://issues.apache.org/jira/browse/CLOUDSTACK-5408


4.3 automation blocked due to this; someone possible to look this ?


Regards,
Rayees






RE: 4.3 vmware automation blocker

2013-12-07 Thread Sateesh Chodapuneedi
> -Original Message-
> From: Rayees Namathponnan [mailto:rayees.namathpon...@citrix.com]
> Sent: 08 December 2013 04:32
> To: dev@cloudstack.apache.org
> Subject: 4.3 vmware automation blocker
> 
> Vm deployment failing latest 4.3 build in Vmware environment;   below defect 
> created
> 
> https://issues.apache.org/jira/browse/CLOUDSTACK-5408
> 
> 
> 4.3 automation blocked due to this; someone possible to look this ?

I also observed this. 
Upgrading SSVM's service offering to accommodate more memory (784MB instead of 
default 256MB) has helped.

Regards,
Sateesh

> 
> 
> Regards,
> Rayees
> 
> 
>