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 687A711496 for ; Mon, 2 Jun 2014 15:28:06 +0000 (UTC) Received: (qmail 22473 invoked by uid 500); 2 Jun 2014 15:28:06 -0000 Delivered-To: apmail-cloudstack-dev-archive@cloudstack.apache.org Received: (qmail 22425 invoked by uid 500); 2 Jun 2014 15:28:06 -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 22414 invoked by uid 99); 2 Jun 2014 15:28:06 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Jun 2014 15:28:06 +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 (nike.apache.org: domain of ilya.mailing.lists@gmail.com designates 209.85.220.54 as permitted sender) Received: from [209.85.220.54] (HELO mail-pa0-f54.google.com) (209.85.220.54) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Jun 2014 15:28:02 +0000 Received: by mail-pa0-f54.google.com with SMTP id lf10so4065172pab.41 for ; Mon, 02 Jun 2014 08:27:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=GTvfXa+q1oeLofLjAYRwG7uCsz6EY+yMOBJBz+oB1hQ=; b=IQsotnhRaCi81seO/bOzPrrLPFFaqz39DX7f5s2mm5D/yqLkH8oFJ7v+kDG4s0ZOon cKiwaTih9Oz4jAwnbnUljUWlAcSLZJdn3x1ENjyaV0oe5UAeWy65oy9rbeFkAgoWJgMI rajNHGT7FU3e4MWxJ41d8yumCA7mcPETFlYSWmyIlEKNORrceqjaF/EWhxMmmIhqAn+O bHF3YF0u1azJk6QZ7DtK0FtVt03yN0j5jjWkm2aY/m499NuboWdzsAMD/Fps/DSt/qr4 qWpFNxSxLzaNJ24lnPWg+/U+NT5MgoKdEW6tIsmnY/4wtPmp5FbqZpcD0VH1pQuwDd2m jRQA== X-Received: by 10.66.166.9 with SMTP id zc9mr2726318pab.83.1401722858185; Mon, 02 Jun 2014 08:27:38 -0700 (PDT) Received: from ilyas-MacBook-Pro.local (dev1.cloudsand.com. [162.243.147.22]) by mx.google.com with ESMTPSA id oz7sm21039662pbc.41.2014.06.02.08.27.37 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 02 Jun 2014 08:27:37 -0700 (PDT) Message-ID: <538C97E8.7080507@gmail.com> Date: Mon, 02 Jun 2014 08:27:36 -0700 From: ilya musayev User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 MIME-Version: 1.0 To: dev@cloudstack.apache.org Subject: Re: [GSoC] [CLOUDSTACK-6114] Progress update References: In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org This is great Ian, i will keep an eye out for your work. It will be useful for the meetups we run todo demo and how to installs. On 6/1/14, 6:06 AM, Ian Duffy wrote: > Hi all, > > I am making slow but steady progress on my GSoC project. If anybody is > interested in seeing the work completed and work left to do the JIRA ticket > can be seen over here https://issues.apache.org/jira/browse/CLOUDSTACK-6114 > > Any of the work can be seen over at https://github.com/imduffy15/GSoC-2014 > > At the moment I have the following: > > # XenServer as Vagrant Box > > https://github.com/imduffy15/packer-xenserver > > I have a packerfile which will output a xenserver vagrant box. This box is > configured with two interfaces. The vagrant NAT interface and a host only > interface which will be used by Cloudstack. > > Originally I planned to use iptables on the xenserver box to allow the > host-only interface to use the NAT interface to supply internet access to > VMs brought up on the hypervisor. Sadly this didn't work as planned as the > iptables were overwrote. > > The solution for this was to supply a gateway on the host only network. > > # Mysql, NFS and Gateway vagrant box > > https://github.com/imduffy15/GSoC-2014/tree/master/MySQL_NFS > > I was able to re-use the chef recipes by the folks over at cloudops to > bring up a vagrant box with MySQL and NFS installed/configured. > > The MySQL server is configured with no password. the vagrant file I use > does a port forwarding from host machine to VM on 3306 to enable the host > machine to execute things like mvn -P developer -pl developer -Ddeploydb > without the need to change different configuration files within cloudstack. > > The NFS recipe simply exports /exports. > > I wrote a simple chef recipe ( > https://github.com/imduffy15/cookbook_nat-router ) to use iptables to > forward traffic from the host-only interface to the NAT interface. This > enables this box to be a gateway for the host-only network and can be used > by the VMs brought up on xenserver to get internet access. > > > # Modified devcloud.cfg > > I have supplied a modified devcloud.cfg file to work with the above > described environment. > https://github.com/imduffy15/GSoC-2014/blob/master/devcloud.cfg > > > My next step is to create a chef recipe that will download a system vm > specified by a chef attribute. This system vm will be downloaded and > installed onto the Mysql, NFS and Gateway vagrant box. >