<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<style>
<!--
@font-face
{font-family:Helvetica}
@font-face
{font-family:SimSun}
@font-face
{font-family:"Cambria Math"}
@font-face
{font-family:Calibri}
@font-face
{font-family:Tahoma}
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman","serif"}
a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline}
a:visited, span.MsoHyperlinkFollowed
{color:purple;
text-decoration:underline}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
{margin:0cm;
margin-bottom:.0001pt;
font-size:8.0pt;
font-family:"Tahoma","sans-serif"}
span.BalloonTextChar
{font-family:"Tahoma","sans-serif"}
span.EmailStyle20
{font-family:"Calibri","sans-serif";
color:#1F497D}
.MsoChpDefault
{font-size:10.0pt}
@page WordSection1
{margin:72.0pt 72.0pt 72.0pt 72.0pt}
-->
</style><style id="owaParaStyle" type="text/css">P {margin-top:0;margin-bottom:0;}</style>
</head>
<body ocsi="0" fpstyle="1" vlink="purple" lang="EN-CA" link="blue">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">Yeah, I think there are two places where it may make sense.<br>
<br>
1. Ironic's nova plugin is a lowst common denominator for treating a physical host like a vm. Ironic's api is much more rich, but sometimes all you need is the lowest common denominator and don't want to rewrite a bunch of code. In this case, it may make sense
to have a nova plugin that talks to magnum to launch a heavy weight container to make the use case easy.<br>
<br>
2. Basic abstraction of Orchestration systems. Most (all?) docker orchestration systems work with a yaml file. What's in it differs, but shipping it from point A to point B using an authenticated channel can probably be nicely abstracted. I think this would
be a big usability gain as well. Things like the applications catalog could much more easily hook into it then. The catalog would provide the yaml, and a tag to know which orchestrator type it is, and just pass that info along to magnum.<br>
<br>
Thanks,<br>
Kevin<br>
<br>
<br>
<div style="font-family: Times New Roman; color: #000000; font-size: 16px">
<hr tabindex="-1">
<div style="direction: ltr;" id="divRpF666659"><font color="#000000" face="Tahoma" size="2"><b>From:</b> Hongbin Lu [hongbin.lu@huawei.com]<br>
<b>Sent:</b> Monday, April 11, 2016 11:10 AM<br>
<b>To:</b> Adrian Otto; OpenStack Development Mailing List (not for usage questions)<br>
<b>Cc:</b> foundation@lists.openstack.org<br>
<b>Subject:</b> Re: [openstack-dev] [OpenStack Foundation] [board][tc][all] One Platform – Containers/Bare Metal? (Re: Board of Directors Meeting)<br>
</font><br>
</div>
<div></div>
<div>
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:#1F497D">Sorry, I disagree.</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:#1F497D"> </span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:#1F497D">Magnum team doesn’t have consensus to reject the idea of unifying APIs from different container technology. In contrast, the idea of unified Container APIs
has been constantly proposed by different people in the past. I will try to allocate a session in design summit to discuss it as a team.</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:#1F497D"> </span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:#1F497D">Best regards,</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:#1F497D">Hongbin</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:#1F497D"> </span></p>
<div style="border:none; border-left:solid blue 1.5pt; padding:0cm 0cm 0cm 4.0pt">
<div>
<div style="border:none; border-top:solid #B5C4DF 1.0pt; padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span style="font-size:10.0pt; font-family:"Tahoma","sans-serif"" lang="EN-US">From:</span></b><span style="font-size:10.0pt; font-family:"Tahoma","sans-serif"" lang="EN-US"> Adrian Otto [mailto:adrian.otto@rackspace.com]
<br>
<b>Sent:</b> April-11-16 12:54 PM<br>
<b>To:</b> OpenStack Development Mailing List (not for usage questions)<br>
<b>Cc:</b> foundation@lists.openstack.org<br>
<b>Subject:</b> Re: [OpenStack Foundation] [openstack-dev] [board][tc][all] One Platform – Containers/Bare Metal? (Re: Board of Directors Meeting)</span></p>
</div>
</div>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Amrith, </p>
<div>
<p class="MsoNormal"> </p>
</div>
<div>
<p class="MsoNormal">I respect your point of view, and agree that the idea of a common compute API is attractive… until you think a bit deeper about what that would mean. We seriously considered a “global” compute API at the time we were first contemplating
Magnum. However, what we came to learn through the journey of understanding the details of how such a thing would be implemented, that such an API would either be (1) the lowest common denominator (LCD) of all compute types, or (2) an exceedingly complex interface. </p>
</div>
<div>
<p class="MsoNormal"> </p>
</div>
<div>
<p class="MsoNormal">You expressed a sentiment below that trying to offer choices for VM, Bare Metal (BM), and Containers for Trove instances “adds considerable complexity”. Roughly the same complexity would accompany the use of a comprehensive compute API.
I suppose you were imagining an LCD approach. If that’s what you want, just use the existing Nova API, and load different compute drivers on different host aggregates. A single Nova client can produce VM, BM (Ironic), and Container (lbvirt-lxc) instances all
with a common API (Nova) if it’s configured in this way. That’s what we do. Flavors determine which compute type you get.</p>
</div>
<div>
<p class="MsoNormal"> </p>
</div>
<div>
<p class="MsoNormal">If what you meant is that you could tap into the power of all the unique characteristics of each of the various compute types (through some modular extensibility framework) you’ll likely end up with complexity in Trove that is comparable
to integrating with the native upstream APIs, along with the disadvantage of waiting for OpenStack to continually catch up to the pace of change of the various upstream systems on which it depends. This is a recipe for disappointment.</p>
</div>
<div>
<p class="MsoNormal"> </p>
</div>
<div>
<p class="MsoNormal">We concluded that wrapping native APIs is a mistake, particularly when they are sufficiently different than what the Nova API already offers. Containers APIs have limited similarities, so when you try to make a universal interface to all
of them, you end up with a really complicated mess. It would be even worse if we tried to accommodate all the unique aspects of BM and VM as well. Magnum’s approach is to offer the upstream native API’s for the different container orchestration engines (COE),
and compose Bays for them to run on that are built from the compute types that OpenStack supports. We do this by using different Heat orchestration templates (and conditional templates) to arrange a COE on the compute type of your choice. With that said, there
are still gaps where not all storage or network drivers work with Ironic, and there are non-trivial security hurdles to clear to safely use Bays composed of libvirt-lxc instances in a multi-tenant environment.</p>
</div>
<div>
<p class="MsoNormal"> </p>
</div>
<div>
<p class="MsoNormal">My suggestion to get what you want for Trove is to see if the cloud has Magnum, and if it does, create a bay with the flavor type specified for whatever compute type you want, and then use the native API for the COE you selected for that
bay. Start your instance on the COE, just like you use Nova today. This way, you have low complexity in Trove, and you can scale both the number of instances of your data nodes (containers), and the infrastructure on which they run (Nova instances).</p>
</div>
<div>
<p class="MsoNormal"> </p>
</div>
<div>
<p class="MsoNormal">Regards,</p>
</div>
<div>
<p class="MsoNormal"> </p>
</div>
<div>
<p class="MsoNormal">Adrian</p>
</div>
<div>
<p class="MsoNormal"> </p>
</div>
<div>
<p class="MsoNormal"> </p>
</div>
<div>
<p class="MsoNormal"> </p>
<div>
<blockquote style="margin-top:5.0pt; margin-bottom:5.0pt">
<div>
<p class="MsoNormal">On Apr 11, 2016, at 8:47 AM, Amrith Kumar <<a href="mailto:amrith@tesora.com" target="_blank">amrith@tesora.com</a>> wrote:</p>
</div>
<p class="MsoNormal"> </p>
<div>
<p class="MsoNormal"><span style="font-size:9.0pt; font-family:"Helvetica","sans-serif"">Monty, Dims,<span class="apple-converted-space"> </span><br>
<br>
I read the notes and was similarly intrigued about the idea. In particular, from the perspective of projects like Trove, having a common Compute API is very valuable. It would allow the projects to have a single view of provisioning compute, as we can today
with Nova and get the benefit of bare metal through Ironic, VM's through Nova VM's, and containers through nova-docker.<br>
<br>
With this in place, a project like Trove can offer database-as-a-service on a spectrum of compute infrastructures as any end-user would expect. Databases don't always make sense in VM's, and while containers are great for quick and dirty prototyping, and VM's
are great for much more, there are databases that will in production only be meaningful on bare-metal.<br>
<br>
Therefore, if there is a move towards offering a common API for VM's, bare-metal and containers, that would be huge.<br>
<br>
Without such a mechanism, consuming containers in Trove adds considerable complexity and leads to a very sub-optimal architecture (IMHO). FWIW, a working prototype of Trove leveraging Ironic, VM's, and nova-docker to provision databases is something I worked
on a while ago, and have not revisited it since then (once the direction appeared to be Magnum for containers).<br>
<br>
With all that said, I don't want to downplay the value in a container specific API. I'm merely observing that from the perspective of a consumer of computing services, a common abstraction is incredibly valuable.<span class="apple-converted-space"> </span><br>
<br>
Thanks,<br>
<br>
-amrith<span class="apple-converted-space"> </span><br>
<br style="orphans:auto; text-align:start; widows:auto; word-spacing:0px">
<br>
</span></p>
<p class="MsoNormal"><span style="font-size:9.0pt; font-family:"Helvetica","sans-serif"">-----Original Message-----<br>
From: Monty Taylor [<a href="mailto:mordred@inaugust.com" target="_blank">mailto:mordred@inaugust.com</a>]<br>
Sent: Monday, April 11, 2016 11:31 AM<br>
To: Allison Randal <<a href="mailto:allison@lohutok.net" target="_blank">allison@lohutok.net</a>>; Davanum Srinivas<br>
<<a href="mailto:davanum@gmail.com" target="_blank">davanum@gmail.com</a>>;<span class="apple-converted-space"> </span><a href="mailto:foundation@lists.openstack.org" target="_blank">foundation@lists.openstack.org</a><br>
Cc: OpenStack Development Mailing List (not for usage questions)<br>
<<a href="mailto:openstack-dev@lists.openstack.org" target="_blank">openstack-dev@lists.openstack.org</a>><br>
Subject: Re: [openstack-dev] [OpenStack Foundation] [board][tc][all] One<br>
Platform – Containers/Bare Metal? (Re: Board of Directors Meeting)<br>
<br>
On 04/11/2016 09:43 AM, Allison Randal wrote:<br>
<br>
</span></p>
<blockquote style="margin-top:5.0pt; margin-bottom:5.0pt">
<p class="MsoNormal"><span style="font-size:9.0pt; font-family:"Helvetica","sans-serif"">On Wed, Apr 6, 2016 at 1:11 PM, Davanum Srinivas <<a href="mailto:davanum@gmail.com" target="_blank">davanum@gmail.com</a>></span></p>
</blockquote>
<p class="MsoNormal"><span style="font-size:9.0pt; font-family:"Helvetica","sans-serif"">wrote:<br>
<br>
</span></p>
<blockquote style="margin-top:5.0pt; margin-bottom:5.0pt">
<blockquote style="margin-top:5.0pt; margin-bottom:5.0pt">
<p class="MsoNormal"><span style="font-size:9.0pt; font-family:"Helvetica","sans-serif"">Reading unofficial notes [1], i found one topic very interesting:<br>
One Platform – How do we truly support containers and bare metal<br>
under a common API with VMs? (Ironic, Nova, adjacent communities e.g.<br>
Kubernetes, Apache Mesos etc)<br>
<br>
Anyone present at the meeting, please expand on those few notes on<br>
etherpad? And how if any this feedback is getting back to the<br>
projects?</span></p>
</blockquote>
</blockquote>
<p class="MsoNormal"><span style="font-size:9.0pt; font-family:"Helvetica","sans-serif""><br>
It was really two separate conversations that got conflated in the<br>
summary. One conversation was just being supportive of bare metal,<br>
VMs, and containers within the OpenStack umbrella. The other<br>
conversation started with Monty talking about his work on shade, and<br>
how it wouldn't exist if more APIs were focused on the way users<br>
consume the APIs, and less an expression of the implementation details</span></p>
<p class="MsoNormal"><span style="font-size:9.0pt; font-family:"Helvetica","sans-serif"">of each project.<br>
<br>
</span></p>
<p class="MsoNormal"><span style="font-size:9.0pt; font-family:"Helvetica","sans-serif"">OpenStackClient was mentioned as a unified CLI for OpenStack focused<br>
more on the way users consume the CLI. (OpenStackSDK wasn't mentioned,<br>
but falls in the same general category of work.)<br>
<br>
i.e. There wasn't anything new in the conversation, it was more a<br>
matter of the developers/TC members on the board sharing information<br>
about work that's already happening.</span></p>
<p class="MsoNormal"><span style="font-size:9.0pt; font-family:"Helvetica","sans-serif""><br>
I agree with that - but would like to clarify the 'bare metal, VMs and<br>
containers' part a bit. (an in fact, I was concerned in the meeting that<br>
the messaging around this would be confusing because we 'supporting bare<br>
metal' and 'supporting containers' mean two different things but we use<br>
one phrase to talk about it.<br>
<br>
It's abundantly clear at the strategic level that having OpenStack be able<br>
to provide both VMs and Bare Metal as two different sorts of resources<br>
(ostensibly but not prescriptively via nova) is one of our advantages. We<br>
wanted to underscore how important it is to be able to do that, and wanted<br>
to underscore that so that it's really clear how important it is any time<br>
the "but cloud should just be VMs" sentiment arises.<br>
<br>
The way we discussed "supporting containers" was quite different and was<br>
not about nova providing containers. Rather, it was about reaching out to<br>
our friends in other communities and working with them on making OpenStack<br>
the best place to run things like kubernetes or docker swarm.<br>
Those are systems that ultimately need to run, and it seems that good<br>
integration (like kuryr with libnetwork) can provide a really strong<br>
story. I think pretty much everyone agrees that there is not much value to<br>
us or the world for us to compete with kubernetes or docker.<br>
<br>
So, we do want to be supportive of bare metal and containers - but the<br>
specific _WAY_ we want to be supportive of those things is different for<br>
each one.<br>
<br>
Monty<br>
<br>
<br>
__________________________________________________________________________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe:<span class="apple-converted-space"> </span><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" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt; font-family:"Helvetica","sans-serif"">__________________________________________________________________________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe:<span class="apple-converted-space"> </span></span><a href="mailto:OpenStack-dev-request@lists.openstack.org" target="_blank"><span style="font-size:9.0pt; font-family:"Helvetica","sans-serif"">OpenStack-dev-request@lists.openstack.org</span></a><span style="font-size:9.0pt; font-family:"Helvetica","sans-serif"">?subject:unsubscribe<br>
</span><a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank"><span style="font-size:9.0pt; font-family:"Helvetica","sans-serif"">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</span></a></p>
</div>
</blockquote>
</div>
<p class="MsoNormal"> </p>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>