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 2CF62116E6 for ; Thu, 7 Aug 2014 20:59:25 +0000 (UTC) Received: (qmail 19498 invoked by uid 500); 7 Aug 2014 20:59:24 -0000 Delivered-To: apmail-cloudstack-dev-archive@cloudstack.apache.org Received: (qmail 19439 invoked by uid 500); 7 Aug 2014 20:59:24 -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 19427 invoked by uid 99); 7 Aug 2014 20:59:24 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Aug 2014 20:59:24 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of ian@ianduffy.ie designates 209.85.217.181 as permitted sender) Received: from [209.85.217.181] (HELO mail-lb0-f181.google.com) (209.85.217.181) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Aug 2014 20:59:21 +0000 Received: by mail-lb0-f181.google.com with SMTP id 10so3094021lbg.40 for ; Thu, 07 Aug 2014 13:58:57 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:date:message-id:subject:from:to :content-type; bh=qAzNM33f7zhAPcHvTmNlPsDv9FPft0jc15NI0p26emk=; b=LZ4fCvT5sJkusjNvjHN9aSqWyUfN2ldV2yEOgRkcgMKp3YxzZZy0zaK28EYU4JmbbK hzeOfc4Pbrk93BZNvt0m4ju/K9VL5QQS7A+xdcG2p/Cy016I7Ujc2Ep2LPj6YRzatR3L gwNRxPB8AkX6mSSNE89j4glTxC8w62DQyUB8TOUfKhBQe0iq0Xrhwg3DCDklOuP+2ZVT PI8/mLmE2wDVTXpGnIKacJbIUQ9iaiT2ErnWvlaeH15DbiUyEqypRd8IR4Pvm+5E6R4y r41ADcyO7llQxsQ5/Xa3VsJKDViB2wL0bSuzZV3PE2/LsLeLpdHYmcWw2dbtoivuRL9Q VF2g== X-Gm-Message-State: ALoCoQm85NvvFK7p2aO624n62P/5nN6Tf6k4NhTmIT82rwQSHecPzkNgncD0pyVJNtM3M0P7CHlb MIME-Version: 1.0 X-Received: by 10.112.4.100 with SMTP id j4mr17773329lbj.39.1407445137125; Thu, 07 Aug 2014 13:58:57 -0700 (PDT) Received: by 10.112.123.166 with HTTP; Thu, 7 Aug 2014 13:58:57 -0700 (PDT) X-Originating-IP: [80.111.117.20] Date: Thu, 7 Aug 2014 21:58:57 +0100 Message-ID: Subject: [CLOUDSTACK-6114][GSoC] End of second term approaching From: Ian Duffy To: CloudStack Dev Content-Type: multipart/alternative; boundary=14dae9473a39708c530500105bd9 X-Virus-Checked: Checked by ClamAV on apache.org --14dae9473a39708c530500105bd9 Content-Type: text/plain; charset=UTF-8 Hi All, Giving a very brief overview of everything that has been done. If any questions or expansion is wanted please reply back. 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. VagrantFiles / Example usage: https://github.com/imduffy15/GSoC-2014 Chef recipe: https://github.com/imduffy15/cookbook_cloudstack *CLOUDSTACK-6114 - GSoC: Create config management recipes to install CloudStack. ( https://issues.apache.org/jira/browse/CLOUDSTACK-6114 ) * *"Devcloud" basic (https://github.com/imduffy15/GSoC-2014/tree/master/basic )* Re-jigged version of devcloud using vagrant and chef. 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) Cloudstack is ran on the developers machine. Marvin is also ran on the developers machine with a supplied configuration for a basic zone. MySQL is forwarded from the VM to localhost 3306. This means deploydb works without issue. Unlike the old implementation, the VMs brought up by cloudstack have internet access. VagrantFile and Marvin config can be found at https://github.com/imduffy15/GSoC-2014/tree/master/basic *"Devcloud" advanced (https://github.com/imduffy15/GSoC-2014/tree/master/advanced )* Extension of the above described "Devcloud" basic. This extension introduces more virtual network cards. This allows for an advanced zone to be deployed. Again, Cloudstack and Marvin will the ran on the developers machine. A marvin config file has been supplied for this. VagrantFile and Marvin config can be found at https://github.com/imduffy15/GSoC-2014/tree/master/advanced **** Note **** *The ttylinux_vhd supplied with devcloud has hard coded dns servers in resolv.conf.* *These are not overwrote by the DHCP lease.* *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. * *Simulator (https://github.com/imduffy15/GSoC-2014/tree/master/simulator )* 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. The simulator is booted, when completed marvin is executed on the box and the simulator is configured. Takes a bit of time to come up... faster solution below. VagrantFile at https://github.com/imduffy15/GSoC-2014/tree/master/simulator *Simulator fast (https://github.com/imduffy15/GSoC-2014/tree/master/simulator-fast )* 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.* 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. This works by taking the cloud-client.war and deploying it with jetty. VagrantFile at https://github.com/imduffy15/GSoC-2014/tree/master/simulator-fast *Binary Installation (https://github.com/imduffy15/GSoC-2014/tree/master/binary-installation )* Takes the Cloudstack RPMs, installs them and all requirements. Installs marvin and executes it against a configuration supplied within the chef recipe to configure your cloud. The hypervisor is to be considered a static node. In a real world environment it must exist before executing the chef recipe. For demoing and testing purposes a VagrantFile for this can be found at https://github.com/imduffy15/GSoC-2014/tree/master/binary-installation **** Note **** 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. 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. --14dae9473a39708c530500105bd9--