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 <[email protected]>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 <[email protected]> wrote: >> >> Awesome - thanks Sajith. >> >> On Tue, Dec 17, 2013 at 7:07 AM, Sajith Kariyawasam <[email protected]>wrote: >> >> Hi Chris, >> >> >> On Tue, Dec 17, 2013 at 11:52 AM, chris snow <[email protected]> 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 >> <[email protected]>wrote: >> >> Chris, answers in line. >> >> On Dec 17, 2013 1:55 AM, "chris snow" <[email protected]> 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/ >> <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
