Return-Path: X-Original-To: apmail-cloudstack-dev-archive@www.apache.org Delivered-To: apmail-cloudstack-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 1B39D11C10 for ; Fri, 8 Aug 2014 09:40:57 +0000 (UTC) Received: (qmail 60383 invoked by uid 500); 8 Aug 2014 09:40:56 -0000 Delivered-To: apmail-cloudstack-dev-archive@cloudstack.apache.org Received: (qmail 60325 invoked by uid 500); 8 Aug 2014 09:40:56 -0000 Mailing-List: contact dev-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cloudstack.apache.org Delivered-To: mailing list dev@cloudstack.apache.org Received: (qmail 60302 invoked by uid 99); 8 Aug 2014 09:40:56 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 Aug 2014 09:40:56 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of runseb@gmail.com designates 74.125.82.48 as permitted sender) Received: from [74.125.82.48] (HELO mail-wg0-f48.google.com) (74.125.82.48) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 Aug 2014 09:40:51 +0000 Received: by mail-wg0-f48.google.com with SMTP id x13so5306444wgg.19 for ; Fri, 08 Aug 2014 02:40:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to; bh=Nm9sZspxDs/Hi7ryzg/A6cWVbdv/e513l4KJYbyIfBM=; b=ibeBRmphKeyEFF9Xpo6VMzdCzTg7IFcKKBztnD/1qU8fQcl9HW9LMFo7j34f0c7+sk UNnbIWGUPzFPs5lyfSR0P7CW61/YV/K2Ks6jWEgXZwP4TgUb4+LF44E1Sy7E+uDTN7Zw b0CmzpAEEbFtb7JD1t2y8k5qtjUgsmPf2Eu3M30kFE6VirzDkn2LLYIqToybuuE0frhL 5IBCj7gnEllUpSyqLpeoqUaVN/fkkPCQ0CuhqH00yyAeaK548crednEhcXDrIb3IAvFI 6+wGB0uKx+Q9J3gIYLG8j9zGEiXVqxUUIlREPEYGyXv6IQPFG+8FNzH7R1p3DNCuvIE7 wPag== X-Received: by 10.194.203.8 with SMTP id km8mr30702420wjc.51.1407490830925; Fri, 08 Aug 2014 02:40:30 -0700 (PDT) Received: from [192.168.1.26] (ARennes-652-1-224-253.w86-214.abo.wanadoo.fr. [86.214.223.253]) by mx.google.com with ESMTPSA id ev18sm1480649wid.1.2014.08.08.02.40.28 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 08 Aug 2014 02:40:28 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 6.6 \(1510\)) Subject: Re: [CLOUDSTACK-6114][GSoC] End of second term approaching From: Sebastien Goasguen In-Reply-To: Date: Fri, 8 Aug 2014 05:40:34 -0400 Content-Transfer-Encoding: quoted-printable Message-Id: <95C3EFA9-0712-4783-B2FF-EA6DB323827F@gmail.com> References: To: dev@cloudstack.apache.org X-Mailer: Apple Mail (2.1510) X-Virus-Checked: Checked by ClamAV on apache.org Ian, This is terrific. I hope folks will take time to check all the scenarios = you have covered. This will make testing cloudstack super easy as well as remove the need = for devcloud (which tends to break in the latest releases). Great work, -sebastien On Aug 7, 2014, at 4:58 PM, Ian Duffy wrote: > Hi All, >=20 > Giving a very brief overview of everything that has been done. If any > questions or expansion is wanted please reply back. >=20 > TL;DR "vagrant up" for: Cloudstack basic zone from source, Cloudstack > advanced zone from source, Cloudstack Simulator, Cloudstack binary > installation and configuration. All provisioning/setup done by chef. >=20 > VagrantFiles / Example usage: https://github.com/imduffy15/GSoC-2014 >=20 > Chef recipe: https://github.com/imduffy15/cookbook_cloudstack >=20 >=20 > *CLOUDSTACK-6114 - GSoC: Create config management recipes to install > CloudStack. ( https://issues.apache.org/jira/browse/CLOUDSTACK-6114 > ) * >=20 > *"Devcloud" basic = (https://github.com/imduffy15/GSoC-2014/tree/master/basic > )* >=20 > Re-jigged version of devcloud using vagrant and chef. >=20 > Made up of: > 1) "Management" VM. Acts as NFS, MySQL and a Gateway. > 2) XenServer VM. (Built using packer > https://github.com/imduffy15/packer-xenserver) >=20 > Cloudstack is ran on the developers machine. > Marvin is also ran on the developers machine with a supplied = configuration > for a basic zone. >=20 > MySQL is forwarded from the VM to localhost 3306. This means deploydb = works > without issue. >=20 > Unlike the old implementation, the VMs brought up by cloudstack have > internet access. >=20 > VagrantFile and Marvin config can be found at > https://github.com/imduffy15/GSoC-2014/tree/master/basic >=20 > *"Devcloud" advanced > (https://github.com/imduffy15/GSoC-2014/tree/master/advanced > )* >=20 > Extension of the above described "Devcloud" basic. >=20 > This extension introduces more virtual network cards. This allows for = an > advanced zone to be deployed. >=20 > Again, Cloudstack and Marvin will the ran on the developers machine. A > marvin config file has been supplied for this. >=20 > VagrantFile and Marvin config can be found at > https://github.com/imduffy15/GSoC-2014/tree/master/advanced >=20 > **** Note **** > *The ttylinux_vhd supplied with devcloud has hard coded dns servers in > resolv.conf.* >=20 > *These are not overwrote by the DHCP lease.* >=20 > *As a side project and workaround I have supplied Debian > images http://dl.openvm.eu/cloudstack/debian/vanilla/7/x86_64/ > Thanks to = Nux for > hosting and exoscale supplying boxes to build the images = automatically. * >=20 > *Simulator = (https://github.com/imduffy15/GSoC-2014/tree/master/simulator > )* >=20 > This is a single virtual machine. All development tools and mysql are > installed onto this box. A specified version of Cloudstack source is > downloaded and compiled. >=20 > The simulator is booted, when completed marvin is executed on the box = and > the simulator is configured. >=20 > Takes a bit of time to come up... faster solution below. >=20 > VagrantFile at = https://github.com/imduffy15/GSoC-2014/tree/master/simulator >=20 > *Simulator fast > (https://github.com/imduffy15/GSoC-2014/tree/master/simulator-fast > )* >=20 > This is a single virtual machine that supplies the cloudstack = simulator. I*t > comes up in however fast you can download the 128mb cloud-client-ui = war.* >=20 > This is restricted to running the cloud-client.war I have supplied = (based > of 4.4). This is due to inflexibility around the database. I was = hoping to > just use the basic create-schema files and let the upgrade handle the = rest > however the upgrade fails. If anybody has a solution to this I would = love > to hear it. >=20 > This works by taking the cloud-client.war and deploying it with jetty. >=20 > VagrantFile at > https://github.com/imduffy15/GSoC-2014/tree/master/simulator-fast >=20 > *Binary Installation > = (https://github.com/imduffy15/GSoC-2014/tree/master/binary-installation > = )*= >=20 > Takes the Cloudstack RPMs, installs them and all requirements. >=20 > Installs marvin and executes it against a configuration supplied = within the > chef recipe to configure your cloud. >=20 > The hypervisor is to be considered a static node. In a real world > environment it must exist before executing the chef recipe. >=20 > For demoing and testing purposes a VagrantFile for this can be found = at > https://github.com/imduffy15/GSoC-2014/tree/master/binary-installation >=20 > **** Note **** >=20 > All of the above described boxes are not baked. They are fried on boot = up > using chef, this means you can use the recipe outside of vagrant for > achieving the same thing. >=20 > The recipe can be found at = https://github.com/imduffy15/cookbook_cloudstack > for usage please see the above mentioned vagrantfiles and their run = lists > along with the chef attributes defination file.