atom feed55 messages in org.apache.incubator.cloudstack-devRE: [VOTE] Apache Cloudstack 4.0.0-in...
FromSent OnAttachments
Chip ChildersOct 13, 2012 7:32 pm 
Sebastien GoasguenOct 14, 2012 5:43 am 
Rohit YadavOct 14, 2012 7:34 am 
Sebastien GoasguenOct 14, 2012 12:58 pm 
Noah SlaterOct 14, 2012 1:19 pm 
Chip ChildersOct 14, 2012 1:45 pm 
Noah SlaterOct 14, 2012 1:49 pm 
Chip ChildersOct 14, 2012 5:00 pm 
Noah SlaterOct 16, 2012 4:41 am 
Sebastien GoasguenOct 16, 2012 4:46 am 
Noah SlaterOct 16, 2012 4:48 am 
Sebastien GoasguenOct 16, 2012 5:00 am 
Noah SlaterOct 16, 2012 5:15 am 
Noah SlaterOct 16, 2012 5:18 am 
Sebastien GoasguenOct 16, 2012 5:28 am 
Rohit YadavOct 16, 2012 5:49 am 
Noah SlaterOct 16, 2012 6:48 am 
Noah SlaterOct 16, 2012 7:59 am 
Chip ChildersOct 16, 2012 8:08 am 
Rohit YadavOct 16, 2012 9:10 am 
Rohit YadavOct 16, 2012 9:14 am 
Sailaja MadaOct 16, 2012 9:15 am 
Edison SuOct 16, 2012 9:50 am 
Rohit YadavOct 16, 2012 10:10 am 
Edison SuOct 16, 2012 10:20 am 
Rohit YadavOct 16, 2012 10:42 am 
Marcus SorensenOct 16, 2012 10:58 am 
Edison SuOct 16, 2012 11:53 am 
Rohit YadavOct 16, 2012 12:16 pm 
Edison SuOct 16, 2012 12:20 pm 
Marcus SorensenOct 16, 2012 1:44 pm 
Edison SuOct 16, 2012 1:48 pm 
Chip ChildersOct 16, 2012 2:46 pm 
Chandan PurushothamaOct 16, 2012 3:06 pm 
Chip ChildersOct 16, 2012 3:12 pm 
Edison SuOct 16, 2012 3:43 pm 
Kevin KlugeOct 16, 2012 4:18 pm 
Chip ChildersOct 16, 2012 4:23 pm 
Noah SlaterOct 17, 2012 4:08 am 
Chip ChildersOct 17, 2012 5:55 am 
Joe BrockmeierOct 17, 2012 7:14 am 
David NalleyOct 17, 2012 7:46 am 
Chip ChildersOct 17, 2012 8:05 am 
Noah SlaterOct 17, 2012 8:40 am 
Chip ChildersOct 17, 2012 8:44 am 
Noah SlaterOct 17, 2012 8:51 am 
David NalleyOct 17, 2012 8:55 am 
Noah SlaterOct 17, 2012 9:04 am 
David NalleyOct 17, 2012 9:07 am 
Noah SlaterOct 17, 2012 9:21 am 
Chip ChildersOct 17, 2012 9:28 am 
Noah SlaterOct 17, 2012 10:01 am 
Sebastien GoasguenOct 17, 2012 10:11 am 
Sebastien GoasguenOct 17, 2012 10:20 am 
Prasanna SanthanamOct 17, 2012 9:33 pm 
Subject:RE: [VOTE] Apache Cloudstack 4.0.0-incubating Release, second round
From:Edison Su (Edis@citrix.com)
Date:Oct 16, 2012 10:20:41 am
List:org.apache.incubator.cloudstack-dev

Why it failed? Any log? The same procedure works for me and chip.

-----Original Message----- From: Rohit Yadav Sent: Tuesday, October 16, 2012 10:11 AM To: Edison Su Cc: clou@incubator.apache.org Subject: RE: [VOTE] Apache Cloudstack 4.0.0-incubating Release, second round

Yes, but the wiki also also suggests to clean DevCloud: ssh root@localhost -p 2222 'cd /opt/cloudstack/; rm -rf apache-tomcat- 6.0.32; unzip apache-tomcat-6.0.32.zip; cd incubator-cloudstack; git clean -f; git reset --hard; git pull --rebase; git clean -f; git checkout origin/4.0 -b 4.0 -f '

This remove the build/override/templates.sql, so when I do ant rdeploydb, it fails.

Regards.

________________________________________ From: Edison Su Sent: Tuesday, October 16, 2012 10:20 PM To: Rohit Yadav Cc: clou@incubator.apache.org Subject: Re: [VOTE] Apache Cloudstack 4.0.0-incubating Release, second round

Rdeploydb will recreate db in devcloud, right? It's documented in the test procedure.

Sent from my iPhone

On Oct 16, 2012, at 9:15 AM, "Rohit Yadav" <rohi@citrix.com> wrote:

Another issue I found was that we're cleaning DevCloud, which cleans

the override/templates.sql, pl. make a backup of it. And, pl. rdeploydb to start afresh, your old devcloud image will have old database (3.x) which will be failed by DatabaseUpgradeChecker upon ant rdebug.

Edison, can we create and public a new devcloud image on the same url?

On 16-Oct-2012, at 9:41 PM, Rohit Yadav <rohi@citrix.com> wrote:

Okay, I re-read the logs and found the issues:

1. If you're using PPA: natecarlson/maven3, we will have to use mvn3, so mvn3 -P deps. Updated the 4.0 test procedure wiki.

2. Since, we've moved from ant and we clean the repository in Test the Build section. This cleans up target and dist folders. Hence, when we do ant rdeploy, it fails to scp target/ and dist/ to devcloud's /opt/cloudstack/incubator-cloudstack/

Manual fix for now: - ssh to devcloud; ssh -p 2222 root@localhost; cd /opt/cloudstack/incubator-cloudstack; mkdir -p target dist; - back to your host os etc.

Applied fix to create dirs before scp-ing on 4.0 branch: 53a3c2f171dfea5de6e0cda2ae3317560ecd91f5

DevCloud on master needs fixing with maven, I'll work on this in case anyone else if not already working on it?

Regards.

On 16-Oct-2012, at 8:38 PM, Chip Childers <chip@sungard.com> wrote:

I'm offline in a all day meeting. Can someone help Noah please?

- chip

Sent from my iPhone.

On Oct 16, 2012, at 11:00 AM, Noah Slater <nsla@tumbolia.org> wrote:

I just tried to clean the source locally and redeploy and get the same error.

Chip, can you advise please?

On Tue, Oct 16, 2012 at 2:48 PM, Noah Slater <nsla@tumbolia.org> wrote:

I am following the instructions from the wiki, copy and paste style.

This is the FIRST time the rdeploy thing managed to SSH into the VM.

Do these comments still apply? (Should we document them?)

On Tue, Oct 16, 2012 at 1:49 PM, Rohit Yadav <rohi@citrix.com>wrote:

On 16-Oct-2012, at 5:48 PM, Noah Slater <nsla@tumbolia.org> wrote:

Now I have this error:

$ ant rdeploy Buildfile: /private/tmp/cloudstack/apache-cloudstack-4.0.0-incubating- src/build.xml [echo] Using build parameters from

/private/tmp/cloudstack/apache-cloudstack-4.0.0-incubating-

src/build/build-cloud.properties

[echo] Using company info from

/private/tmp/cloudstack/apache-cloudstack-4.0.0-incubating-

src/build/cloud.properties

[echo] Using override file from

/private/tmp/cloudstack/apache-cloudstack-4.0.0-incubating-

src/build/replace.properties

[echo] Using build parameters from

/private/tmp/cloudstack/apache-cloudstack-4.0.0-incubating-

src/build/build-cloud.properties

[echo] Using company info from

/private/tmp/cloudstack/apache-cloudstack-4.0.0-incubating-

src/build/cloud.properties

[echo] Using override file from

/private/tmp/cloudstack/apache-cloudstack-4.0.0-incubating-

src/build/replace.properties

[echo] deploy home:

/private/tmp/cloudstack/apache-cloudstack-4.0.0-incubating-

src/build/deploy

rdeploy: [echo] copying build folder to remote [scp] Connecting to localhost:2222 [scp] done. [scp] Connecting to localhost:2222 [scp] done. [echo] copying deps folder to remote [scp] Connecting to localhost:2222 [scp] done. [echo] copying target folder to remote [scp] Connecting to localhost:2222 [scp] done. [echo] copying dist folder to remote [scp] Connecting to localhost:2222 [scp] done. [sshexec] Connecting to localhost:2222 [sshexec] cmd : echo $CATALINA_HOME; export CATALINA_HOME=/opt/cloudstack/apache-tomcat-6.0.32;cd /opt/cloudstack/incubator-cloudstack;ant deploy-server [sshexec] [sshexec] Buildfile: /opt/cloudstack/incubator- cloudstack/build.xml [sshexec] [sshexec] [echo] Using build parameters from /opt/cloudstack/incubator-cloudstack/build/build- cloud.properties [sshexec] [sshexec] [echo] Using company info from /opt/cloudstack/incubator-cloudstack/build/cloud.properties [sshexec] [sshexec] [echo] Using override file from /opt/cloudstack/incubator-cloudstack/build/replace.properties [sshexec] [sshexec] [echo] Using build parameters from /opt/cloudstack/incubator-cloudstack/build/build- cloud.properties [sshexec] [sshexec] [echo] Using company info from /opt/cloudstack/incubator-cloudstack/build/cloud.properties [sshexec] [sshexec] [echo] Using override file from /opt/cloudstack/incubator-cloudstack/build/replace.properties [sshexec] [sshexec] [echo] deploy home: /opt/cloudstack/incubator-cloudstack/build/deploy [sshexec] [sshexec] [sshexec] deploy-common: [sshexec] [sshexec] [echo] Using build parameters from /opt/cloudstack/incubator-cloudstack/build/build- cloud.properties [sshexec] [sshexec] [echo] Using company info from /opt/cloudstack/incubator-cloudstack/build/cloud.properties [sshexec] [sshexec] [echo] Using override file from /opt/cloudstack/incubator-cloudstack/build/replace.properties [sshexec] [sshexec] [echo] Using build parameters from /opt/cloudstack/incubator-cloudstack/build/build- cloud.properties [sshexec] [sshexec] [echo] Using company info from /opt/cloudstack/incubator-cloudstack/build/cloud.properties [sshexec] [sshexec] [echo] Using override file from /opt/cloudstack/incubator-cloudstack/build/replace.properties [sshexec] [sshexec] [echo] deploy home: /opt/cloudstack/incubator-cloudstack/build/deploy [sshexec] [sshexec] [sshexec] unzip: [sshexec] [sshexec] [sshexec] BUILD FAILED [sshexec] /opt/cloudstack/incubator- cloudstack/build/developer.xml:184: src '/opt/cloudstack/incubator-

cloudstack/dist/client/client.war'

doesn't

Before rdeploying, you need to clean-all build-all and make sure to ant clean-tomcat (for any unclean issue), I usually ssh and cd to /opt/cloudstack, git pull and run commands there.

Regards.

exist. [sshexec] [sshexec] Total time: 1 second [sshexec]

BUILD FAILED

/private/tmp/cloudstack/apache-cloudstack-4.0.0-incubating-

src/build/build-devcloud.xml:94:

Remote command failed with exit status 1

Total time: 55 seconds

On Tue, Oct 16, 2012 at 1:16 PM, Noah Slater

<nsla@tumbolia.org>

wrote:

Thanks, downloading the binary distribution of Ant and manually copying ant-jsch.jar worked for me. I have updated the wiki.

On Tue, Oct 16, 2012 at 1:01 PM, Sebastien Goasguen

<run@gmail.com

wrote:

I followed this:

http://myvirtual-lab.blogspot.com.es/2009/07/ant-scp-and- ec2.html

with updated versions..

On Oct 16, 2012, at 1:48 PM, Noah Slater

<nsla@tumbolia.org>

wrote:

$ ls -l /usr/share/ant/lib/jsch-0.1.48.jar -rw-r--r-- 1 root wheel 226175 15 Oct 20:10 /usr/share/ant/lib/jsch-0.1.48.jar