You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cloudstack.apache.org by Tonmoy Paul <to...@yahoo.com> on 2013/08/02 15:39:14 UTC

Problem when installing Cloudstack in Ububtu 12.04

Dear All:

trying installation of cloudstack in Ubuntu 12.04 64bit using http://cloudstack.apache.org/docs/en-US/Apache_CloudStack/4.1.0/html/Installation_Guide/sect-source-builddebs.html link

mvn3 clean install -P developer,systemvm

when I use the above command, the process lasts for some minutes and then it stops with the below error:



BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 3:24.154s
[INFO] Finished at: Fri Aug 02 19:20:16 BDT 2013
[INFO] Final Memory: 40M/224M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.2.1:exec (package) on project cloud-marvin: Command execution failed. Process exited with an error: 1 (Exit value: 1) -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :cloud-marvin


I have tried but since I am very new in this world... I could not solved the problem

Re: Problem when installing Cloudstack in Ububtu 12.04

Posted by Kirk Kosinski <ki...@gmail.com>.
The final 4.1.1 version seems to have resolved the problems with my
Ubuntu 12.04.2 KVM hosts.  They were good with 4.0.1 and 4.0.2, broken
on 4.1.0, and now good again with 4.1.1.  I'm using a SG-enabled basic
zone.

Best regards,
Kirk

On 08/02/2013 07:56 AM, Péter Láng wrote:
> The solution for this exact problem is most likely:
> apt-get install python-setuptools
> 
> But I'll post here my other experiences too, "as a warning". :)
> 
> So I've been trying to get CS working on Ubuntu 12.04.2 in the past few
> days, and I must say the situation is not quite good. The guide is outdated
> and has some typos too.
> 
> For example the line mentioned above,
> deb http://cloudstack.apt-get.eu/ubuntu precise 4.0
> is outdated too, it will only get you to CS 4.0, naturally. To get 4.1 you
> have to change the version at the end of the line. The next issue you will
> face with that is that there's no longer a "cloud-client" in the repo. You
> have to apt-get the cloudstack-management package instead.
> 
> BUT actually I would NOT recommend 4.1 if you plan to use KVM, because it
> most likely won't work with Ubuntu LTS! (see
> https://issues.apache.org/jira/browse/CLOUDSTACK-2872)
> 
> So I ended up building 4.1.1 (
> http://www.apache.org/dyn/closer.cgi/cloudstack/releases/4.1.1/apache-cloudstack-4.1.1-src.tar.bz2)
> from source. To avoid the problem of the first message, you need to get
> python-setuptools for this version too. Then you have to set up your local
> repo based on the guide, and apt-get from there. (You need a webserver to
> do it ofc, apt-get install apache2 pretty much does the work. You will also
> face some other issues along the way, the guide copies the file to a wrong
> path, so first you'll get a 404, but the solution to those are trivial.
> Also disregard the maven3 blurb of the guide, Ubuntu LTS now does have mvn
> 3+ in the repo, so you can use the default maven package.)
> 
> Just to save you from some headache. Also, prepare for more trouble down
> the road, this is just the tip of the iceberg. My system is still not
> functional. Ubuntu support needs some work.
> 
> P
> 
> 
> 2013/8/2 Karthik Kothuri <ka...@eis.ernet.in>
> 
>> Hey Tonmoy,
>>
>> If you are using Ubuntu 12.04 (precise), you don't have to compile again
>> using Maven since the package repo for Precise is already available.You can
>> skip this step
>>
>>
>> http://cloudstack.apache.org/docs/en-US/Apache_CloudStack/4.1.0/html/Installation_Guide/configure-package-repository.html#configure-package-repository-deb
>>
>> You can directly add
>> deb http://cloudstack.apt-get.eu/ubuntu precise 4.0
>>
>> /etc/apt/sources.list.d/cloudstack.list
>>
>> Compiling using Maven is needed for other version of Ubuntu, since the
>> package repo is
>> not yet available .
>>
>> Hope this helps.
>>
>> Thank you.
>>
>>
>> On Fri, Aug 2, 2013 at 7:09 PM, Tonmoy Paul <to...@yahoo.com> wrote:
>>
>>> Dear All:
>>>
>>> trying installation of cloudstack in Ubuntu 12.04 64bit using
>>>
>> http://cloudstack.apache.org/docs/en-US/Apache_CloudStack/4.1.0/html/Installation_Guide/sect-source-builddebs.htmllink
>>>
>>> mvn3 clean install -P developer,systemvm
>>>
>>> when I use the above command, the process lasts for some minutes and then
>>> it stops with the below error:
>>>
>>>
>>>
>>> BUILD FAILURE
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [INFO] Total time: 3:24.154s
>>> [INFO] Finished at: Fri Aug 02 19:20:16 BDT 2013
>>> [INFO] Final Memory: 40M/224M
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [ERROR] Failed to execute goal
>>> org.codehaus.mojo:exec-maven-plugin:1.2.1:exec (package) on project
>>> cloud-marvin: Command execution failed. Process exited with an error: 1
>>> (Exit value: 1) -> [Help 1]
>>> [ERROR]
>>> [ERROR] To see the full stack trace of the errors, re-run Maven with the
>>> -e switch.
>>> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
>>> [ERROR]
>>> [ERROR] For more information about the errors and possible solutions,
>>> please read the following articles:
>>> [ERROR] [Help 1]
>>> http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
>>> [ERROR]
>>> [ERROR] After correcting the problems, you can resume the build with the
>>> command
>>> [ERROR]   mvn <goals> -rf :cloud-marvin
>>>
>>>
>>> I have tried but since I am very new in this world... I could not solved
>>> the problem
>>
> 


Re: Problem when installing Cloudstack in Ububtu 12.04

Posted by Péter Láng <lp...@gmail.com>.
The solution for this exact problem is most likely:
apt-get install python-setuptools

But I'll post here my other experiences too, "as a warning". :)

So I've been trying to get CS working on Ubuntu 12.04.2 in the past few
days, and I must say the situation is not quite good. The guide is outdated
and has some typos too.

For example the line mentioned above,
deb http://cloudstack.apt-get.eu/ubuntu precise 4.0
is outdated too, it will only get you to CS 4.0, naturally. To get 4.1 you
have to change the version at the end of the line. The next issue you will
face with that is that there's no longer a "cloud-client" in the repo. You
have to apt-get the cloudstack-management package instead.

BUT actually I would NOT recommend 4.1 if you plan to use KVM, because it
most likely won't work with Ubuntu LTS! (see
https://issues.apache.org/jira/browse/CLOUDSTACK-2872)

So I ended up building 4.1.1 (
http://www.apache.org/dyn/closer.cgi/cloudstack/releases/4.1.1/apache-cloudstack-4.1.1-src.tar.bz2)
from source. To avoid the problem of the first message, you need to get
python-setuptools for this version too. Then you have to set up your local
repo based on the guide, and apt-get from there. (You need a webserver to
do it ofc, apt-get install apache2 pretty much does the work. You will also
face some other issues along the way, the guide copies the file to a wrong
path, so first you'll get a 404, but the solution to those are trivial.
Also disregard the maven3 blurb of the guide, Ubuntu LTS now does have mvn
3+ in the repo, so you can use the default maven package.)

Just to save you from some headache. Also, prepare for more trouble down
the road, this is just the tip of the iceberg. My system is still not
functional. Ubuntu support needs some work.

P


2013/8/2 Karthik Kothuri <ka...@eis.ernet.in>

> Hey Tonmoy,
>
> If you are using Ubuntu 12.04 (precise), you don't have to compile again
> using Maven since the package repo for Precise is already available.You can
> skip this step
>
>
> http://cloudstack.apache.org/docs/en-US/Apache_CloudStack/4.1.0/html/Installation_Guide/configure-package-repository.html#configure-package-repository-deb
>
> You can directly add
> deb http://cloudstack.apt-get.eu/ubuntu precise 4.0
>
> /etc/apt/sources.list.d/cloudstack.list
>
> Compiling using Maven is needed for other version of Ubuntu, since the
> package repo is
> not yet available .
>
> Hope this helps.
>
> Thank you.
>
>
> On Fri, Aug 2, 2013 at 7:09 PM, Tonmoy Paul <to...@yahoo.com> wrote:
>
> > Dear All:
> >
> > trying installation of cloudstack in Ubuntu 12.04 64bit using
> >
> http://cloudstack.apache.org/docs/en-US/Apache_CloudStack/4.1.0/html/Installation_Guide/sect-source-builddebs.htmllink
> >
> > mvn3 clean install -P developer,systemvm
> >
> > when I use the above command, the process lasts for some minutes and then
> > it stops with the below error:
> >
> >
> >
> > BUILD FAILURE
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] Total time: 3:24.154s
> > [INFO] Finished at: Fri Aug 02 19:20:16 BDT 2013
> > [INFO] Final Memory: 40M/224M
> > [INFO]
> > ------------------------------------------------------------------------
> > [ERROR] Failed to execute goal
> > org.codehaus.mojo:exec-maven-plugin:1.2.1:exec (package) on project
> > cloud-marvin: Command execution failed. Process exited with an error: 1
> > (Exit value: 1) -> [Help 1]
> > [ERROR]
> > [ERROR] To see the full stack trace of the errors, re-run Maven with the
> > -e switch.
> > [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> > [ERROR]
> > [ERROR] For more information about the errors and possible solutions,
> > please read the following articles:
> > [ERROR] [Help 1]
> > http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
> > [ERROR]
> > [ERROR] After correcting the problems, you can resume the build with the
> > command
> > [ERROR]   mvn <goals> -rf :cloud-marvin
> >
> >
> > I have tried but since I am very new in this world... I could not solved
> > the problem
>

Re: Problem when installing Cloudstack in Ububtu 12.04

Posted by Karthik Kothuri <ka...@eis.ernet.in>.
Hey Tonmoy,

If you are using Ubuntu 12.04 (precise), you don't have to compile again
using Maven since the package repo for Precise is already available.You can
skip this step

http://cloudstack.apache.org/docs/en-US/Apache_CloudStack/4.1.0/html/Installation_Guide/configure-package-repository.html#configure-package-repository-deb

You can directly add
deb http://cloudstack.apt-get.eu/ubuntu precise 4.0

/etc/apt/sources.list.d/cloudstack.list

Compiling using Maven is needed for other version of Ubuntu, since the
package repo is
not yet available .

Hope this helps.

Thank you.


On Fri, Aug 2, 2013 at 7:09 PM, Tonmoy Paul <to...@yahoo.com> wrote:

> Dear All:
>
> trying installation of cloudstack in Ubuntu 12.04 64bit using
> http://cloudstack.apache.org/docs/en-US/Apache_CloudStack/4.1.0/html/Installation_Guide/sect-source-builddebs.htmllink
>
> mvn3 clean install -P developer,systemvm
>
> when I use the above command, the process lasts for some minutes and then
> it stops with the below error:
>
>
>
> BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 3:24.154s
> [INFO] Finished at: Fri Aug 02 19:20:16 BDT 2013
> [INFO] Final Memory: 40M/224M
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal
> org.codehaus.mojo:exec-maven-plugin:1.2.1:exec (package) on project
> cloud-marvin: Command execution failed. Process exited with an error: 1
> (Exit value: 1) -> [Help 1]
> [ERROR]
> [ERROR] To see the full stack trace of the errors, re-run Maven with the
> -e switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR]
> [ERROR] For more information about the errors and possible solutions,
> please read the following articles:
> [ERROR] [Help 1]
> http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
> [ERROR]
> [ERROR] After correcting the problems, you can resume the build with the
> command
> [ERROR]   mvn <goals> -rf :cloud-marvin
>
>
> I have tried but since I am very new in this world... I could not solved
> the problem

Re: Problem when installing Cloudstack in Ububtu 12.04

Posted by Dean Kamali <de...@gmail.com>.
12.4.1 or 12.4.2? Keep in mind only 4.2.1 is supported according to
documentations
On Aug 2, 2013 9:41 AM, "Tonmoy Paul" <to...@yahoo.com> wrote:

> Dear All:
>
> trying installation of cloudstack in Ubuntu 12.04 64bit using
> http://cloudstack.apache.org/docs/en-US/Apache_CloudStack/4.1.0/html/Installation_Guide/sect-source-builddebs.htmllink
>
> mvn3 clean install -P developer,systemvm
>
> when I use the above command, the process lasts for some minutes and then
> it stops with the below error:
>
>
>
> BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 3:24.154s
> [INFO] Finished at: Fri Aug 02 19:20:16 BDT 2013
> [INFO] Final Memory: 40M/224M
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal
> org.codehaus.mojo:exec-maven-plugin:1.2.1:exec (package) on project
> cloud-marvin: Command execution failed. Process exited with an error: 1
> (Exit value: 1) -> [Help 1]
> [ERROR]
> [ERROR] To see the full stack trace of the errors, re-run Maven with the
> -e switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR]
> [ERROR] For more information about the errors and possible solutions,
> please read the following articles:
> [ERROR] [Help 1]
> http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
> [ERROR]
> [ERROR] After correcting the problems, you can resume the build with the
> command
> [ERROR]   mvn <goals> -rf :cloud-marvin
>
>
> I have tried but since I am very new in this world... I could not solved
> the problem