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 D867111CB2 for ; Mon, 5 May 2014 04:08:34 +0000 (UTC) Received: (qmail 76980 invoked by uid 500); 5 May 2014 04:08:34 -0000 Delivered-To: apmail-stratos-dev-archive@stratos.apache.org Received: (qmail 76767 invoked by uid 500); 5 May 2014 04:08:33 -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 76753 invoked by uid 99); 5 May 2014 04:08:32 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 May 2014 04:08:32 +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 (athena.apache.org: domain of sathyasuriya@gmail.com designates 209.85.216.182 as permitted sender) Received: from [209.85.216.182] (HELO mail-qc0-f182.google.com) (209.85.216.182) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 May 2014 04:08:28 +0000 Received: by mail-qc0-f182.google.com with SMTP id e16so4722953qcx.27 for ; Sun, 04 May 2014 21:08:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=S402uhFF58fGTmieQxHXfsRA1Nb+sphZc3iExlk8suY=; b=VwzkW+QOwKXlOnvFR8/Fk6LnVUwCpkfPc0VbFXiEtZq0oqpfzZAbCdnEMQHh1cFLdH UaIlZrGIbdRpIkyTDcSItyPPGjPgD1vXtHG5rZ8Tz2Tr0HKSTyKx4QYPHqVwH7O/hSqx 3KG8iPUOQ+fiEJKO5RtVvWHUgBONcT6u6js4bZUZQHx8qaGAkjS+7qNfwQ09tbnt0Rvs iJtav7CM0nZhIRutIRWmz1niwQBZaxyaSQ2vcFHw/mfwihP6Y8yj+T7DlUMcEZm8/tAV naqdH/cM0zXQWj5WvZR54h2s4SIEYafCqFwmPDjlY9a+TYym9OznZTYM64Ki2Ol9XbHx YTZQ== X-Received: by 10.140.100.198 with SMTP id s64mr6591662qge.106.1399262887844; Sun, 04 May 2014 21:08:07 -0700 (PDT) MIME-Version: 1.0 Received: by 10.229.83.133 with HTTP; Sun, 4 May 2014 21:07:47 -0700 (PDT) In-Reply-To: References: From: Sathyasuriya Priya Date: Sun, 4 May 2014 21:07:47 -0700 Message-ID: Subject: Re: vagrant environment now supports testing To: dev@stratos.incubator.apache.org Content-Type: multipart/alternative; boundary=001a11c16ba860a33f04f89f47b3 X-Virus-Checked: Checked by ClamAV on apache.org --001a11c16ba860a33f04f89f47b3 Content-Type: text/plain; charset=UTF-8 hi Chris, Just some clarification on how you run your setup. 1. You create a VM with 5gb ram and follow the instructions (install vagrant+virtualbox, clone your repo, run-script) inside it. Or your base OS in the laptop is linux and you follow the instructions directly. 2. How much time does it take to finish all the steps. Some info on what I am trying: 1. In my old laptop with linux, I try the direct method. But virtualbox is not able to run 64 bit VMs. 2. I tried creating a server machine in Google Compute Engine(GCE), followed direct method. Again virtualbox is not able to run 64bit VMs. I added 32bit VM [1] in Vagrantfile and hit couple of issues. 1. I could use ~3584 for VM memory. Increasing beyond this, VM doesn't start. 2. In stratos.sh fixed a typo in fix_git_tls_bug() "sudo apg-et update" 3. In fix_git_tls_bug() changed git version to 1.8.* since my ubuntu13.10 version had that. Now the stratos.sh is taking lot of time(may be 3-4 hours) and still executing. I see logs getting appended to stratos.log. So it's not stuck. Can I install vagrant+virtualbox in my newer windows laptop and follow the instructions directly in windows ? [1] http://opscode-vm-bento.s3.amazonaws.com/vagrant/virtualbox/opscode_ubuntu-13.10-i386_chef-provisionerless.box On Wed, Apr 30, 2014 at 1:12 PM, Nirmal Fernando wrote: > That's great! > > > On Thu, May 1, 2014 at 12:52 AM, chris snow wrote: > >> Hi Nirmal, the whole environment runs in a single virtualbox guest that >> has 5gb memory, though it could probably run in 4gb. I'll check my CPU >> spec when I'm back at laptop. The laptop isn't anything special though. >> On 30 Apr 2014 19:49, "Nirmal Fernando" wrote: >> >>> Absolutely Chris.. What's the hardware spec one needs in order to set >>> this up? >>> >>> >>> On Thu, May 1, 2014 at 12:01 AM, chris snow wrote: >>> >>>> I've started adding docker support to the vagrant environment: >>>> >>>> https://github.com/snowch/stratos-vagrant-box - openstack-docker branch >>>> >>>> One script now automates this lifecyle >>>> >>>> - sets up ubuntu >>>> - sets up puppet >>>> - checks out, compiles and sets up stratos >>>> - sets up openstack with docker and creates a tomcat instance >>>> - provisions stratos with policies >>>> - subscribes and syncs to a cartridge >>>> - tests that stratos has spawned an instance >>>> >>>> Puppet agent isn't working properly in the instance yet, and some of >>>> my scripts are still quite hacky :) >>>> >>>> However, while working on this environment, it has occurred to me that >>>> we could use this for release testing? >>>> >>>> Cheers, >>>> >>>> Chris >>>> >>> >>> >>> >>> -- >>> Best Regards, >>> Nirmal >>> >>> Nirmal Fernando. >>> PPMC Member & Committer of Apache Stratos, >>> Senior Software Engineer, WSO2 Inc. >>> >>> Blog: http://nirmalfdo.blogspot.com/ >>> >> > > > -- > Best Regards, > Nirmal > > Nirmal Fernando. > PPMC Member & Committer of Apache Stratos, > Senior Software Engineer, WSO2 Inc. > > Blog: http://nirmalfdo.blogspot.com/ > --001a11c16ba860a33f04f89f47b3 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
hi Chris,

Just some clari= fication on how you run your setup.

  1. You create a VM wi= th 5gb ram and follow the instructions (install vagrant+virtualbox, clone y= our repo, run-script) inside it.
    Or your base OS in the laptop is linux and you follow the instructions dire= ctly.
  2. How much time does it take to finish all the steps.
  3. <= /ol>

Some info on what I am trying:
  1. In my old lap= top with linux, I try the direct method. But virtualbox is not able to run = 64 bit VMs.
  2. I tried creating a server machine in Google Compute Engine(GCE), follow= ed direct method. Again virtualbox is not able to run 64bit VMs.
  3. I added 32bit VM [1] in Vagrantfile and hit couple of issues.
    1. I could use ~3584 for VM memory. Increasing beyond this, VM doesn&#= 39;t start.
    2. In stratos.sh fixed a typo in fix_git_tls_bug() &qu= ot;sudo apg-et update"
    3. In fix_git_tls_bug() changed git versio= n to 1.8.* since my ubuntu13.10 version had that.
    Now the stratos.sh is taking lot of time(may be 3-4 hours) and st= ill executing. I see logs getting appended to stratos.log. So it's not = stuck.

    Can I install vagrant+virtualbox i= n my newer windows laptop and follow the instructions directly in windows ?=


On Wed, Apr 30, 2014 at 1:12 PM, Nirmal Fernando <nirmal= 070125@gmail.com> wrote:
That's great!
=


=
On Thu, May 1, 2014 at 12:52 AM, chris snow <chsnow123@gmail.com&g= t; wrote:

Hi Nirmal, the whole environm= ent runs in a single virtualbox guest that has 5gb memory, though it could = probably run in 4gb.=C2=A0 I'll check my CPU spec when I'm back at = laptop.=C2=A0 The laptop isn't anything special though.

On 30 Apr 2014 19:49, "Nirmal Fernando"= ; <nirmal070= 125@gmail.com> wrote:
Absolutely Chris.. What's the hardware spec one needs = in order to set this up?


On Thu, May 1, 2014 at 12:01 AM, chris snow <chsno= w123@gmail.com> wrote:
I've started adding docker support to th= e vagrant environment:

https://github.com/snowch/stratos-vagrant-box - openstack-docker branc= h

One script now automates this =C2=A0lifecyle

- sets up ubuntu
- sets up puppet
- checks out, compiles and sets up stratos
- sets up openstack with docker and creates a tomcat instance
- provisions stratos with policies
- subscribes and syncs to a cartridge
- tests that stratos has spawned an instance

Puppet agent isn't working properly in the instance yet, and some of my scripts are still quite hacky :)

However, while working on this environment, it has occurred to me that
we could use this for release testing?

Cheers,

Chris



--
Best R= egards,
Nirmal

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




--
Best Regards,
Nirmal

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


--001a11c16ba860a33f04f89f47b3--