stratos-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nguyen Anh Tu <t...@apache.org>
Subject Re: stratos docker provider
Date Wed, 20 Aug 2014 04:01:29 GMT
Thanks Nirmal, Sajith & Akila for the productive hangout yesterday. Please
update the design to wiki.

Cheers,

--Tuna


On Tue, Aug 19, 2014 at 11:04 AM, Nirmal Fernando <nirmal070125@gmail.com>
wrote:

> Current DockerIaas implementation uses default Jclouds TemplateOptions
> class. But in order to get all the available options in Docker Jclouds
> implementation, we should use DockerTemplateOptions class. By using it,
> we could easily pass user-metadata.
>
>
> On Tue, Aug 19, 2014 at 9:27 AM, Nirmal Fernando <nirmal070125@gmail.com>
> wrote:
>
>> IMO we could map a partition to a host machine where you could spin
>> docker instances, in the developer version.
>>
>>
>> On Thu, Aug 14, 2014 at 6:50 PM, Sajith Kariyawasam <sajith@wso2.com>
>> wrote:
>>
>>>
>>> On Tue, Aug 12, 2014 at 10:00 AM, Lakmal Warusawithana <lakmal@wso2.com>
>>> wrote:
>>>
>>>> Hi Folks,
>>>>
>>>> Did you guys had a hangout meeting. Sorry I could not follow up. Here
>>>> is my thought of implementing/design/architecture.
>>>>
>>>> We should have two mode of docker support.
>>>>
>>>>
>>>>    - Developer version - capability of adding docker IaaS provider,
>>>>    which docker install in host machine. (single docker host). No IaaS (ec2,
>>>>    openstack etc.) involved. We may add multiple physical machines with docker
>>>>    support. (as different Docker IaaS providers)
>>>>
>>>>
>>>>
>>> How should we support partitions in Developer version?
>>>
>>> are we going for a provider level partition?
>>>
>>>>
>>>>    - Scalable version. - This is adding docker cluster. IMHO we can
>>>>    see go with CoreOS. (or kubernetes). We can have two mode of this. First
we
>>>>    can consider psychically configure Docker Cluster. (with set of bare metal
>>>>    machine). We are not worry about scalability of docker cluster here. Next
>>>>    is, dynamically scalable docker cluster. This can achieved by top of
>>>>    another available IaaS. See below scenario
>>>>
>>>>
>>>> For a example, I will take EC2, this can be any available IaaS. We can
>>>> have coreOS ami and register it as docker *host* cartridge in Stratos. (we
>>>> can consider this as multi-tenant cartridge). It can define min and max.
>>>> Say we have min=2 max=10. when multi-tenant service deployment it will spin
>>>> up two docker *host* instances and make docker cluster. (this is two coreOS
>>>> with docker cluster). And this should register it self as IaaS provider
>>>> into Stratos. (we need to bring APIs for adding IaaS provider dynamically.
>>>> this can used to bring UI for adding IaaS provider as well.) Then Stratos
>>>> will have docker IaaS provider for create dockers. Docker host cartridge
>>>> agent should monitor host health and scale up when necessary, and it will
>>>> add dynamic docker host nodes to docker cluster. This will bring two level
>>>> of scaling into Stratos.
>>>>
>>>> This is my initial thoughts, need you folks thoughts as well.
>>>>
>>>> thanks
>>>>
>>>>
>>>> On Mon, Aug 11, 2014 at 4:40 PM, Imesh Gunaratne <imesh@apache.org>
>>>> wrote:
>>>>
>>>>> Hi Sajith,
>>>>>
>>>>> Yes the usage of image name instead of the image id was intentional.
>>>>> As I could remember due to some reason Image id did not work at the time
I
>>>>> tested this. Will revisit this and change it to image id if possible.
>>>>>
>>>>> Thanks
>>>>>
>>>>>
>>>>> On Mon, Aug 11, 2014 at 4:52 AM, chris snow <chsnow123@gmail.com>
>>>>> wrote:
>>>>>
>>>>>> Great - thanks Sajith!
>>>>>>
>>>>>> Btw - I'm on vacation for the next 7 days, so won't be able to take
>>>>>> part in any meetups.  Please don't wait for me though - I'm not sure
>>>>>> there is much I can add at this stage anyway :)
>>>>>>
>>>>>> On Mon, Aug 11, 2014 at 9:28 AM, Sajith Kariyawasam <sajith@wso2.com>
>>>>>> wrote:
>>>>>> > Hi,
>>>>>> >
>>>>>> > On Sat, Aug 9, 2014 at 2:14 AM, chris snow <chsnow123@gmail.com>
>>>>>> wrote:
>>>>>> >>
>>>>>> >> Hi Imesh,
>>>>>> >>
>>>>>> >> If you get a chance, would you be able to add some information
to
>>>>>> "How
>>>>>> >> to try out the implementation" on [1]?
>>>>>> >>
>>>>>> >
>>>>>> > I tried out that code and were able to get Cloud controller
to
>>>>>> spawn a
>>>>>> > docker container. I will add the steps, and better if Imesh
can
>>>>>> verify those
>>>>>> >
>>>>>> > Also noted that the code has been implemented to use the image
>>>>>> description,
>>>>>> > but not the image id in DockerIaaS.findImage method,
>>>>>> > so that in cartridge definition json the value to be used in
>>>>>> imageId is the
>>>>>> > description (like ubuntu:13.10)
>>>>>> >
>>>>>> > Was that intentional? Any reason to avoid the imageId there?
>>>>>> >
>>>>>> > Thanks,
>>>>>> > Sajith
>>>>>> >
>>>>>> >>
>>>>>> >> Many thanks,
>>>>>> >>
>>>>>> >> Chris
>>>>>> >>
>>>>>> >> ---
>>>>>> >> [1]
>>>>>> >>
>>>>>> https://cwiki.apache.org/confluence/display/STRATOS/Docker+Provider+Development
>>>>>> >>
>>>>>> >> On Fri, Aug 8, 2014 at 9:26 PM, Imesh Gunaratne <imesh@apache.org>
>>>>>> wrote:
>>>>>> >> > Hi All,
>>>>>> >> >
>>>>>> >> > I'm really sorry for the delayed response.
>>>>>> >> > Yes we could have a Hangout early next week on this,
please
>>>>>> suggest a
>>>>>> >> > time.
>>>>>> >> >
>>>>>> >> > Thanks
>>>>>> >> >
>>>>>> >> >
>>>>>> >> > On Fri, Aug 8, 2014 at 8:18 AM, chris snow <chsnow123@gmail.com>
>>>>>> wrote:
>>>>>> >> >>
>>>>>> >> >> I've added a page here:
>>>>>> >> >>
>>>>>> >> >>
>>>>>> >> >>
>>>>>> https://cwiki.apache.org/confluence/display/STRATOS/Docker+Provider+Development
>>>>>> >> >>
>>>>>> >> >> Please add your comments to this page.
>>>>>> >> >>
>>>>>> >> >> Many thanks,
>>>>>> >> >>
>>>>>> >> >> Chris
>>>>>> >> >>
>>>>>> >> >> On Fri, Aug 8, 2014 at 12:08 PM, chris snow <
>>>>>> chsnow123@gmail.com>
>>>>>> >> >> wrote:
>>>>>> >> >> > Makes sense. In the meantime, I'll add a wiki
page to track
>>>>>> the
>>>>>> >> >> > requirements, constraints, design choices
and progress...
>>>>>> >> >> >
>>>>>> >> >> > On Fri, Aug 8, 2014 at 12:01 PM, Sajith Kariyawasam
<
>>>>>> sajith@wso2.com>
>>>>>> >> >> > wrote:
>>>>>> >> >> >> Seems its better we postpone the discussion
to have more
>>>>>> >> >> >> participants..somewhere early next week?
>>>>>> >> >> >>
>>>>>> >> >> >>
>>>>>> >> >> >> On Fri, Aug 8, 2014 at 3:46 PM, Nguyen
Anh Tu <
>>>>>> tuna@apache.org>
>>>>>> >> >> >> wrote:
>>>>>> >> >> >>>
>>>>>> >> >> >>> Sorry guys I can't join between 4:30pm
- 6:30pm. I just
>>>>>> have an
>>>>>> >> >> >>> urgent
>>>>>> >> >> >>> task. Keep talking and decide how
we can do this integration
>>>>>> >> >> >>> smoothly.
>>>>>> >> >> >>>
>>>>>> >> >> >>> Thanks,
>>>>>> >> >> >>>
>>>>>> >> >> >>> --Tuna
>>>>>> >> >> >>>
>>>>>> >> >> >>>
>>>>>> >> >> >>> On Fri, Aug 8, 2014 at 1:01 PM, Sajith
Kariyawasam
>>>>>> >> >> >>> <sajith@wso2.com>
>>>>>> >> >> >>> wrote:
>>>>>> >> >> >>>>
>>>>>> >> >> >>>> Hi,
>>>>>> >> >> >>>>
>>>>>> >> >> >>>> So, shall we have the discussion
today at 4.30 p.m - 5.30
>>>>>> pm (IST)
>>>>>> >> >> >>>> ?
>>>>>> >> >> >>>> I guess Chris and Tuna are ok
with that time. Imesh will
>>>>>> you be
>>>>>> >> >> >>>> able
>>>>>> >> >> >>>> to
>>>>>> >> >> >>>> join?
>>>>>> >> >> >>>>
>>>>>> >> >> >>>> Thanks,
>>>>>> >> >> >>>> Sajith
>>>>>> >> >> >>>>
>>>>>> >> >> >>>>
>>>>>> >> >> >>>>
>>>>>> >> >> >>>> On Wed, Aug 6, 2014 at 12:31 PM,
Nguyen Anh Tu <
>>>>>> tuna@apache.org>
>>>>>> >> >> >>>> wrote:
>>>>>> >> >> >>>>>
>>>>>> >> >> >>>>> Please keep Imesh in discussion.
He's going forward on
>>>>>> this
>>>>>> >> >> >>>>> feature.
>>>>>> >> >> >>>>> How
>>>>>> >> >> >>>>> about you, Imesh?
>>>>>> >> >> >>>>>
>>>>>> >> >> >>>>> --Tuna
>>>>>> >> >> >>>>>
>>>>>> >> >> >>>>>
>>>>>> >> >> >>>>> On Wed, Aug 6, 2014 at 1:58
PM, Nguyen Anh Tu <
>>>>>> tuna@apache.org>
>>>>>> >> >> >>>>> wrote:
>>>>>> >> >> >>>>>>
>>>>>> >> >> >>>>>> Hi,
>>>>>> >> >> >>>>>>
>>>>>> >> >> >>>>>> Can we move to around
10pm IST, Friday? If not, I'm free
>>>>>> between
>>>>>> >> >> >>>>>> 4.30pm
>>>>>> >> >> >>>>>> - 6.30pm as Chris. I can't
do around 8pm.
>>>>>> >> >> >>>>>>
>>>>>> >> >> >>>>>> --Tuna
>>>>>> >> >> >>>>>>
>>>>>> >> >> >>>>>>
>>>>>> >> >> >>>>>> On Wed, Aug 6, 2014 at
12:42 AM, chris snow
>>>>>> >> >> >>>>>> <chsnow123@gmail.com>
>>>>>> >> >> >>>>>> wrote:
>>>>>> >> >> >>>>>>>
>>>>>> >> >> >>>>>>> sorry, I meant Friday
by tomorrow :)
>>>>>> >> >> >>>>>>>
>>>>>> >> >> >>>>>>> On Tue, Aug 5, 2014
at 6:41 PM, chris snow
>>>>>> >> >> >>>>>>> <chsnow123@gmail.com>
>>>>>> >> >> >>>>>>> wrote:
>>>>>> >> >> >>>>>>> > Hi Akila - I'm
pretty tight for time tomorrow.
>>>>>> >> >> >>>>>>> >
>>>>>> >> >> >>>>>>> > I'm free between
either 4.30 IST and 5.30 IST or 5.30
>>>>>> IST and
>>>>>> >> >> >>>>>>> > 6.30
>>>>>> >> >> >>>>>>> > IST, but probably
not both :(
>>>>>> >> >> >>>>>>> >
>>>>>> >> >> >>>>>>> > On Tue, Aug 5,
2014 at 6:10 PM, Akila Ravihansa Perera
>>>>>> >> >> >>>>>>> > <ravihansa@wso2.com>
wrote:
>>>>>> >> >> >>>>>>> >> On Tue, Aug
5, 2014 at 9:24 PM, Nirmal Fernando
>>>>>> >> >> >>>>>>> >> <nirmal070125@gmail.com>
wrote:
>>>>>> >> >> >>>>>>> >>> Hi Akila,
>>>>>> >> >> >>>>>>> >>>
>>>>>> >> >> >>>>>>> >>> I suggest
we move the time further down, may be
>>>>>> around 8pm
>>>>>> >> >> >>>>>>> >>> IST.
>>>>>> >> >> >>>>>>> >>
>>>>>> >> >> >>>>>>> >> +1
>>>>>> >> >> >>>>>>> >>
>>>>>> >> >> >>>>>>> >> Guys, will
you be able to join around 8pm IST?
>>>>>> >> >> >>>>>>
>>>>>> >> >> >>>>>>
>>>>>> >> >> >>>>>
>>>>>> >> >> >>>>
>>>>>> >> >> >>>>
>>>>>> >> >> >>>>
>>>>>> >> >> >>>> --
>>>>>> >> >> >>>> --
>>>>>> >> >> >>>> Sajith Kariyawasam
>>>>>> >> >> >>>> Mobile: +94772269575
>>>>>> >> >> >>>
>>>>>> >> >> >>>
>>>>>> >> >> >>
>>>>>> >> >> >>
>>>>>> >> >> >>
>>>>>> >> >> >> --
>>>>>> >> >> >> --
>>>>>> >> >> >> Sajith Kariyawasam
>>>>>> >> >> >> Mobile: +94772269575
>>>>>> >> >
>>>>>> >> >
>>>>>> >> >
>>>>>> >> >
>>>>>> >> > --
>>>>>> >> > Imesh Gunaratne
>>>>>> >> >
>>>>>> >> > Technical Lead, WSO2
>>>>>> >> > Committer & PPMC Member, Apache Stratos
>>>>>> >
>>>>>> >
>>>>>> >
>>>>>> >
>>>>>> > --
>>>>>> > --
>>>>>> > Sajith Kariyawasam
>>>>>> > Mobile: +94772269575
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Imesh Gunaratne
>>>>>
>>>>> Technical Lead, WSO2
>>>>> Committer & PPMC Member, Apache Stratos
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Lakmal Warusawithana
>>>> Vice President, Apache Stratos
>>>> Director - Cloud Architecture; WSO2 Inc.
>>>> Mobile : +94714289692
>>>> Blog : http://lakmalsview.blogspot.com/
>>>>
>>>>
>>>
>>>
>>> --
>>> *--*
>>> *Sajith Kariyawasam*
>>> *Mobile: +94772269575 <%2B94772269575>*
>>>
>>
>>
>>
>> --
>> 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/
>

Mime
View raw message