Return-Path: X-Original-To: apmail-incubator-cloudstack-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-cloudstack-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C9AF5E25F for ; Wed, 30 Jan 2013 19:25:20 +0000 (UTC) Received: (qmail 87235 invoked by uid 500); 30 Jan 2013 19:25:19 -0000 Delivered-To: apmail-incubator-cloudstack-dev-archive@incubator.apache.org Received: (qmail 87193 invoked by uid 500); 30 Jan 2013 19:25:19 -0000 Mailing-List: contact cloudstack-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: cloudstack-dev@incubator.apache.org Delivered-To: mailing list cloudstack-dev@incubator.apache.org Received: (qmail 87175 invoked by uid 99); 30 Jan 2013 19:25:19 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 Jan 2013 19:25:19 +0000 X-ASF-Spam-Status: No, hits=-0.5 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of rohityadav89@gmail.com designates 209.85.210.179 as permitted sender) Received: from [209.85.210.179] (HELO mail-ia0-f179.google.com) (209.85.210.179) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 Jan 2013 19:25:13 +0000 Received: by mail-ia0-f179.google.com with SMTP id x24so2798739iak.38 for ; Wed, 30 Jan 2013 11:24:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type; bh=8OL0WvxKax+lPJqo26+i1Mt4nmu36SEpPDonsNn3LIM=; b=bUIlFrI/70tPhG03DZBVEifjMv4jI2E4q8SnCTle5h2h3iuic3kEL8BLMWV21C/AEW MlkKUONcKaYOe2Sj3SZ+Mb5Et5fpWwlAGUZTaDbJU/5vCHq74it3w4TNBfYEjzMiECQQ gYELCn4ahvm/7WK/soNPJ++a1C4ghuzGKQzW5Zjjy7XtVh+hRrBQKivfH6Aq4EnNdqq6 Dbje8s0Hg+5rBFITeqtQcQ5kY8pcTaqpgd9LqpGsXXJbLnX0cR9JuPJVXlKH89Sm8ygp wM6j9auGuxA6+/OU5/X+Dpz4S8FGuwYLM6ZztUUx56SFhlIrp6VjVpiRPYfjc+s/HXS4 4ssw== X-Received: by 10.50.214.97 with SMTP id nz1mr4266620igc.36.1359573892432; Wed, 30 Jan 2013 11:24:52 -0800 (PST) MIME-Version: 1.0 Sender: rohityadav89@gmail.com Received: by 10.50.110.4 with HTTP; Wed, 30 Jan 2013 11:24:32 -0800 (PST) In-Reply-To: References: From: Rohit Yadav Date: Wed, 30 Jan 2013 11:24:32 -0800 X-Google-Sender-Auth: 1dS7EKyaHQwPlV3W9FJiel0WyPQ Message-ID: Subject: Re: inconsistent docs in wiki for maven build and devcloud To: cloudstack-dev@incubator.apache.org Cc: cloudstack-users@incubator.apache.org Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org On Wed, Jan 30, 2013 at 4:16 AM, Sebastien Goasguen wrote: > Hi, > > I noticed some inconsistent documentation on how to build from source, as well as multiple devcloud pages that use different profiles and properties. > > namely: > https://cwiki.apache.org/CLOUDSTACK/devcloud-kvm.html This is for DevCloud-KVM (I would recommend for test automation). > https://cwiki.apache.org/CLOUDSTACK/devcloud.html This is for DevCloud (VirtualBox) (recommended offline infra/host/storage dev appliance for developers). > https://cwiki.apache.org/CLOUDSTACK/cloudstack-devcloud-environment-setup.html This can be removed, any useful content should be moved to https://cwiki.apache.org/CLOUDSTACK/devcloud.html > http://wiki.cloudstack.org/display/COMM/DevCloud Useful stuff should be moved to https://cwiki.apache.org/CLOUDSTACK/devcloud.html wiki.cloudstack.org is deprecated now. > https://cwiki.apache.org/CLOUDSTACK/diy-devcloud-setup.html (is pre maven) We can get rid of this one. > > systemvm was not a profile before, seems to have been made into a profile and now is a "property" > > I do this on my laptop (running mgt server and db there): > mvn -Pdeveloper clean install -DskipTests -Dsystemvm Should be: mvn clean install -P systemvm,developer -DskipTests (# if skipping tests) > mvn -pl developer,tools/devcloud -Ddeploydb -P developer > mvn -pl client jetty:run > > The configure devcloud with: > mvn -P developer -pl tools/devcloud -Ddeploysvr > > This results in systemvm not starting. No errors in logs. Hope you're running latest DevCloud and running mgmt server on host os/laptop, else you should use marvin directly instead of maven calling marvin to deploy datacenter for you: cd tools/devcloud; # If mgmt server running on host os 192.168.56.1: python ../marvin/marvin/deployDataCenter.py -i devcloud.cfg # If mgmt server running inside devcloud, 192.168.56.10: # make sure to change host value to 192.168.56.10 in devcloud.sql before you deplodyb python ../marvin/marvin/deployDataCenter.py -i devcloud_internal-mgt.cfg > > What's the proper way to build from source for devcloud ? What I explained in my blog was manual creation for most part, we have some stuff in tools/devcloud which is supposed to build devcloud using viewee/vagrant/vbox here: (it's not maintained for long, it may not work now, will check next week): tools/devcloud/README.md Hope this helps. Regards. > > -Sebastien