Return-Path: X-Original-To: apmail-stratos-dev-archive@minotaur.apache.org Delivered-To: apmail-stratos-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 CE87F10F2A for ; Mon, 23 Dec 2013 22:17:10 +0000 (UTC) Received: (qmail 51798 invoked by uid 500); 23 Dec 2013 22:17:10 -0000 Delivered-To: apmail-stratos-dev-archive@stratos.apache.org Received: (qmail 51760 invoked by uid 500); 23 Dec 2013 22:17:10 -0000 Mailing-List: contact dev-help@stratos.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@stratos.incubator.apache.org Delivered-To: mailing list dev@stratos.incubator.apache.org Received: (qmail 51753 invoked by uid 99); 23 Dec 2013 22:17:10 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Dec 2013 22:17:10 +0000 X-ASF-Spam-Status: No, hits=1.7 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of chsnow123@gmail.com designates 209.85.212.46 as permitted sender) Received: from [209.85.212.46] (HELO mail-vb0-f46.google.com) (209.85.212.46) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Dec 2013 22:17:06 +0000 Received: by mail-vb0-f46.google.com with SMTP id w20so2991940vbb.5 for ; Mon, 23 Dec 2013 14:16:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=JEkeMxXP021CChdYzLn5h6He416c/B6+PvsmCzMm9ZA=; b=tWLZJOZDjplrBxCr124QJYjC2aDb8zEg1TxVh8Mf2EVlsn6WVUxgZOOE3vL9MUSK9A v3pfnczlZRmDlRykB9ETyiOMdEIvL4VeIOnvqKuKVA4GtjWv+Ecv7ZOpOGphpSm29PGA 7RvWDTvEjriwUqWkws7t5rfQUDeNXt1knDpAf4j/aUlalxEiDEq+Jgm+0AtsYznVuxzX Weg6ruprPoYqRcIcr4Z6JA+FrwUcTO7Cq6HjRvx4OTLv3UiHlErmAUHZpAVgfCVRgsRa mzQQBlq09Y9hSWPYHcy3c0WdDQMyl3riQnKc4k+VB5AntAk+nlZfya6hv9sYYHsqvZMU iqZw== MIME-Version: 1.0 X-Received: by 10.52.160.130 with SMTP id xk2mr2414162vdb.24.1387837006020; Mon, 23 Dec 2013 14:16:46 -0800 (PST) Received: by 10.58.90.196 with HTTP; Mon, 23 Dec 2013 14:16:45 -0800 (PST) In-Reply-To: References: Date: Mon, 23 Dec 2013 22:16:45 +0000 Message-ID: Subject: Re: Stratos developer guide: demo environment From: chris snow To: dev@stratos.incubator.apache.org Content-Type: multipart/alternative; boundary=089e0160caaec0079204ee3afb17 X-Virus-Checked: Checked by ClamAV on apache.org --089e0160caaec0079204ee3afb17 Content-Type: text/plain; charset=ISO-8859-1 I've made some progress with vagrant, ubuntu, juju and openstack. The status so far: running "vagrant up" will create and configure a ubuntu guest with lxc containers for mysql and openstack keystone. My vagrant repo is here: https://github.com/snowch/stratos-vagrant-runtime. I'll add more detailed instructions in due course for non vagrant users. When all is working, I think it may be possible to package the vagrant guest into a pre-configured vagrant box. On Sat, Dec 21, 2013 at 12:15 PM, Nirmal Fernando wrote: > Great findings Chris!! Good luck on remaining work! > > > On Saturday, December 21, 2013, chris snow wrote: > >> I have been doing a fair amount of investigation into automating the >> development and demo environment setup for Stratos. >> >> My focus has been on building an environment that uses lxc so that it >> will be more efficient and will hopefully not need a high spec machine to >> run. >> >> Things I've tried so far: >> >> - bash scripts for setting up the lxc containers, however this approach >> was crude and error prone >> - puppet, however I found lxc support immature >> - chef, better lxc support, but still immature >> >> Then I found ubuntu juju which seems to work quite nicely with lxc. >> >> My current focus is on using vagrant to setup a Ubuntu guest. In the >> vagrant guest, juju will be used to setup openstack. I'm hoping that if >> this approach works out well, I could create some juju scripts for setting >> up Stratos. >> >> I will post my findings here when I have made some more progress. >> >> >> >> >> >> On Tue, Dec 17, 2013 at 7:26 AM, chris snow wrote: >> >> Awesome - thanks Sajith. >> >> On Tue, Dec 17, 2013 at 7:07 AM, Sajith Kariyawasam wrote: >> >> Hi Chris, >> >> >> On Tue, Dec 17, 2013 at 11:52 AM, chris snow wrote: >> >> >> Thanks for the answers, Nirmal. >> >> Where can I find the pre-setup virtual machine images and puppet scripts >> for Stratos? >> >> >> Pre-setup virtual machine image ids (EC2) are mentioned in milestone >> installation guides, and you can find the puppet scripts in >> incubator-stratos/tools/puppet location. >> >> >> >> On Tue, Dec 17, 2013 at 1:52 AM, Nirmal Fernando wrote: >> >> Chris, answers in line. >> >> On Dec 17, 2013 1:55 AM, "chris snow" wrote: >> > >> > In the developer guide, there is a section "How does Apache Stratos >> (Incubating) work?" where I describe a high level overview of a typical >> workflow. >> > >> > In the next section (heading title: "Where can I try or see this >> workflow in action?"), I would like to give the reader hands on experience >> of the typical workflow. >> > >> > Question 1) Which of the following options are currently available for >> Stratos? >> > Live Demo Service >> Nope. >> > Pre-setup Virtual Machine Images >> Yes. >> >> > Puppet/Chef scripts to setup a local demo environment >> Yes. >> >> > Recorded webinar of the typical functionality >> Probably after the release. >> > Screenshots of the functionality >> Good thought... again should do after the release. >> >> > Instructions for manual setup of local demo environment >> If I'm not mistaken, someone already started to build this. >> >> > I know the last option (6 - manual setup) is available, but that is a >> big investment of time, and would probably put of a lot of potential >> developers. >> > >> > Question 2) Is it worth creating JIRA tickets for the options: 1 >> (creating a demo stratos environment), 2 (creating stratos VMs), and 3 >> (creating stratos setup scripts) so that users/developers have a quicker >> way of playing with stratos? >> > >> Yes, please do if they are not already there. >> >> > dev guide link: >> > >> https://docs.google.com/document/d/1GiEsqVbqhp0rBqf6LhpNqB57TVxIApNg9o1Sk0zI9Oo >> >> >> >> >> -- >> Check out my professional profile and connect with me on LinkedIn. >> http://lnkd.in/cw5k69 >> >> >> >> >> -- >> *Sajith Kariyawasam* >> *Senior Software Engineer; WSO2, Inc.* >> *AMIE (SL)* >> *Blog: http://sajithblogs.blogspot.com/ >> * >> *Mobile: +94772269575* >> >> > > -- > Best Regards, > Nirmal > > Nirmal Fernando. > PPMC Member & Committer of Apache Stratos, > Senior Software Engineer, WSO2 Inc. > > Blog: http://nirmalfdo.blogspot.com/ > > -- Check out my professional profile and connect with me on LinkedIn. http://lnkd.in/cw5k69 --089e0160caaec0079204ee3afb17 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
I've made some progress with vagrant, ubuntu, juju and= openstack. =A0

The status so far: running "vagrant= up" will create and configure a ubuntu guest with lxc containers for = mysql and openstack keystone.


I'll add more detailed instructi= ons in due course for non vagrant users.

When all is working, I think it may be possible to pack= age the vagrant guest into a pre-configured vagrant box.
<= /div>


On Sat, = Dec 21, 2013 at 12:15 PM, Nirmal Fernando <nirmal070125@gmail.com= > wrote:
Great findings Chris!! Good luck on remainin= g work!


On Saturday, December 21, 2013, chris= snow wrote:
I have been doing a fair amount of investigation into automating the d= evelopment and demo environment setup for Stratos.

My focus has been on building an environment that uses lxc so that it will= be more efficient and will hopefully not need a high spec machine to run.<= /div>

Things I've tried so far:

= - bash scripts for setting up the lxc containers, however this approach was= crude and error prone
- puppet, however I found lxc support imma= ture
- chef, better lxc support, but still immature

Then I found ubuntu juju which seems to work quite nicely with lxc.
=

My current focus is on using vagrant to setup a Ubuntu = guest. =A0In the vagrant guest, juju will be used to setup openstack. =A0I&= #39;m hoping that if this approach works out well, I could create some juju= scripts for setting up Stratos.

I will post my findings here when I have made some more= progress.




On Tue, Dec 17, 2013 at 7:26 AM, chris snow <= ;chsnow123@gmail.com> wrote:
Awesome - thanks Sajith.

O= n Tue, Dec 17, 2013 at 7:07 AM, Sajith Kariyawasam <sajith@wso2.com> wrote:
Hi Chris,=A0


On = Tue, Dec 17, 2013 at 11:52 AM, chris snow <chsnow12= 3@gmail.com> wrote:

Thanks for the answers, Nirmal.

Where can I find the pre-setup virtual machine images a= nd puppet scripts for Stratos? =A0

<= /div>
Pre-setup virtual machine image ids (EC2) are mentioned in milest= one installation guides, and you can find the puppet scripts in =A0incubato= r-stratos/tools/puppet location.=A0


On Tue, Dec 17, 2013 at 1:52 AM, Nirmal Fernando <nirmal070125@gmail.com> wrote:

Chris, answers in line.

Nope.
> Pre-setup Virtual Machine Images
Yes.

> Puppet/Chef scripts to setup a local demo envi= ronment
Yes.

> Recorded webinar of the typical functionality
Probably after the release.
> Screenshots of the functionality
Good thought... again should do after the release.

> Instructions for manual setup of local demo environment
If I'm not mistaken, someone already started to build this.

> I know the last option (6 - manual setup) is available, but that is a = big investment of time, and would probably put of a lot of potential develo= pers.
>
> Question 2) Is it worth creating JIRA tickets for the options: 1 (crea= ting a demo stratos environment), 2 (creating stratos VMs), and 3 (creating= stratos setup scripts) so that users/developers have a quicker way of play= ing with stratos?
>
Yes, please do if they are not already there.




<= font color=3D"#888888">--
Check out my profession= al profile and connect with me on LinkedIn. http://lnkd.in/cw5k69



--
Sajith Kariyawas= am
Senior Software Engineer; WSO2, Inc.
AMIE (SL)
Mobile: +94772269575

--
Best Regards,
Nirmal

Nirmal = Fernando.
PPMC Member & Committer of Apache Stratos,
Senior Softw= are Engineer, WSO2 Inc.





--
Check out my professional profile and connect with me on LinkedIn= . http://lnkd.in/cw5k69=
--089e0160caaec0079204ee3afb17--