<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Title" content="">
<meta name="Keywords" content="">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Courier New";
panose-1:2 7 3 9 2 2 5 2 4 4;}
@font-face
{font-family:Wingdings;
panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:PMingLiU;
panose-1:2 2 5 0 0 0 0 0 0 0;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:Calibri;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
{mso-style-priority:34;
margin-top:0cm;
margin-right:0cm;
margin-bottom:0cm;
margin-left:36.0pt;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:Calibri;}
span.EmailStyle18
{mso-style-type:personal;
font-family:Calibri;
color:windowtext;}
span.EmailStyle19
{mso-style-type:personal;
font-family:Calibri;
color:#1F497D;}
span.EmailStyle20
{mso-style-type:personal-reply;
font-family:Calibri;
color:windowtext;}
span.msoIns
{mso-style-type:export-only;
mso-style-name:"";
text-decoration:underline;
color:teal;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
{page:WordSection1;}
/* List Definitions */
@list l0
{mso-list-id:1340237428;
mso-list-type:hybrid;
mso-list-template-ids:1856697406 67698689 67698691 67698693 67698689 67698691 67698693 67698689 67698691 67698693;}
@list l0:level1
{mso-level-number-format:bullet;
mso-level-text:;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;
font-family:Symbol;}
@list l0:level2
{mso-level-number-format:bullet;
mso-level-text:o;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;
font-family:"Courier New";}
@list l0:level3
{mso-level-number-format:bullet;
mso-level-text:;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;
font-family:Wingdings;}
@list l0:level4
{mso-level-number-format:bullet;
mso-level-text:;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;
font-family:Symbol;}
@list l0:level5
{mso-level-number-format:bullet;
mso-level-text:o;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;
font-family:"Courier New";}
@list l0:level6
{mso-level-number-format:bullet;
mso-level-text:;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;
font-family:Wingdings;}
@list l0:level7
{mso-level-number-format:bullet;
mso-level-text:;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;
font-family:Symbol;}
@list l0:level8
{mso-level-number-format:bullet;
mso-level-text:o;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;
font-family:"Courier New";}
@list l0:level9
{mso-level-number-format:bullet;
mso-level-text:;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;
font-family:Wingdings;}
ol
{margin-bottom:0cm;}
ul
{margin-bottom:0cm;}
--></style>
</head>
<body bgcolor="white" lang="EN-US" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt">Hongbin, <o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Thanks for the responses.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">A couple of follow up, clarifying questions ...<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoListParagraph" style="text-indent:-18.0pt;mso-list:l0 level1 lfo1"><![if !supportLists]><span style="font-size:11.0pt;font-family:Symbol"><span style="mso-list:Ignore">·<span style="font:7.0pt "Times New Roman"">
</span></span></span><![endif]><span style="font-size:11.0pt">You mentioned that <u>
currently</u> Zun supports the container-in-baremetal scenario<o:p></o:p></span></p>
<p class="MsoListParagraph" style="margin-left:72.0pt;text-indent:-18.0pt;mso-list:l0 level2 lfo1">
<![if !supportLists]><span style="font-size:11.0pt;font-family:"Courier New""><span style="mso-list:Ignore">o<span style="font:7.0pt "Times New Roman"">
</span></span></span><![endif]><span style="font-size:11.0pt">is this done by leveraging Ironic baremetal service ?<o:p></o:p></span></p>
<p class="MsoListParagraph" style="margin-left:108.0pt;text-indent:-18.0pt;mso-list:l0 level3 lfo1">
<![if !supportLists]><span style="font-size:11.0pt;font-family:Wingdings"><span style="mso-list:Ignore">§<span style="font:7.0pt "Times New Roman"">
</span></span></span><![endif]><span style="font-size:11.0pt">e.g. does Zun launch an Ironic baremetal instance (running docker) in order to host containers being launched by Zun ?<o:p></o:p></span></p>
<p class="MsoListParagraph" style="margin-left:72.0pt;text-indent:-18.0pt;mso-list:l0 level2 lfo1">
<![if !supportLists]><span style="font-size:11.0pt;font-family:"Courier New""><span style="mso-list:Ignore">o<span style="font:7.0pt "Times New Roman"">
</span></span></span><![endif]><span style="font-size:11.0pt">OR<o:p></o:p></span></p>
<p class="MsoListParagraph" style="margin-left:72.0pt;text-indent:-18.0pt;mso-list:l0 level2 lfo1">
<![if !supportLists]><span style="font-size:11.0pt;font-family:"Courier New""><span style="mso-list:Ignore">o<span style="font:7.0pt "Times New Roman"">
</span></span></span><![endif]><span style="font-size:11.0pt">do you must mean that, in this scenario, OpenStack Hosts are deployed&configured with docker software,<br>
and Zun expects docker to be running on each OpenStack Host, in order to launch its containers ?<br>
<br>
<br>
<o:p></o:p></span></p>
<p class="MsoListParagraph" style="text-indent:-18.0pt;mso-list:l0 level1 lfo1"><![if !supportLists]><span style="font-size:11.0pt;font-family:Symbol"><span style="mso-list:Ignore">·<span style="font:7.0pt "Times New Roman"">
</span></span></span><![endif]><span style="font-size:11.0pt">In the future, when Zun supports the container-in-coe scenario<o:p></o:p></span></p>
<p class="MsoListParagraph" style="margin-left:72.0pt;text-indent:-18.0pt;mso-list:l0 level2 lfo1">
<![if !supportLists]><span style="font-size:11.0pt;font-family:"Courier New""><span style="mso-list:Ignore">o<span style="font:7.0pt "Times New Roman"">
</span></span></span><![endif]><span style="font-size:11.0pt">is the idea that the COE (Kubernetes or Swarm) will abstract from Zun whether the COE’s minion nodes are OpenStack VMs or OpenStack Baremetal Instances (or OpenStack Hosts) ?<o:p></o:p></span></p>
<p class="MsoListParagraph" style="margin-left:72.0pt;text-indent:-18.0pt;mso-list:l0 level2 lfo1">
<![if !supportLists]><span style="font-size:11.0pt;font-family:"Courier New""><span style="mso-list:Ignore">o<span style="font:7.0pt "Times New Roman"">
</span></span></span><![endif]><span style="font-size:11.0pt">is the idea that Magnum will support launching COEs with VM minion nodes and/or Baremetal minion nodes ?<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Greg.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span style="color:black">From: </span></b><span style="color:black">Hongbin Lu <hongbin.lu@huawei.com><br>
<b>Reply-To: </b>"openstack-dev@lists.openstack.org" <openstack-dev@lists.openstack.org><br>
<b>Date: </b>Thursday, July 6, 2017 at 2:39 PM<br>
<b>To: </b>"openstack-dev@lists.openstack.org" <openstack-dev@lists.openstack.org><br>
<b>Subject: </b>Re: [openstack-dev] [zun] Some general ZUN use case / drivers type questions<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Times New Roman""><o:p> </o:p></span></p>
</div>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">Hi Greg,</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">Please find my replies inline.</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">Best regards,</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">Hongbin</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"> </span><o:p></o:p></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">From:</span></b><span style="font-size:10.0pt;font-family:Tahoma"> Waines, Greg [mailto:Greg.Waines@windriver.com]
<br>
<b>Sent:</b> July-06-17 11:49 AM<br>
<b>To:</b> openstack-dev@lists.openstack.org<br>
<b>Subject:</b> [openstack-dev] [zun] Some general ZUN use case / drivers type questions</span><o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Apologize I have some ‘newbie’ questions on zun.</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt">I have looked a bit at zun ... a few slide decks and a few summit presentation videos.</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt">I am somewhat familiar with old container orchestration attempts in openstack ... nova and heat.</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt">And somewhat familiar with Magnum for COEs on VMs.</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Question 1:</span><o:p></o:p></p>
<p class="MsoListParagraph" style="text-indent:-18.0pt"><span style="font-size:11.0pt;color:red">-</span><span style="font-size:7.0pt;font-family:"Times New Roman";color:red">
</span><span style="font-size:11.0pt;color:red">in long term, will ZUN manage containers hosted by OpenStack VMs or OpenStack Hosts or both ?</span><o:p></o:p></p>
<p class="MsoListParagraph" style="margin-left:72.0pt;text-indent:-18.0pt"><span style="font-size:11.0pt;font-family:"Courier New"">o</span><span style="font-size:7.0pt;font-family:"Times New Roman"">
</span><span style="font-size:11.0pt">I think the answer is both, and</span><o:p></o:p></p>
<p class="MsoListParagraph" style="margin-left:72.0pt;text-indent:-18.0pt"><span style="font-size:11.0pt;font-family:"Courier New"">o</span><span style="font-size:7.0pt;font-family:"Times New Roman"">
</span><span style="font-size:11.0pt">I think technically ZUN will manage the containers in OpenStack VM(s) or OpenStack Host(s), thru a COE</span><o:p></o:p></p>
<p class="MsoListParagraph" style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:12.0pt;margin-left:108.0pt;text-indent:-18.0pt">
<span style="font-size:11.0pt;font-family:Wingdings">§</span><span style="font-size:7.0pt;font-family:"Times New Roman"">
</span><span style="font-size:11.0pt">where the COE is kubernetes, swarm, mesos ... or, initially, some very simple default COE provided by ZUN itself.</span><o:p></o:p></p>
<p class="MsoListParagraph" style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:12.0pt;margin-left:0cm">
<b><i><span style="font-size:11.0pt;color:#1F497D">[Hongbin Lu] Yes. Zun aims to support containers in VMs, baremetal, or COEs in long term. A clarification is Zun doesn’t aim to become a COE, but it could be used together with Heat [1] to achieve some container
orchestration equivalent functionalities. </span></i></b><o:p></o:p></p>
<p class="MsoListParagraph" style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:12.0pt;margin-left:0cm">
<b><i><span style="font-size:11.0pt;color:#1F497D">[1] https://review.openstack.org/#/c/437810/</span></i></b><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Question 2: </span>
<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt;text-indent:-18.0pt"><span style="font-size:11.0pt;color:red">-</span><span style="font-size:7.0pt;font-family:"Times New Roman";color:red">
</span><span style="font-size:11.0pt;color:red">what is currently supported in MASTER ?</span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt;text-indent:-18.0pt"><span style="font-size:11.0pt;color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal"><b><i><span style="font-size:11.0pt;color:#1F497D">[Hongbin Lu] What currently supported is container-in-baremetal scenario. The next release might introduce container-in-vm. COE integration might be the long term pursue.</span></i></b><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Question 3: </span>
<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt;text-indent:-18.0pt"><span style="font-size:11.0pt">-</span><span style="font-size:7.0pt;font-family:"Times New Roman"">
</span><span style="font-size:11.0pt">in the scenario where ZUN is managing containers thru Kubernetes directly on OpenStack Host(s)</span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:72.0pt;text-indent:-18.0pt"><span style="font-size:11.0pt;font-family:"Courier New"">o</span><span style="font-size:7.0pt;font-family:"Times New Roman"">
</span><span style="font-size:11.0pt">I believe the intent is that,<br>
at the same time, and on the same OpenStack Host(s),<br>
NOVA is managing VMs on the OpenStack Host(s)</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:12.0pt;margin-left:72.0pt;text-indent:-18.0pt">
<span style="font-size:11.0pt;font-family:"Courier New";color:red">o</span><span style="font-size:7.0pt;font-family:"Times New Roman";color:red">
</span><span style="font-size:11.0pt;color:red">??? Has anyone started to look at the Resource Management / Arbitration of the OpenStack Host’s Resources,</span><span style="font-size:11.0pt;font-family:PMingLiU;color:red"><br>
</span><span style="font-size:11.0pt;color:red"> between ZUN and NOVA ???</span><o:p></o:p></p>
<p class="MsoNormal" style="margin-bottom:12.0pt"><b><i><span style="font-size:11.0pt;color:#1F497D">[Hongbin Lu] No, it hasn’t. We started with an assumption that Zun and Nova are managing disjoined set of resources (i.e. compute hosts) so there is not resource
contention. The ability to share compute resources across multiple OpenStack services for VMs and containers is cool and it might require discussions across multiple teams to build consensus of this pursue.</span></i></b><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Question 4: </span>
<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt;text-indent:-18.0pt"><span style="font-size:11.0pt">-</span><span style="font-size:7.0pt;font-family:"Times New Roman"">
</span><span style="font-size:11.0pt">again, in the scenario where ZUN is managing containers thru Kubernetes directly on OpenStack Host(s)</span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt;text-indent:-18.0pt"><span style="font-size:11.0pt;color:red">-</span><span style="font-size:7.0pt;font-family:"Times New Roman";color:red">
</span><span style="font-size:11.0pt;color:red">what are the Technical Pros / Cons of this approach, relative to using OpenStack VM(s) ?</span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:72.0pt;text-indent:-18.0pt"><span style="font-size:11.0pt;font-family:"Courier New"">o</span><span style="font-size:7.0pt;font-family:"Times New Roman"">
</span><span style="font-size:11.0pt">PROs</span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:108.0pt;text-indent:-18.0pt"><span style="font-size:11.0pt;font-family:Wingdings;color:red">§</span><span style="font-size:7.0pt;font-family:"Times New Roman";color:red">
</span><span style="font-size:11.0pt;color:red">??? does this really use less resources than the VM Scenario ???</span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:144.0pt;text-indent:-18.0pt"><span style="font-size:11.0pt;font-family:Symbol;color:red">·</span><span style="font-size:7.0pt;font-family:"Times New Roman";color:red">
</span><span style="font-size:11.0pt;color:red">is there an example you can walk me thru ?</span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:108.0pt;text-indent:-18.0pt"><span style="font-size:11.0pt;font-family:Wingdings">§</span><span style="font-size:7.0pt;font-family:"Times New Roman"">
</span><span style="font-size:11.0pt">I suppose that instead of pre-allocating resources to a fairly large VM for hosting containers,<br>
you would only use the resources for the containers that are actually launched, </span>
<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:72.0pt;text-indent:-18.0pt"><span style="font-size:11.0pt;font-family:"Courier New"">o</span><span style="font-size:7.0pt;font-family:"Times New Roman"">
</span><span style="font-size:11.0pt">CONs</span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:108.0pt;text-indent:-18.0pt"><span style="font-size:11.0pt;font-family:Wingdings">§</span><span style="font-size:7.0pt;font-family:"Times New Roman"">
</span><span style="font-size:11.0pt">for application containers, you are restricted by the OS running on the OpenStack Host,</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal"><b><i><span style="font-size:11.0pt;color:#1F497D">[Hongbin Lu] Yes, there are pros and cons of either approach, and Zun is not biased on either approach. Instead, Zun aims to support both if it is feasible.</span></i></b><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Greg.</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt">WIND RIVER </span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Titanium Cloud</span><o:p></o:p></p>
</div>
</div>
</body>
</html>