<div dir="ltr"><div><div><div>Hi Bharath,<br><br></div>Actually I have already filed a bp here: <a href="https://blueprints.launchpad.net/magnum/+spec/unify-coe-api">https://blueprints.launchpad.net/magnum/+spec/unify-coe-api</a> ,sorry for the late notify.<br><br></div>We may need some discussion for this in next Week's meeting. I will attend next week's meeting and we can have discussion with team then, hope it is OK. ;-)<br><br></div>Thanks!<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Dec 2, 2015 at 8:48 AM, bharath thiruveedula <span dir="ltr"><<a href="mailto:bharath_ves@hotmail.com" target="_blank">bharath_ves@hotmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><div dir="ltr">Hi,<div><br></div><div>Sorry I was off for some days because of health issues.</div><div><br></div><div>So I think the work items for this BP[1] are:</div><div><br></div><div>1)Add support to accept json file in container-create command</div><div>2)Handle JSON input in docker_conductor</div><div>3)Implement mesos conductor for container create,delete and list.</div><div><br></div><div>Correct me if I am wrong. And let me know the process for implementing BP in magnum. I think we need approval for this BP and then implementation?</div><div><br></div><div> [1]<a href="https://blueprints.launchpad.net/magnum/+spec/mesos-conductor" style="font-size:12pt" target="_blank">https://blueprints.launchpad.net/magnum/+spec/mesos-conductor</a></div><div><br></div><div>Regards</div><div>Bharath T(tbh)</div><div><br><br><div><hr>Date: Fri, 20 Nov 2015 07:44:49 +0800<br>From: <a href="mailto:jay.lau.513@gmail.com" target="_blank">jay.lau.513@gmail.com</a><br>To: <a href="mailto:openstack-dev@lists.openstack.org" target="_blank">openstack-dev@lists.openstack.org</a><div><div class="h5"><br>Subject: Re: [openstack-dev] [magnum] Mesos Conductor<br><br><div dir="ltr"><div><div>It's great that we come to some agreement on unifying the client call ;-)<br><br></div>As i proposed in previous thread, I think that "magnum app-create" may be better than "magnum create", I want to use "magnum app-create" to distinguish with "magnum container-create". The "app-create" may also not a good name as the k8s also have concept of service which is actually not an app. comments?<br><br></div>I think we can file a bp for this and it will be a great feature in M release!<br></div><div><br><div>On Fri, Nov 20, 2015 at 4:59 AM, Egor Guz <span dir="ltr"><<a href="mailto:EGuz@walmartlabs.com" target="_blank">EGuz@walmartlabs.com</a>></span> wrote:<br><blockquote style="border-left:1px #ccc solid;padding-left:1ex">+1, I found that 'kubectl create -f FILENAME’ (<a href="https://github.com/kubernetes/kubernetes/blob/release-1.1/docs/user-guide/kubectl/kubectl_create.md" rel="noreferrer" target="_blank">https://github.com/kubernetes/kubernetes/blob/release-1.1/docs/user-guide/kubectl/kubectl_create.md</a>) works very well for different type of objects and I think we should try to use it.<br>
<br>
but I think we should support two use-cases<br>
- 'magnum container-create’, with simple list of options which work for Swarm/Mesos/Kub. it will be good option for users who just wants to try containers.<br>
- 'magnum create ’, with file which has Swarm/Mesos/Kub specific payload.<br>
<br>
—<br>
Egor<br>
<br>
From: Adrian Otto <<a href="mailto:adrian.otto@rackspace.com" target="_blank">adrian.otto@rackspace.com</a><mailto:<a href="mailto:adrian.otto@rackspace.com" target="_blank">adrian.otto@rackspace.com</a>>><br>
Reply-To: "OpenStack Development Mailing List (not for usage questions)" <<a href="mailto:openstack-dev@lists.openstack.org" target="_blank">openstack-dev@lists.openstack.org</a><mailto:<a href="mailto:openstack-dev@lists.openstack.org" target="_blank">openstack-dev@lists.openstack.org</a>>><br>
Date: Thursday, November 19, 2015 at 10:36<br>
To: "OpenStack Development Mailing List (not for usage questions)" <<a href="mailto:openstack-dev@lists.openstack.org" target="_blank">openstack-dev@lists.openstack.org</a><mailto:<a href="mailto:openstack-dev@lists.openstack.org" target="_blank">openstack-dev@lists.openstack.org</a>>><br>
<span>Subject: Re: [openstack-dev] [magnum] Mesos Conductor<br>
<br>
</span><span>I’m open to allowing magnum to pass a blob of data (such as a lump of JSON or YAML) to the Bay's native API. That approach strikes a balance that’s appropriate.<br>
<br>
Adrian<br>
<br>
</span><span>On Nov 19, 2015, at 10:01 AM, bharath thiruveedula <<a href="mailto:bharath_ves@hotmail.com" target="_blank">bharath_ves@hotmail.com</a><mailto:<a href="mailto:bharath_ves@hotmail.com" target="_blank">bharath_ves@hotmail.com</a>>> wrote:<br>
<br>
Hi,<br>
<br>
At the present scenario, we can have mesos conductor with existing attributes[1]. Or we can add extra options like 'portMappings', 'instances', 'uris'[2]. And the other options is to take json file as input to 'magnum container-create' and dispatch it to corresponding conductor. And the conductor will handle the json input. Let me know your opinions.<br>
<br>
<br>
Regards<br>
Bharath T<br>
<br>
<br>
<br>
<br>
[1]<a href="https://goo.gl/f46b4H" rel="noreferrer" target="_blank">https://goo.gl/f46b4H</a><br>
[2]<a href="https://mesosphere.github.io/marathon/docs/application-basics.html" rel="noreferrer" target="_blank">https://mesosphere.github.io/marathon/docs/application-basics.html</a><br>
________________________________<br>
</span>To: <a href="mailto:openstack-dev@lists.openstack.org" target="_blank">openstack-dev@lists.openstack.org</a><mailto:<a href="mailto:openstack-dev@lists.openstack.org" target="_blank">openstack-dev@lists.openstack.org</a>><br>
From: <a href="mailto:wkqwu@cn.ibm.com" target="_blank">wkqwu@cn.ibm.com</a><mailto:<a href="mailto:wkqwu@cn.ibm.com" target="_blank">wkqwu@cn.ibm.com</a>><br>
<span>Date: Thu, 19 Nov 2015 10:47:33 +0800<br>
Subject: Re: [openstack-dev] [magnum] Mesos Conductor<br>
<br>
@bharath,<br>
<br>
1) actually, if you mean use container-create(delete) to do on mesos bay for apps. I am not sure how different the interface between docker interface and mesos interface. One point that when you introduce that feature, please not make docker container interface more complicated than now. I worried that because it would confuse end-users a lot than the unified benefits. (maybe as optional parameter to pass one json file to create containers in mesos)<br>
<br>
2) For the unified interface, I think it need more thoughts, we need not bring more trouble to end-users to learn new concepts or interfaces, except we could have more clear interface, but different COES vary a lot. It is very challenge.<br>
<br>
<br>
<br>
Thanks<br>
<br>
Best Wishes,<br>
--------------------------------------------------------------------------------<br>
Kai Qiang Wu (吴开强 Kennan)<br>
IBM China System and Technology Lab, Beijing<br>
<br>
</span>E-mail: <a href="mailto:wkqwu@cn.ibm.com" target="_blank">wkqwu@cn.ibm.com</a><mailto:<a href="mailto:wkqwu@cn.ibm.com" target="_blank">wkqwu@cn.ibm.com</a>><br>
<span>Tel: 86-10-82451647<br>
Address: Building 28(Ring Building), ZhongGuanCun Software Park,<br>
No.8 Dong Bei Wang West Road, Haidian District Beijing P.R.China 100193<br>
--------------------------------------------------------------------------------<br>
Follow your heart. You are miracle!<br>
<br>
</span>[Inactive hide details for bharath thiruveedula ---19/11/2015 10:31:58 am---@hongin, @adrian I agree with you. So can we go ahea]bharath thiruveedula ---19/11/2015 10:31:58 am---@hongin, @adrian I agree with you. So can we go ahead with magnum container-create(delete) ... for<br>
<br>
From: bharath thiruveedula <<a href="mailto:bharath_ves@hotmail.com" target="_blank">bharath_ves@hotmail.com</a><mailto:<a href="mailto:bharath_ves@hotmail.com" target="_blank">bharath_ves@hotmail.com</a>>><br>
To: OpenStack Development Mailing List not for usage questions <<a href="mailto:openstack-dev@lists.openstack.org" target="_blank">openstack-dev@lists.openstack.org</a><mailto:<a href="mailto:openstack-dev@lists.openstack.org" target="_blank">openstack-dev@lists.openstack.org</a>>><br>
<span>Date: 19/11/2015 10:31 am<br>
Subject: Re: [openstack-dev] [magnum] Mesos Conductor<br>
<br>
________________________________<br>
<br>
<br>
<br>
@hongin, @adrian I agree with you. So can we go ahead with magnum container-create(delete) ... for mesos bay (which actually create mesos(marathon) app internally)?<br>
<br>
@jay, yes we multiple frameworks which are using mesos lib. But the mesos bay we are creating uses marathon. And we had discussion in irc on this topic, and I was asked to implement initial version for marathon. And agree with you to have unified client interface for creating pod,app.<br>
<br>
Regards<br>
Bharath T<br>
<br>
________________________________<br>
Date: Thu, 19 Nov 2015 10:01:35 +0800<br>
</span>From: <a href="mailto:jay.lau.513@gmail.com" target="_blank">jay.lau.513@gmail.com</a><mailto:<a href="mailto:jay.lau.513@gmail.com" target="_blank">jay.lau.513@gmail.com</a>><br>
To: <a href="mailto:openstack-dev@lists.openstack.org" target="_blank">openstack-dev@lists.openstack.org</a><mailto:<a href="mailto:openstack-dev@lists.openstack.org" target="_blank">openstack-dev@lists.openstack.org</a>><br>
<span>Subject: Re: [openstack-dev] [magnum] Mesos Conductor<br>
<br>
+1.<br>
<br>
One problem I want to mention is that for mesos integration, we cannot limited to Marathon + Mesos as there are many frameworks can run on top of Mesos, such as Chronos, Kubernetes etc, we may need to consider more for Mesos integration as there is a huge eco-system build on top of Mesos.<br>
<br>
</span><span>On Thu, Nov 19, 2015 at 8:26 AM, Adrian Otto <<a href="mailto:adrian.otto@rackspace.com" target="_blank">adrian.otto@rackspace.com</a><mailto:<a href="mailto:adrian.otto@rackspace.com" target="_blank">adrian.otto@rackspace.com</a>>> wrote:<br>
<br>
Bharath,<br>
<br>
I agree with Hongbin on this. Let’s not expand magnum to deal with apps or appgroups in the near term. If there is a strong desire to add these things, we could allow it by having a plugin/extensions interface for the Magnum API to allow additional COE specific features. Honestly, it’s just going to be a nuisance to keep up with the various upstreams until they become completely stable from an API perspective, and no additional changes are likely. All of our COE’s still have plenty of maturation ahead of them, so this is the wrong time to wrap them.<br>
<br>
If someone really wants apps and appgroups, (s)he could add that to an experimental branch of the magnum client, and have it interact with the marathon API directly rather than trying to represent those resources in Magnum. If that tool became popular, then we could revisit this topic for further consideration.<br>
<br>
Adrian<br>
<br>
</span><span>> On Nov 18, 2015, at 3:21 PM, Hongbin Lu <<a href="mailto:hongbin.lu@huawei.com" target="_blank">hongbin.lu@huawei.com</a><mailto:<a href="mailto:hongbin.lu@huawei.com" target="_blank">hongbin.lu@huawei.com</a>>> wrote:<br>
><br>
> Hi Bharath,<br>
><br>
> I agree the “container” part. We can implement “magnum container-create ..” for mesos bay in the way you mentioned. Personally, I don’t like to introduce “apps” and “appgroups” resources to Magnum, because they are already provided by native tool [1]. I couldn’t see the benefits to implement a wrapper API to offer what native tool already offers. However, if you can point out a valid use case to wrap the API, I will give it more thoughts.<br>
><br>
> Best regards,<br>
> Hongbin<br>
><br>
> [1] <a href="https://docs.mesosphere.com/using/cli/marathonsyntax/" rel="noreferrer" target="_blank">https://docs.mesosphere.com/using/cli/marathonsyntax/</a><br>
><br>
</span>> From: bharath thiruveedula [mailto:<a href="mailto:bharath_ves@hotmail.com" target="_blank">bharath_ves@hotmail.com</a><mailto:<a href="mailto:bharath_ves@hotmail.com" target="_blank">bharath_ves@hotmail.com</a>>]<br>
<span>> Sent: November-18-15 1:20 PM<br>
</span>> To: <a href="mailto:openstack-dev@lists.openstack.org" target="_blank">openstack-dev@lists.openstack.org</a><mailto:<a href="mailto:openstack-dev@lists.openstack.org" target="_blank">openstack-dev@lists.openstack.org</a>><br>
<span>> Subject: [openstack-dev] [magnum] Mesos Conductor<br>
><br>
> Hi all,<br>
><br>
> I am working on the blueprint [1]. As per my understanding, we have two resources/objects in mesos+marathon:<br>
><br>
> 1)Apps: combination of instances/containers running on multiple hosts representing a service.[2]<br>
> 2)Application Groups: Group of apps, for example we can have database application group which consists mongoDB app and MySQL App.[3]<br>
><br>
> So I think we need to have two resources 'apps' and 'appgroups' in mesos conductor like we have pod and rc for k8s. And regarding 'magnum container' command, we can create, delete and retrieve container details as part of mesos app itself(container = app with 1 instance). Though I think in mesos case 'magnum app-create ..." and 'magnum container-create ...' will use the same REST API for both cases.<br>
><br>
> Let me know your opinion/comments on this and correct me if I am wrong<br>
><br>
> [1]<a href="https://blueprints.launchpad.net/magnum/+spec/mesos-conductor" rel="noreferrer" target="_blank">https://blueprints.launchpad.net/magnum/+spec/mesos-conductor</a>.<br>
> [2]<a href="https://mesosphere.github.io/marathon/docs/application-basics.html" rel="noreferrer" target="_blank">https://mesosphere.github.io/marathon/docs/application-basics.html</a><br>
> [3]<a href="https://mesosphere.github.io/marathon/docs/application-groups.html" rel="noreferrer" target="_blank">https://mesosphere.github.io/marathon/docs/application-groups.html</a><br>
><br>
><br>
> Regards<br>
> Bharath T<br>
> __________________________________________________________________________<br>
> OpenStack Development Mailing List (not for usage questions)<br>
</span>> Unsubscribe: <a href="http://lists.openstack.org?subject:unsubscribe" rel="noreferrer" target="_blank">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><<a href="http://lists.openstack.org/?subject:unsubscribe" rel="noreferrer" target="_blank">http://lists.openstack.org/?subject:unsubscribe</a>><br>
<span>> <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
<br>
__________________________________________________________________________<br>
OpenStack Development Mailing List (not for usage questions)<br>
</span>Unsubscribe: <a href="http://lists.openstack.org?subject:unsubscribe" rel="noreferrer" target="_blank">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><<a href="http://lists.openstack.org/?subject:unsubscribe" rel="noreferrer" target="_blank">http://lists.openstack.org/?subject:unsubscribe</a>><br>
<span><a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
<br>
<br>
<br>
--<br>
Thanks,<br>
<br>
Jay Lau (Guangya Liu)<br>
<br>
</span>__________________________________________________________________________ OpenStack Development Mailing List (not for usage questions) Unsubscribe: <a href="mailto:OpenStack-dev-request@lists.openstack.org" target="_blank">OpenStack-dev-request@lists.openstack.org</a><mailto:<a href="mailto:OpenStack-dev-request@lists.openstack.org" target="_blank">OpenStack-dev-request@lists.openstack.org</a>>?subject:unsubscribe <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev__________________________________________________________________________" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev__________________________________________________________________________</a><br>
<span>OpenStack Development Mailing List (not for usage questions)<br>
</span>Unsubscribe: <a href="mailto:OpenStack-dev-request@lists.openstack.org" target="_blank">OpenStack-dev-request@lists.openstack.org</a><mailto:<a href="mailto:OpenStack-dev-request@lists.openstack.org" target="_blank">OpenStack-dev-request@lists.openstack.org</a>>?subject:unsubscribe<br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
<br>
<br>
<br>
<br>
__________________________________________________________________________ OpenStack Development Mailing List (not for usage questions) Unsubscribe: <a href="mailto:OpenStack-dev-request@lists.openstack.org" target="_blank">OpenStack-dev-request@lists.openstack.org</a><mailto:<a href="mailto:OpenStack-dev-request@lists.openstack.org" target="_blank">OpenStack-dev-request@lists.openstack.org</a>>?subject:unsubscribe <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
<span>__________________________________________________________________________<br>
OpenStack Development Mailing List (not for usage questions)<br>
</span>Unsubscribe: <a href="mailto:OpenStack-dev-request@lists.openstack.org" target="_blank">OpenStack-dev-request@lists.openstack.org</a><mailto:<a href="mailto:OpenStack-dev-request@lists.openstack.org" target="_blank">OpenStack-dev-request@lists.openstack.org</a>>?subject:unsubscribe<br>
<div><div><a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
<br>
__________________________________________________________________________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: <a href="http://lists.openstack.org?subject:unsubscribe" rel="noreferrer" target="_blank">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br><div><div dir="ltr"><div><div dir="ltr"><div>Thanks,<br><br></div>Jay Lau (Guangya Liu)<br></div></div></div></div>
</div>
<br>__________________________________________________________________________
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" target="_blank">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a></div></div></div></div> </div></div>
<br>__________________________________________________________________________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" rel="noreferrer" target="_blank">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div>Thanks,<br><br></div>Jay Lau (Guangya Liu)<br></div></div></div></div>
</div>