Hi,

Since we have done initial R&D, I like to discuss correct architecture for
implementing this. Will initial separate thread for it.


On Fri, Jun 6, 2014 at 3:20 AM, chris snow <chsnow...@gmail.com> wrote:

> Great stuff Imesh, thanks for the update!
> On 5 Jun 2014 08:21, "Imesh Gunaratne" <im...@apache.org> wrote:
>
>> Hi All,
>>
>> I have some good news. I was doing some experiments on this area with
>> jclouds docker API implemented by Anreas [1]. Yesterday I found few
>> problems in this pull request and fixed several issues, those fixes could
>> be found here [2]. Andreas has accepted some of them and commented.
>>
>> Today early morning I brought pr/57 together with the fixes I did into
>> master branch (under dependencies) and now we have a PoC level docker
>> support:
>>
>> *I have done following:*
>> - Forked pr/57 and applied fixes
>> - Implemented Docker IaaS provider and Partition Validator
>> - Updated cloud-controller.xml
>> - Fixed some other problems in master branch which blocked testing this
>> functionality.
>> - Commit revision: d45ad99a4ea22ee65c6f657d34806f1d9134b827
>>
>> Now with theses changes we could start docker containers from Stratos. I
>> know this overlaps with the work Pradeep was doing, sorry I couldn't
>> synchronize. I did this in my leisure time.
>>
>> *Things remaining for basic functionality work:*
>> - IP address association
>>   - Currently DHCP works, containers get an IP address assigned
>> automatically. This could be retrieved by Stratos via the docker API.
>> - Payload passing to docker containers:
>>   - I had a look at this and we could use docker Env variable in
>> container create method call to pass payload parameter to containers. As I
>> found this is the standard method docker is using to pass parameters.
>>
>> [1] https://github.com/jclouds/jclouds-labs/pull/57
>> [2] https://github.com/andreaturli/jclouds-labs/pull/2
>>
>> Thanks
>>
>>
>> On Thu, Jun 5, 2014 at 11:33 AM, chris snow <chsnow...@gmail.com> wrote:
>>
>>> Hi Pradeed,
>>>
>>> Thanks for the feedback.  Do you have an idea of timescales for the
>>> remaining work?  Is there anything that I could help with?
>>>
>>> Many thanks,
>>>
>>> Chris
>>>
>>> On Thu, Jun 5, 2014 at 3:16 AM, Pradeep Fernando <pradee...@gmail.com>
>>> wrote:
>>> > Hi Chris,
>>> >
>>> > I was able to get to a point where, docker images are starting up and
>>> port
>>> > mapping happens using andrea s' docker provider for jclouds. The
>>> remaining
>>> > task is ipmapping. Going to look at it.
>>> >
>>> > tthanks
>>> >
>>> >
>>> > On Wed, Jun 4, 2014 at 11:49 PM, Nirmal Fernando <
>>> nirmal070...@gmail.com>
>>> > wrote:
>>> >>
>>> >> Yes.. correct.
>>> >>
>>> >>
>>> >> On Wed, Jun 4, 2014 at 11:42 PM, chris snow <chsnow...@gmail.com>
>>> wrote:
>>> >>>
>>> >>> Thanks Nirmal.  If I remember right, Tuna was also interested, so
>>> cc'ing
>>> >>> Tuna as well.
>>> >>>
>>> >>> On Jun 4, 2014 6:44 PM, "Nirmal Fernando" <nirmal070...@gmail.com>
>>> wrote:
>>> >>>>
>>> >>>> Hi Chris,
>>> >>>>
>>> >>>> AFAIK Pradeep started to work on it. But not sure on the progress he
>>> >>>> made.
>>> >>>>
>>> >>>>
>>> >>>> On Wed, Jun 4, 2014 at 11:12 PM, chris snow <chsnow...@gmail.com>
>>> wrote:
>>> >>>>>
>>> >>>>> Hi All,
>>> >>>>>
>>> >>>>> The reason for my previous email asking if someone is working on a
>>> >>>>> Stratos Docker provider is because I have been using Stratos +
>>> >>>>> Openstack (devstack) + Docker for my development environment, but I
>>> >>>>> have found devstack to be very unreliable.
>>> >>>>>
>>> >>>>> One option is for me to install Openstack from scratch, but
>>> >>>>> Openstack's Docker integration seems to be shifting from Nova to
>>> Heat
>>> >>>>> in Icehouse, so this exercise seems a bit pointless? [1]
>>> >>>>>
>>> >>>>> Therefore, if someone is working on Stratos+Docker direct
>>> integration
>>> >>>>> or has ideas how this should proceed, then I'd be interested in
>>> >>>>> syncing up to see if there is anything that I can help with.
>>> >>>>>
>>> >>>>> Many thanks,
>>> >>>>>
>>> >>>>> Chris
>>> >>>>>
>>> >>>>> ---
>>> >>>>> [1]
>>> >>>>>
>>> http://blog.docker.com/2014/03/docker-will-be-in-openstack-icehouse/
>>> >>>>>
>>> >>>>> On Sun, Jun 1, 2014 at 4:48 AM, chris snow <chsnow...@gmail.com>
>>> wrote:
>>> >>>>> > Hi Devs,
>>> >>>>> >
>>> >>>>> > Is someone working on a Stratos docker provider?  What is the
>>> status
>>> >>>>> > of this work?
>>> >>>>> >
>>> >>>>> > Many thanks,
>>> >>>>> >
>>> >>>>> > Chris
>>> >>>>>
>>> >>>>>
>>> >>>>>
>>> >>>>> --
>>> >>>>> Check out my professional profile and connect with me on LinkedIn.
>>> >>>>> http://lnkd.in/cw5k69
>>> >>>>
>>> >>>>
>>> >>>>
>>> >>>>
>>> >>>> --
>>> >>>> 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/
>>> >
>>> >
>>> >
>>> >
>>> > --
>>> > Pradeep Fernando.
>>> > http://pradeepfernando.blogspot.com/
>>>
>>>
>>>
>>> --
>>> 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
>>
>


-- 
Lakmal Warusawithana
Vice President, Apache Stratos
Director - Cloud Architecture; WSO2 Inc.
Mobile : +94714289692
Blog : http://lakmalsview.blogspot.com/

Reply via email to