<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
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.
<div class=""><br class="">
</div>
<div class="">Adrian</div>
<div class=""><br class="">
<div>
<blockquote type="cite" class="">
<div class="">On Nov 19, 2015, at 10:01 AM, bharath thiruveedula <<a href="mailto:bharath_ves@hotmail.com" class="">bharath_ves@hotmail.com</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div dir="ltr" style="font-family: Calibri; font-size: 16px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">
Hi,
<div class=""><br class="">
</div>
<div class="">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.</div>
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
<div class="">Regards</div>
<div class="">Bharath T</div>
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
<div class="">[1]<a href="https://goo.gl/f46b4H" target="_blank" class="">https://goo.gl/f46b4H</a></div>
<div class="">[2]<a href="https://mesosphere.github.io/marathon/docs/application-basics.html" target="_blank" class="">https://mesosphere.github.io/marathon/docs/application-basics.html</a><br class="">
<div class="">
<hr id="stopSpelling" class="">
To:<span class="Apple-converted-space"> </span><a href="mailto:openstack-dev@lists.openstack.org" class="">openstack-dev@lists.openstack.org</a><br class="">
From:<span class="Apple-converted-space"> </span><a href="mailto:wkqwu@cn.ibm.com" class="">wkqwu@cn.ibm.com</a><br class="">
Date: Thu, 19 Nov 2015 10:47:33 +0800<br class="">
Subject: Re: [openstack-dev] [magnum] Mesos Conductor<br class="">
<br class="">
@bharath,<span class="Apple-converted-space"> </span><br class="">
<br class="">
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 class="">
<br class="">
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.<span class="Apple-converted-space"> </span><br class="">
<br class="">
<br class="">
<br class="">
Thanks<br class="">
<br class="">
Best Wishes,<br class="">
--------------------------------------------------------------------------------<br class="">
Kai Qiang Wu (吴开强 Kennan)<br class="">
IBM China System and Technology Lab, Beijing<br class="">
<br class="">
E-mail:<span class="Apple-converted-space"> </span><a href="mailto:wkqwu@cn.ibm.com" class="">wkqwu@cn.ibm.com</a><br class="">
Tel: 86-10-82451647<br class="">
Address: Building 28(Ring Building), ZhongGuanCun Software Park,<span class="Apple-converted-space"> </span><span class="Apple-converted-space"> </span><br class="">
No.8 Dong Bei Wang West Road, Haidian District Beijing P.R.China 100193<br class="">
--------------------------------------------------------------------------------<br class="">
Follow your heart. You are miracle!<span class="Apple-converted-space"> </span><br class="">
<br class="">
<img width="16" height="16" src="https://1__=8FBBF591DF9DDFCB8f9e8a93df938690918c8FB@" border="0" alt="Inactive hide details for bharath thiruveedula ---19/11/2015 10:31:58 am---@hongin, @adrian I agree with you. So can we go ahea" class=""><font color="#424282" class="">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</font><br class="">
<br class="">
<font size="2" color="#5F5F5F" class="">From:<span class="Apple-converted-space"> </span><span class="Apple-converted-space"> </span></font><font size="2" class="">bharath thiruveedula <<a href="mailto:bharath_ves@hotmail.com" class="">bharath_ves@hotmail.com</a>></font><br class="">
<font size="2" color="#5F5F5F" class="">To:<span class="Apple-converted-space"> </span><span class="Apple-converted-space"> </span></font><font size="2" class="">OpenStack Development Mailing List not for usage questions <<a href="mailto:openstack-dev@lists.openstack.org" class="">openstack-dev@lists.openstack.org</a>></font><br class="">
<font size="2" color="#5F5F5F" class="">Date:<span class="Apple-converted-space"> </span><span class="Apple-converted-space"> </span></font><font size="2" class="">19/11/2015 10:31 am</font><br class="">
<font size="2" color="#5F5F5F" class="">Subject:<span class="Apple-converted-space"> </span><span class="Apple-converted-space"> </span></font><font size="2" class="">Re: [openstack-dev] [magnum] Mesos Conductor</font><br class="">
<br class="">
<hr width="100%" size="2" align="left" noshade="" style="color: rgb(128, 145, 165);" class="">
<br class="">
<br class="">
<br class="">
<font size="4" face="Calibri" class="">@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)?</font><br class="">
<br class="">
<font size="4" face="Calibri" class="">@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.</font><br class="">
<br class="">
<font size="4" face="Calibri" class="">Regards</font><br class="">
<font size="4" face="Calibri" class="">Bharath T<span class="Apple-converted-space"> </span><span class="Apple-converted-space"> </span><br class="">
</font><br class="">
<hr width="100%" size="2" align="left" id="ecxstopSpelling" class="">
<font size="4" face="Calibri" class="">Date: Thu, 19 Nov 2015 10:01:35 +0800<br class="">
From: <a href="mailto:jay.lau.513@gmail.com" class="">jay.lau.513@gmail.com</a><br class="">
To: <a href="mailto:openstack-dev@lists.openstack.org" class="">openstack-dev@lists.openstack.org</a><br class="">
Subject: Re: [openstack-dev] [magnum] Mesos Conductor<br class="">
</font><br class="">
<font size="4" face="Calibri" class="">+1.<br class="">
</font><br class="">
<font size="4" face="Calibri" class="">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.</font><br class="">
<br class="">
<font size="4" face="Calibri" class="">On Thu, Nov 19, 2015 at 8:26 AM, Adrian Otto <</font><a href="mailto:adrian.otto@rackspace.com" target="_blank" class=""><u class=""><font size="4" color="#0000FF" face="Calibri" class="">adrian.otto@rackspace.com</font></u></a><font size="4" face="Calibri" class="">>
 wrote:</font>
<ul class="">
<ul class="">
<font size="4" face="Calibri" class="">Bharath,<br class="">
<br class="">
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 class="">
<br class="">
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 class="">
<br class="">
Adrian</font><br class="">
<font size="4" face="Calibri" class=""><br class="">
> On Nov 18, 2015, at 3:21 PM, Hongbin Lu <</font><a href="mailto:hongbin.lu@huawei.com" class=""><u class=""><font size="4" color="#0000FF" face="Calibri" class="">hongbin.lu@huawei.com</font></u></a><font size="4" face="Calibri" class="">> wrote:<br class="">
><br class="">
> Hi Bharath,<br class="">
><br class="">
> 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 class="">
><br class="">
> Best regards,<br class="">
> Hongbin<br class="">
><br class="">
> [1]<span class="Apple-converted-space"> </span></font><a href="https://docs.mesosphere.com/using/cli/marathonsyntax/" target="_blank" class=""><u class=""><font size="4" color="#0000FF" face="Calibri" class="">https://docs.mesosphere.com/using/cli/marathonsyntax/</font></u></a><font size="4" face="Calibri" class=""><br class="">
><br class="">
> From: bharath thiruveedula [mailto:</font><a href="mailto:bharath_ves@hotmail.com" class=""><u class=""><font size="4" color="#0000FF" face="Calibri" class="">bharath_ves@hotmail.com</font></u></a><font size="4" face="Calibri" class="">]<br class="">
> Sent: November-18-15 1:20 PM<br class="">
> To:<span class="Apple-converted-space"> </span></font><a href="mailto:openstack-dev@lists.openstack.org" class=""><u class=""><font size="4" color="#0000FF" face="Calibri" class="">openstack-dev@lists.openstack.org</font></u></a><font size="4" face="Calibri" class=""><br class="">
> Subject: [openstack-dev] [magnum] Mesos Conductor<br class="">
><br class="">
> Hi all,<br class="">
><br class="">
> I am working on the blueprint [1]. As per my understanding, we have two resources/objects in mesos+marathon:<br class="">
><br class="">
> 1)Apps: combination of instances/containers running on multiple hosts representing a service.[2]<br class="">
> 2)Application Groups: Group of apps, for example we can have database application group which consists mongoDB app and MySQL App.[3]<br class="">
><br class="">
> 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 class="">
><br class="">
> Let me know your opinion/comments on this and correct me if I am wrong<br class="">
><br class="">
> [1]</font><a href="https://blueprints.launchpad.net/magnum/+spec/mesos-conductor" target="_blank" class=""><u class=""><font size="4" color="#0000FF" face="Calibri" class="">https://blueprints.launchpad.net/magnum/+spec/mesos-conductor</font></u></a><font size="4" face="Calibri" class="">.<br class="">
> [2]</font><a href="https://mesosphere.github.io/marathon/docs/application-basics.html" target="_blank" class=""><u class=""><font size="4" color="#0000FF" face="Calibri" class="">https://mesosphere.github.io/marathon/docs/application-basics.html</font></u></a><font size="4" face="Calibri" class=""><br class="">
> [3]</font><a href="https://mesosphere.github.io/marathon/docs/application-groups.html" target="_blank" class=""><u class=""><font size="4" color="#0000FF" face="Calibri" class="">https://mesosphere.github.io/marathon/docs/application-groups.html</font></u></a><font size="4" face="Calibri" class=""><br class="">
><br class="">
><br class="">
> Regards<br class="">
> Bharath T</font><br class="">
<font size="4" face="Calibri" class="">> __________________________________________________________________________<br class="">
> OpenStack Development Mailing List (not for usage questions)<br class="">
> Unsubscribe:<span class="Apple-converted-space"> </span></font><a href="http://lists.openstack.org/?subject:unsubscribe" target="_blank" class=""><u class=""><font size="4" color="#0000FF" face="Calibri" class="">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</font></u></a><font size="4" face="Calibri" class=""><br class="">
><span class="Apple-converted-space"> </span></font><a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank" class=""><u class=""><font size="4" color="#0000FF" face="Calibri" class="">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</font></u></a><font size="4" face="Calibri" class=""><br class="">
<br class="">
__________________________________________________________________________<br class="">
OpenStack Development Mailing List (not for usage questions)<br class="">
Unsubscribe:<span class="Apple-converted-space"> </span></font><a href="http://lists.openstack.org/?subject:unsubscribe" target="_blank" class=""><u class=""><font size="4" color="#0000FF" face="Calibri" class="">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</font></u></a><u class=""><font size="4" color="#0000FF" face="Calibri" class=""><br class="">
</font></u><a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank" class=""><u class=""><font size="4" color="#0000FF" face="Calibri" class="">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</font></u></a></ul>
</ul>
<font size="4" face="Calibri" class=""><br class="">
<br class="">
<br class="">
--<span class="Apple-converted-space"> </span></font><br class="">
<font size="4" face="Calibri" class="">Thanks,<br class="">
</font><br class="">
<font size="4" face="Calibri" class="">Jay Lau (Guangya Liu)</font><br class="">
<font size="4" face="Calibri" class=""><br class="">
__________________________________________________________________________ OpenStack Development Mailing List (not for usage questions) Unsubscribe:
<a href="mailto:OpenStack-dev-request@lists.openstack.org" class="">OpenStack-dev-request@lists.openstack.org</a>?subject:unsubscribe<span class="Apple-converted-space"> </span></font><font size="4" face="Calibri" class=""><a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank" class="">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a></font><tt class="">__________________________________________________________________________<br class="">
OpenStack Development Mailing List (not for usage questions)<br class="">
Unsubscribe: <a href="mailto:OpenStack-dev-request@lists.openstack.org" class="">
OpenStack-dev-request@lists.openstack.org</a>?subject:unsubscribe<br class="">
</tt><tt class=""><a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank" class="">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a></tt><tt class=""><br class="">
</tt><br class="">
<br class="">
<br class="">
<br class="">
__________________________________________________________________________ OpenStack Development Mailing List (not for usage questions) Unsubscribe:<span class="Apple-converted-space"> </span><a href="mailto:OpenStack-dev-request@lists.openstack.org" class="">OpenStack-dev-request@lists.openstack.org</a>?subject:unsubscribe<span class="Apple-converted-space"> </span><a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" class="">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a></div>
</div>
</div>
<span style="font-family: Calibri; font-size: 16px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">__________________________________________________________________________</span><br style="font-family: Calibri; font-size: 16px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">
<span style="font-family: Calibri; font-size: 16px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">OpenStack
 Development Mailing List (not for usage questions)</span><br style="font-family: Calibri; font-size: 16px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">
<span style="font-family: Calibri; font-size: 16px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">Unsubscribe:<span class="Apple-converted-space"> </span></span><a href="mailto:OpenStack-dev-request@lists.openstack.org" style="font-family: Calibri; font-size: 16px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">OpenStack-dev-request@lists.openstack.org</a><span style="font-family: Calibri; font-size: 16px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">?subject:unsubscribe</span><br style="font-family: Calibri; font-size: 16px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" style="font-family: Calibri; font-size: 16px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a></div>
</blockquote>
</div>
<br class="">
</div>
</body>
</html>