Hi Imesh, Yes, I would use vagrant similar to the examples below: (these examples use features not yet available in vagrant, so will be slightly different in practise):
# # stratos user # # set up cloudstack + stratos runtime then delete the environment removing all traces when done vagrant up --provision=cloudstack vagrant up --provision=stratos-runtime # when done playing... vagrant destroy -f # openstack + stratos runtimes vagrant up --provision=openstack vagrant up --provision=stratos-runtime # when done playing... vagrant destroy -f # # stratos developer # # set up cloudstack + stratos runtime and stratos developer environment vagrant up --provision=cloudstack vagrant up --provision=stratos-runtime vagrant up --provision=stratos-source # when done playing... vagrant destroy -f In the last example, a stratos committer runs just three commands and has an automated development environment setup that includes stratos source code imported into eclipse within the guest machine. The environment setup will take some time to provision, but can be run in the background so the user can get on with other tasks. This automation is much better than an error prone set of manual steps that can easily result in the person following those steps losing interest (there are a number of posts on stack overflow from frustrated users giving up after failing to build a carbon based product). When I have the cloudstack+stratos vagrant environment ready, hopefully some of the above workflows will be much easier to demonstrate. Many thanks, Chris On 15 Mar 2014 17:40, "Imesh Gunaratne" <[email protected]> wrote: > Thanks Chris! Yes definitely I will give vagrant a try. > +1 Thats a great thought. What exactly are we looking at this project? To > install Openstack and Stratos in one go? > > Thanks > > > On Sat, Mar 15, 2014 at 3:10 AM, chris snow <[email protected]> wrote: > >> Hi Imesh, >> >> I'm a firm believer in automation. With vagrant, a complex environment >> setup can be as simple as running one command "vagrant up". If you haven't >> used vagrant before, I highly recommend giving it a try. >> >> See the thread "Setup and installation of Stratos on Openstack" as an >> example of a user asking for a convenient environment setup. >> >> Automation is what I am working towards with the stratos + cloudstack >> setup. A potential GSOC project could be to do the same for openstack + >> stratos? >> >> Many thanks, >> Chris >> On 15 Mar 2014 02:49, "Imesh Gunaratne" <[email protected]> wrote: >> >>> May be we could package the stratos installer, cartridge puppet scripts >>> and cep artifacts as we build products into separate distributable files. >>> >>> One other important thing I noticed is that puppet master installer has >>> some manual steps. May be we could automate them and include the puppet >>> master installer in stratos installer itself. >>> >>> Thanks >>> >>> >>> On Thu, Mar 13, 2014 at 9:45 PM, Nirmal Fernando <[email protected] >>> > wrote: >>> >>>> Ideally we need another git repo to maintain cartridge specific >>>> artifacts. Wdyt? >>>> On Mar 14, 2014 1:32 AM, "chris snow" <[email protected]> wrote: >>>> >>>>> yeah, users checking out the source to install a product isn't a good >>>>> idea. >>>>> >>>>> On Thu, Mar 13, 2014 at 7:44 PM, Lahiru Sandaruwan <[email protected]> >>>>> wrote: >>>>> > Also shall we provide a zip file of Puppet scripts with the release? >>>>> Telling >>>>> > the user to check out source wont work, as the scripts may change >>>>> over the >>>>> > time. >>>>> > >>>>> > I think we are in place with a good set of scripts to distribute. >>>>> > >>>>> > >>>>> > >>>>> > On Thu, Mar 13, 2014 at 12:40 PM, chris snow <[email protected]> >>>>> wrote: >>>>> >> >>>>> >> +1 ... it sounds as though there is a dependency on those scripts >>>>> to >>>>> >> installing Stratos, so we should take ownership of them. >>>>> >> >>>>> >> On Thu, Mar 13, 2014 at 5:49 PM, Lahiru Sandaruwan < >>>>> [email protected]> >>>>> >> wrote: >>>>> >> > Hi, >>>>> >> > >>>>> >> > I think it is better to have the scripts in Stratos git >>>>> repository, if >>>>> >> > it is >>>>> >> > not there already. Then refer those from Docs[1]. >>>>> >> > >>>>> >> > Thanks. >>>>> >> > >>>>> >> > [1] >>>>> >> > >>>>> >> > >>>>> https://cwiki.apache.org/confluence/display/STRATOS/4.0.0+Configuring+Puppet+Master >>>>> >> > >>>>> >> > -- >>>>> >> > -- >>>>> >> > Lahiru Sandaruwan >>>>> >> > Software Engineer, >>>>> >> > Platform Technologies, >>>>> >> > WSO2 Inc., http://wso2.com >>>>> >> > lean.enterprise.middleware >>>>> >> > >>>>> >> > email: [email protected] cell: (+94) 773 325 954 >>>>> >> > blog: http://lahiruwrites.blogspot.com/ >>>>> >> > twitter: http://twitter.com/lahirus >>>>> >> > linked-in: >>>>> http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146 >>>>> >> > >>>>> >> >>>>> >> >>>>> >> >>>>> >> -- >>>>> >> Check out my professional profile and connect with me on LinkedIn. >>>>> >> http://lnkd.in/cw5k69 >>>>> > >>>>> > >>>>> > >>>>> > >>>>> > -- >>>>> > -- >>>>> > Lahiru Sandaruwan >>>>> > Software Engineer, >>>>> > Platform Technologies, >>>>> > WSO2 Inc., http://wso2.com >>>>> > lean.enterprise.middleware >>>>> > >>>>> > email: [email protected] cell: (+94) 773 325 954 >>>>> > blog: http://lahiruwrites.blogspot.com/ >>>>> > twitter: http://twitter.com/lahirus >>>>> > linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146 >>>>> > >>>>> >>>>> >>>>> >>>>> -- >>>>> Check out my professional profile and connect with me on LinkedIn. >>>>> http://lnkd.in/cw5k69 >>>>> >>>> >>> >>> >>> -- >>> Imesh Gunaratne >>> >>> Technical Lead, WSO2 >>> Committer & PPMC Member, Apache Stratos >>> >> > > > -- > Imesh Gunaratne > > Technical Lead, WSO2 > Committer & PPMC Member, Apache Stratos >
