stratos-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pradeep Fernando <pradee...@gmail.com>
Subject Re: Support to spawn/stop LXC instances via jClouds :-)
Date Wed, 22 Jan 2014 12:30:17 GMT
Hi Sanjiva,

I believe you are referring to mock IaaS. Yes I'm going to start on that
right after my current work.

--Pradeep


On Wed, Jan 22, 2014 at 3:24 PM, Sanjiva Weerawarana <sanjiva@wso2.com>wrote:

> So is anyone working on the "native LXC IaaS" concept yet? That will make
> things much more usable ..
>
>
> On Tue, Jan 21, 2014 at 5:47 PM, damitha kumarage <damitha23@gmail.com>wrote:
>
>> I also managed to create lxc based Openstack Havana on virtualbox running
>> default cirros image. Will try with ubutnu image as well.
>>
>> Ajanthan. I am using Ubuntu 13.04 which comes with kernel 3.8.0-19 so I
>> guess I won't need any kernel upgrade. Will try with the bug fixed you
>> mentioned.
>>
>> Damitha
>>
>>
>>
>>
>> On Tue, Jan 21, 2014 at 10:42 AM, Lakmal Warusawithana <lakmal@wso2.com>wrote:
>>
>>> Good news! I managed to create QEMU based OpenStack on my virtual box
>>> VM. With qemu, we can use KVM based images to test. I will write a bolg
>>> post on how to set it up. Will update docker+OpenStack on VM also. Its
>>> should work same way.
>>>
>>>
>>> On Mon, Jan 20, 2014 at 3:26 PM, Lakmal Warusawithana <lakmal@wso2.com>wrote:
>>>
>>>>
>>>>
>>>>
>>>> On Mon, Jan 20, 2014 at 2:43 PM, bala ajanthan <balaajanthan@gmail.com>wrote:
>>>>
>>>>>
>>>>>
>>>>>
>>>>> On Mon, Jan 20, 2014 at 2:14 PM, Lakmal Warusawithana <lakmal@wso2.com
>>>>> > wrote:
>>>>>
>>>>>> Hi Ajanthan,
>>>>>>
>>>>>> Are you setup this in your host or in a virtual machine? I done this
>>>>>> in my virtual box, instances are spin without issue, but i could
not
>>>>>> connect through the network
>>>>>>
>>>>> I did in host. i was able to ssh to instances using private IP
>>>>>
>>>>>>
>>>>>>
>>>> Thats cool, then I just want to fix my network issue into virtual box.
>>>> I cloud not install on host, since I'm on mac.
>>>>
>>>>
>>>>>
>>>>>> On Mon, Jan 20, 2014 at 1:42 PM, bala ajanthan <
>>>>>> balaajanthan@gmail.com> wrote:
>>>>>>
>>>>>>> Hi damitha,
>>>>>>> I was able to setup openstack with Doker and test Stratos4.I
am
>>>>>>> continuing all my work on the setup.I did following in order
to stabilize
>>>>>>> the setup.
>>>>>>>
>>>>>>> 1.Upgraded the kernel to 3.8.0-26-generic(in lower version there
>>>>>>> were frequent crash while spawning instances)
>>>>>>> 2.Ported fix for bug[0] in order to terminate instances
>>>>>>> 3.Ported fix for bug[1] to enable meta data service.
>>>>>>>
>>>>>>> i am using devstack havana branch[3] and docker 0.6.1 with following
>>>>>>> localrc to setup.
>>>>>>>
>>>>>>> FLOATING_RANGE=192.168.1.0/27
>>>>>>> FIXED_RANGE=10.11.12.0/24
>>>>>>> FIXED_NETWORK_SIZE=256
>>>>>>> FLAT_INTERFACE=eth1
>>>>>>> ADMIN_PASSWORD=admin
>>>>>>> MYSQL_PASSWORD=root
>>>>>>> RABBIT_PASSWORD=rabbitmq
>>>>>>> SERVICE_PASSWORD=iheartksl
>>>>>>> SERVICE_TOKEN=token
>>>>>>> SCHEDULER=nova.scheduler.filter_scheduler.FilterScheduler
>>>>>>> VIRT_DRIVER=docker
>>>>>>> SCREEN_LOGDIR=$DEST/logs/screen
>>>>>>>
>>>>>>> Thanks
>>>>>>>
>>>>>>> [0]https://bugs.launchpad.net/nova/+bug/1245466
>>>>>>> [1]https://bugs.launchpad.net/nova/+bug/1259267
>>>>>>> [3]https://github.com/openstack-dev/devstack/tree/stable/havana
>>>>>>>
>>>>>>>
>>>>>>> On Mon, Jan 20, 2014 at 12:22 PM, damitha kumarage <
>>>>>>> damitha23@gmail.com> wrote:
>>>>>>>
>>>>>>>> Hi,
>>>>>>>> So we have two ways of running docker containers for Stratos
>>>>>>>> cartridges.
>>>>>>>>
>>>>>>>> I have been doing some work to get docker containers running
in
>>>>>>>> Openstack. Though this worked with
>>>>>>>> busybox there was problems with Ubuntu os. I reported this
[1] and
>>>>>>>> waiting for a solution. Has any stratos guy tried this way
already? If not
>>>>>>>> we need yet to
>>>>>>>> verify whether we still run into stability issues we faced
with
>>>>>>>> Openstack early versions with lxc, in the new Openstack havana
release as
>>>>>>>> well. In this effort I will continue
>>>>>>>> to verify havana with docker driver is a good option for
stratos.
>>>>>>>>
>>>>>>>> The other option is using pure docker container environment
through
>>>>>>>> jClouds api implementation Nirmal has done (which I guess
is the better
>>>>>>>> option provided this has better stability over openstack/docker).
>>>>>>>>
>>>>>>>> Nirmal, have you written Stratos jClouds docker api wrapper
layer
>>>>>>>> yet? If so can you provide me guide to get  Stratos run with
docker IaaS?
>>>>>>>>
>>>>>>>> Damitha
>>>>>>>>
>>>>>>>> [1]
>>>>>>>> https://ask.openstack.org/en/question/10650/return-0-hosts-error-when-spawn-docker-containers-using-openstack-havana-running-on-ubuntu-1304/
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> Balachandiran Ajanthan
>>>>>>> Phone:+94775581497
>>>>>>> Blog   : http://ajanthan87.blogspot.com
>>>>>>> Twitter: ajanthan87
>>>>>>> skype  :bala.ajanthan
>>>>>>> gtalk   :balaajanthan
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Lakmal Warusawithana
>>>>>> Software Architect; WSO2 Inc.
>>>>>> Mobile : +94714289692
>>>>>> Blog : http://lakmalsview.blogspot.com/
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Balachandiran Ajanthan
>>>>> Phone:+94775581497
>>>>> Blog   : http://ajanthan87.blogspot.com
>>>>> Twitter: ajanthan87
>>>>> skype  :bala.ajanthan
>>>>> gtalk   :balaajanthan
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Lakmal Warusawithana
>>>> Software Architect; WSO2 Inc.
>>>> Mobile : +94714289692
>>>> Blog : http://lakmalsview.blogspot.com/
>>>>
>>>>
>>>
>>>
>>> --
>>> Lakmal Warusawithana
>>> Software Architect; WSO2 Inc.
>>> Mobile : +94714289692
>>> Blog : http://lakmalsview.blogspot.com/
>>>
>>>
>>
>>
>> --
>> __________________________________________________________________
>> Damitha Kumarage
>> http://people.apache.org/
>> __________________________________________________________________
>>
>
>
>
> --
> Sanjiva Weerawarana, Ph.D.
> Founder, Chairman & CEO; WSO2, Inc.;  http://wso2.com/
> email: sanjiva@wso2.com; office: +1 650 745 4499 x5700; cell: +94 77 787
> 6880 | +1 650 265 8311
> blog: http://sanjiva.weerawarana.org/
> Lean . Enterprise . Middleware
>



-- 
Pradeep Fernando.
http://pradeepfernando.blogspot.com/

Mime
View raw message