Hi Guillaume
That is exactly the point.
The way I envision it would work like this:
- A parent/base class boots a vagrant box (either pre-build to run
openstack on configured just-in-time like most whirr deployments).
- The whirr test provider is configured to use openstack specifically
at the address of the local vagrant box.
- Whirr tests spawn vms inside the vagrant vm.
- Tests are ran as any other tests (albeit probably a lot slower)
- When tests finish everything is disposed of.
The main roadblock I can see is whether support for openstack in clouds
is mature enough, but Adrian can probably answer this… Adrian?
-david
On Aug 30, 2011, at 11:14 AM, tog wrote:
> Hi David,
>
> This is very interesting indeed for testing purpose ...
> Still I have some basic/naive questions.
> If I understand well what you are proposing is to be a able to
> kickstart your test platform (i.e. several vms) from a vagrant box.
>
> As whirr is working on top of jclouds which is supposed (I have not
> tested) to support openstack - wouldn't it be possible to kickstart
> your test environment using a kind of openstack provider
> (whirr.provider) using itself VirtualBox (or any other technology) ?
>
> What is is the pro/con of each approach ?
>
> Guillaume
>
>
>
> On Tue, Aug 30, 2011 at 2:44 PM, David Alves <[email protected]> wrote:
>> Hi All
>>
>> Nice to see interest.
>>
>> What vagrant does is that it eases creation manipulation and
>> provisioning of dev vms.
>> If inside one of these vms you run openstack then you have a local
>> cloud where your initial vagrant box is running other vms inside.
>>
>> Andrei: Setting vagrant up to run openstack is feasible (i've done
>> it) and there are several tutorials on how to do it.
>>
>> Still there are some important decisions/issues:
>> - Do we use a box pre-configured with open-stack or do we provision a
>> base box (much like whirr already does).
>> - Ca we easily integrate vagrant with whirr (don't see any major
>> problems but haven't tried).
>> - Will we have timeout issues?
>>
>> I can kickstart the effort but it would be cool to have someone else
>> involved, as I'm a bit pressed for time at the moment.
>>
>> -david
>>
>> On Aug 30, 2011, at 9:04 AM, tog wrote:
>>
>>> Same questions here ;-) - and same confusion !
>>>
>>> I thought that using openstack could for example solve that
>>> requirement (for example using Vbox).
>>>
>>> Has anyone tried this already ? Is there any show stopper ?
>>>
>>> Guillaume
>>>
>>>
>>>
>>> On Tue, Aug 30, 2011 at 1:15 PM, Karel Vervaeke <[email protected]>
>>> wrote:
>>>> I'm not sure I understand the concept...
>>>> Are you talking about running vms within your vm? (or, does the
>>>> openstack instance create sibling vm's? That probably implies that you
>>>> still run some openstack components locally).
>>>>
>>>> Why not just run openstack on your real (non-virtual) machine?
>>>>
>>>> I'm all confused :)
>>>> Karel
>>>>
>>>> On Tue, Aug 30, 2011 at 7:58 AM, Andrei Savu <[email protected]> wrote:
>>>>> It would be great to have a local test env - how hard is to setup
>>>>> vagrant to run openstack?
>>>>>
>>>>> -- Andrei
>>>>>
>>>>> On Mon, Aug 29, 2011 at 1:20 PM, David Alves <[email protected]>
>>>>> wrote:
>>>>>> Hi All
>>>>>>
>>>>>> Have any of you considered using vagrant as a staging environment
>>>>>> for development?
>>>>>> Would someone be interested in sharing some ideas putting some
>>>>>> code down towards that goal?
>>>>>>
>>>>>> Here's what I'm thinking:
>>>>>> - Either create or script a vagrant box with openstack installed
>>>>>> (there are several howtos to this effect).
>>>>>> - Create a base class that boots up the vagrant box prior to
>>>>>> running ITests.
>>>>>> - Save time & money
>>>>>>
>>>>>> - Are there any big roadblocks?
>>>>>>
>>>>>> -david
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Karel Vervaeke
>>>> http://outerthought.org/
>>>> Open Source Content Applications
>>>> Makers of Kauri, Daisy CMS and Lily
>>>>
>>>
>>>
>>>
>>> --
>>> PGP KeyID: 2048R/EA31CFC9 subkeys.pgp.net
>>
>>
>
>
>
> --
> PGP KeyID: 2048R/EA31CFC9 subkeys.pgp.net