<html xmlns:v="urn:schemas-microsoft-com:vml" 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="Generator" content="Microsoft Word 12 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:Wingdings;
panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
{font-family:SimSun;
panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
{font-family:PMingLiU;
panose-1:2 2 5 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:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
{font-family:"\@PMingLiU";
panose-1:2 2 5 0 0 0 0 0 0 0;}
@font-face
{font-family:"\@SimSun";
panose-1:2 1 6 0 3 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Calibri","sans-serif";}
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.MsoAcetate, li.MsoAcetate, div.MsoAcetate
{mso-style-priority:99;
mso-style-link:"Balloon Text Char";
margin:0cm;
margin-bottom:.0001pt;
font-size:8.0pt;
font-family:"Tahoma","sans-serif";}
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","sans-serif";}
span.BalloonTextChar
{mso-style-name:"Balloon Text Char";
mso-style-priority:99;
mso-style-link:"Balloon Text";
font-family:"Tahoma","sans-serif";}
span.EmailStyle20
{mso-style-type:personal;
font-family:"Calibri","sans-serif";
color:windowtext;}
span.EmailStyle21
{mso-style-type:personal;
font-family:"Calibri","sans-serif";
color:#1F497D;}
span.EmailStyle22
{mso-style-type:personal;
font-family:"Calibri","sans-serif";
color:windowtext;}
span.EmailStyle23
{mso-style-type:personal;
font-family:"Calibri","sans-serif";
color:#1F497D;}
span.EmailStyle24
{mso-style-type:personal;
font-family:"Calibri","sans-serif";
color:windowtext;}
span.EmailStyle25
{mso-style-type:personal;
font-family:"Calibri","sans-serif";
color:#1F497D;}
span.EmailStyle26
{mso-style-type:personal;
font-family:"Calibri","sans-serif";
color:windowtext;}
span.EmailStyle27
{mso-style-type:personal;
font-family:"Calibri","sans-serif";
color:#1F497D;}
span.EmailStyle28
{mso-style-type:personal;
font-family:"Calibri","sans-serif";
color:windowtext;}
span.EmailStyle29
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
.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;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body bgcolor="white" lang="EN-CA" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">Greg,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">No, it isn’t. We are working hard to integrate with Cinder (either via Fuxi or direct integration). Perhaps this design spec can provide some information about where we are heading to:
<a href="https://review.openstack.org/#/c/468658/">https://review.openstack.org/#/c/468658/</a> .<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">Best regards,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">Hongbin<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"><o:p> </o:p></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 lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> Waines, Greg [mailto:Greg.Waines@windriver.com]
<br>
<b>Sent:</b> July-11-17 2:13 PM<br>
<b>To:</b> Hongbin Lu; OpenStack Development Mailing List (not for usage questions)<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"><o:p> </o:p></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt">Thanks Hongbin,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt">another quick question,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt">is ZUN integrated with FUXI for Container mounting of Cinder Volumes yet ?<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt">( my guess is no ... don’t see any options for that in the zun cli for create or run )<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt">Greg.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" 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 lang="EN-US" style="color:black">From: </span></b><span lang="EN-US" style="color:black">Hongbin Lu <<a href="mailto:hongbin.lu@huawei.com">hongbin.lu@huawei.com</a>><br>
<b>Date: </b>Tuesday, July 11, 2017 at 2:04 PM<br>
<b>To: </b>Greg Waines <<a href="mailto:Greg.Waines@windriver.com">Greg.Waines@windriver.com</a>>, "<a href="mailto:openstack-dev@lists.openstack.org">openstack-dev@lists.openstack.org</a>" <<a href="mailto:openstack-dev@lists.openstack.org">openstack-dev@lists.openstack.org</a>><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 lang="EN-US" style="font-family:"Times New Roman","serif""><o:p> </o:p></span></p>
</div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;color:#1F497D">Hi Greg,</span><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;color:#1F497D"> </span><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;color:#1F497D">There is no such API in Zun. I created a BP for this feature request:
<a href="https://blueprints.launchpad.net/zun/+spec/show-container-engine-info">https://blueprints.launchpad.net/zun/+spec/show-container-engine-info</a> . Hopefully, the implementation will be available at the next release or two.</span><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;color:#1F497D"> </span><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;color:#1F497D">Best regards,</span><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;color:#1F497D">Hongbin</span><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;color:#1F497D"> </span><span lang="EN-US"><o:p></o:p></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 lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> Waines, Greg [<a href="mailto:Greg.Waines@windriver.com">mailto:Greg.Waines@windriver.com</a>]
<br>
<b>Sent:</b> July-11-17 10:24 AM<br>
<b>To:</b> Hongbin Lu; OpenStack Development Mailing List (not for usage questions)<br>
<b>Subject:</b> Re: [openstack-dev] [zun] Some general ZUN use case / drivers type questions</span><span lang="EN-US"><o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><span lang="EN-US"> <o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt">Hey Hongbin,</span><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt"> </span><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt">is there a way to display ZUN’s resource usage ?</span><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt">i.e. analogous to nova’s “nova hypervisor-show <node>”</span><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt">e.g. memory usages, cpu usage, etc .</span><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt"> </span><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt">Greg.</span><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt"> </span><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt"> </span><span lang="EN-US"><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 lang="EN-US" style="color:black">From: </span></b><span lang="EN-US" style="color:black">Hongbin Lu <<a href="mailto:hongbin.lu@huawei.com">hongbin.lu@huawei.com</a>><br>
<b>Date: </b>Friday, July 7, 2017 at 2:08 PM<br>
<b>To: </b>Greg Waines <<a href="mailto:Greg.Waines@windriver.com">Greg.Waines@windriver.com</a>>, "<a href="mailto:openstack-dev@lists.openstack.org">openstack-dev@lists.openstack.org</a>" <<a href="mailto:openstack-dev@lists.openstack.org">openstack-dev@lists.openstack.org</a>><br>
<b>Subject: </b>RE: [openstack-dev] [zun] Some general ZUN use case / drivers type questions</span><span lang="EN-US"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Times New Roman","serif""> </span><span lang="EN-US"><o:p></o:p></span></p>
</div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;color:#1F497D">Hi Greg,</span><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;color:#1F497D"> </span><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;color:#1F497D">Zun currently leverages the “--memory", “--cpu-period”, and “--cpu-quota” options to limit the CPU and memory. Zun does do resource tracking and scheduling right now, but this is
temporary. The long-term plan is to switch to the Placement API [1] after it is spited out from Nova.
</span><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;color:#1F497D"> </span><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;color:#1F497D">[1]
<a href="https://docs.openstack.org/nova/latest/placement.html">https://docs.openstack.org/nova/latest/placement.html</a></span><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;color:#1F497D"> </span><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;color:#1F497D">Best regards,</span><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;color:#1F497D">Hongbin</span><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;color:#1F497D"> </span><span lang="EN-US"><o:p></o:p></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 lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> Waines, Greg [<a href="mailto:Greg.Waines@windriver.com">mailto:Greg.Waines@windriver.com</a>]
<br>
<b>Sent:</b> July-07-17 11:00 AM<br>
<b>To:</b> Hongbin Lu; OpenStack Development Mailing List (not for usage questions)<br>
<b>Subject:</b> Re: [openstack-dev] [zun] Some general ZUN use case / drivers type questions</span><span lang="EN-US"><o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><span lang="EN-US"> <o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt">Thanks Hongbin.</span><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt"> </span><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt">I’ve got zun setup in devstack now, so will play with it a bit to better understand.</span><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt"> </span><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span lang="EN-US" style="font-size:11.0pt">Although a couple more questions (sorry)</span><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoListParagraph" style="margin-bottom:12.0pt;text-indent:-18.0pt"><span lang="EN-US" style="font-size:11.0pt;font-family:Symbol">·</span><span lang="EN-US" style="font-size:7.0pt;font-family:"Times New Roman","serif"">
</span><span lang="EN-US" style="font-size:11.0pt">in the current zun implementation of containers directly on compute nodes,<br>
<span style="color:red">does zun leverage any of the docker capabilities to restrict the amount of resources used by a container ?</span><br>
e.g. the amount and which cpu cores the container’s processes are allowed to use,<br>
how much memory the container is allowed to access/use, etc. <br>
<br>
e.g. see <a href="https://docs.docker.com/engine/admin/resource_constraints/">https://docs.docker.com/engine/admin/resource_constraints/</a></span><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoListParagraph" style="text-indent:-18.0pt"><span lang="EN-US" style="font-size:11.0pt;font-family:Symbol">·</span><span lang="EN-US" style="font-size:7.0pt;font-family:"Times New Roman","serif"">
</span><span lang="EN-US" style="font-size:11.0pt">and then,<br>
I know you mentioned that the assumption is that there are separate availability zones for zun and nova.</span><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoListParagraph" style="margin-left:72.0pt;text-indent:-18.0pt"><span lang="EN-US" style="font-size:11.0pt;font-family:"Courier New";color:red">o</span><span lang="EN-US" style="font-size:7.0pt;font-family:"Times New Roman","serif";color:red">
</span><span lang="EN-US" style="font-size:11.0pt;color:red">but does zun do Resource Tracking and Scheduling based on that Resource Tracking for the nodes its using ?</span><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt"> </span><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt">Greg.</span><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt"> </span><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt"> </span><span lang="EN-US"><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 lang="EN-US" style="color:black">From: </span></b><span lang="EN-US" style="color:black">Hongbin Lu <<a href="mailto:hongbin.lu@huawei.com">hongbin.lu@huawei.com</a>><br>
<b>Date: </b>Friday, July 7, 2017 at 10:42 AM<br>
<b>To: </b>Greg Waines <<a href="mailto:Greg.Waines@windriver.com">Greg.Waines@windriver.com</a>>, "<a href="mailto:openstack-dev@lists.openstack.org">openstack-dev@lists.openstack.org</a>" <<a href="mailto:openstack-dev@lists.openstack.org">openstack-dev@lists.openstack.org</a>><br>
<b>Subject: </b>RE: [openstack-dev] [zun] Some general ZUN use case / drivers type questions</span><span lang="EN-US"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Times New Roman","serif""> </span><span lang="EN-US"><o:p></o:p></span></p>
</div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;color:#1F497D">Hi Greg,</span><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;color:#1F497D"> </span><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;color:#1F497D">Sorry for the confusion. I used the term “container-in-baremetal” to refer to a deployment pattern that containers are running on physical compute nodes (not an instance provided
by Nova/Ironic). I think your second interpretation is right if “OpenStack Hosts” means a compute node. I think a diagram [1] could explain the current deployment scenario better.</span><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;color:#1F497D"> </span><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;color:#1F497D">For the container-in-coe scenario, it is out of the current focus but the team is exploring ideas on it. I don’t have specific answers for the two questions you raised but I encourage
you to bring up your use cases to the team and keep the discussion open.</span><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;color:#1F497D"> </span><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;color:#1F497D">[1]
<a href="https://www.slideshare.net/hongbin034/clipboards/zun-deployment">https://www.slideshare.net/hongbin034/clipboards/zun-deployment</a></span><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;color:#1F497D"> </span><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;color:#1F497D">Best regards,</span><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;color:#1F497D">Hongbin</span><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;color:#1F497D"> </span><span lang="EN-US"><o:p></o:p></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 lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> Waines, Greg [<a href="mailto:Greg.Waines@windriver.com">mailto:Greg.Waines@windriver.com</a>]
<br>
<b>Sent:</b> July-07-17 7:05 AM<br>
<b>To:</b> OpenStack Development Mailing List (not for usage questions)<br>
<b>Cc:</b> Hongbin Lu<br>
<b>Subject:</b> Re: [openstack-dev] [zun] Some general ZUN use case / drivers type questions</span><span lang="EN-US"><o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><span lang="EN-US"> <o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt">Hongbin, </span>
<span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt">Thanks for the responses.</span><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt">A couple of follow up, clarifying questions ...</span><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt"> </span><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoListParagraph" style="text-indent:-18.0pt"><span lang="EN-US" style="font-size:11.0pt;font-family:Symbol">·</span><span lang="EN-US" style="font-size:7.0pt;font-family:"Times New Roman","serif"">
</span><span lang="EN-US" style="font-size:11.0pt">You mentioned that <u>currently</u> Zun supports the container-in-baremetal scenario</span><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoListParagraph" style="margin-left:72.0pt;text-indent:-18.0pt"><span lang="EN-US" style="font-size:11.0pt;font-family:"Courier New"">o</span><span lang="EN-US" style="font-size:7.0pt;font-family:"Times New Roman","serif"">
</span><span lang="EN-US" style="font-size:11.0pt">is this done by leveraging Ironic baremetal service ?</span><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoListParagraph" style="margin-left:108.0pt;text-indent:-18.0pt"><span lang="EN-US" style="font-size:11.0pt;font-family:Wingdings">§</span><span lang="EN-US" style="font-size:7.0pt;font-family:"Times New Roman","serif"">
</span><span lang="EN-US" 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 ?</span><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoListParagraph" style="margin-left:72.0pt;text-indent:-18.0pt"><span lang="EN-US" style="font-size:11.0pt;font-family:"Courier New"">o</span><span lang="EN-US" style="font-size:7.0pt;font-family:"Times New Roman","serif"">
</span><span lang="EN-US" style="font-size:11.0pt">OR</span><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoListParagraph" style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:12.0pt;margin-left:72.0pt;text-indent:-18.0pt">
<span lang="EN-US" style="font-size:11.0pt;font-family:"Courier New"">o</span><span lang="EN-US" style="font-size:7.0pt;font-family:"Times New Roman","serif"">
</span><span lang="EN-US" 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>
</span><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoListParagraph" style="text-indent:-18.0pt"><span lang="EN-US" style="font-size:11.0pt;font-family:Symbol">·</span><span lang="EN-US" style="font-size:7.0pt;font-family:"Times New Roman","serif"">
</span><span lang="EN-US" style="font-size:11.0pt">In the future, when Zun supports the container-in-coe scenario</span><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoListParagraph" style="margin-left:72.0pt;text-indent:-18.0pt"><span lang="EN-US" style="font-size:11.0pt;font-family:"Courier New"">o</span><span lang="EN-US" style="font-size:7.0pt;font-family:"Times New Roman","serif"">
</span><span lang="EN-US" 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) ?</span><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoListParagraph" style="margin-left:72.0pt;text-indent:-18.0pt"><span lang="EN-US" style="font-size:11.0pt;font-family:"Courier New"">o</span><span lang="EN-US" style="font-size:7.0pt;font-family:"Times New Roman","serif"">
</span><span lang="EN-US" style="font-size:11.0pt">is the idea that Magnum will support launching COEs with VM minion nodes and/or Baremetal minion nodes ?</span><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt"> </span><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt"> </span><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt">Greg.</span><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt"> </span><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt"> </span><span lang="EN-US"><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 lang="EN-US" style="color:black">From: </span></b><span lang="EN-US" style="color:black">Hongbin Lu <<a href="mailto:hongbin.lu@huawei.com">hongbin.lu@huawei.com</a>><br>
<b>Reply-To: </b>"<a href="mailto:openstack-dev@lists.openstack.org">openstack-dev@lists.openstack.org</a>" <<a href="mailto:openstack-dev@lists.openstack.org">openstack-dev@lists.openstack.org</a>><br>
<b>Date: </b>Thursday, July 6, 2017 at 2:39 PM<br>
<b>To: </b>"<a href="mailto:openstack-dev@lists.openstack.org">openstack-dev@lists.openstack.org</a>" <<a href="mailto:openstack-dev@lists.openstack.org">openstack-dev@lists.openstack.org</a>><br>
<b>Subject: </b>Re: [openstack-dev] [zun] Some general ZUN use case / drivers type questions</span><span lang="EN-US"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Times New Roman","serif""> </span><span lang="EN-US"><o:p></o:p></span></p>
</div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;color:#1F497D">Hi Greg,</span><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;color:#1F497D"> </span><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;color:#1F497D">Please find my replies inline.</span><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;color:#1F497D"> </span><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;color:#1F497D">Best regards,</span><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;color:#1F497D">Hongbin</span><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;color:#1F497D"> </span><span lang="EN-US"><o:p></o:p></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 lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> Waines, Greg [<a href="mailto:Greg.Waines@windriver.com">mailto:Greg.Waines@windriver.com</a>]
<br>
<b>Sent:</b> July-06-17 11:49 AM<br>
<b>To:</b> <a href="mailto:openstack-dev@lists.openstack.org">openstack-dev@lists.openstack.org</a><br>
<b>Subject:</b> [openstack-dev] [zun] Some general ZUN use case / drivers type questions</span><span lang="EN-US"><o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><span lang="EN-US"> <o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt">Apologize I have some ‘newbie’ questions on zun.</span><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt">I have looked a bit at zun ... a few slide decks and a few summit presentation videos.</span><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt">I am somewhat familiar with old container orchestration attempts in openstack ... nova and heat.</span><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt">And somewhat familiar with Magnum for COEs on VMs.</span><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt"> </span><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt"> </span><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt">Question 1:</span><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoListParagraph" style="text-indent:-18.0pt"><span lang="EN-US" style="font-size:11.0pt;color:red">-</span><span lang="EN-US" style="font-size:7.0pt;font-family:"Times New Roman","serif";color:red">
</span><span lang="EN-US" style="font-size:11.0pt;color:red">in long term, will ZUN manage containers hosted by OpenStack VMs or OpenStack Hosts or both ?</span><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoListParagraph" style="margin-left:72.0pt;text-indent:-18.0pt"><span lang="EN-US" style="font-size:11.0pt;font-family:"Courier New"">o</span><span lang="EN-US" style="font-size:7.0pt;font-family:"Times New Roman","serif"">
</span><span lang="EN-US" style="font-size:11.0pt">I think the answer is both, and</span><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoListParagraph" style="margin-left:72.0pt;text-indent:-18.0pt"><span lang="EN-US" style="font-size:11.0pt;font-family:"Courier New"">o</span><span lang="EN-US" style="font-size:7.0pt;font-family:"Times New Roman","serif"">
</span><span lang="EN-US" 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><span lang="EN-US"><o:p></o:p></span></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 lang="EN-US" style="font-size:11.0pt;font-family:Wingdings">§</span><span lang="EN-US" style="font-size:7.0pt;font-family:"Times New Roman","serif"">
</span><span lang="EN-US" style="font-size:11.0pt">where the COE is kubernetes, swarm, mesos ... or, initially, some very simple default COE provided by ZUN itself.</span><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoListParagraph" style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:12.0pt;margin-left:0cm">
<b><i><span lang="EN-US" 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><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoListParagraph" style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:12.0pt;margin-left:0cm">
<b><i><span lang="EN-US" style="font-size:11.0pt;color:#1F497D">[1] <a href="https://review.openstack.org/#/c/437810/">
https://review.openstack.org/#/c/437810/</a></span></i></b><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt">Question 2:
</span><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt;text-indent:-18.0pt"><span lang="EN-US" style="font-size:11.0pt;color:red">-</span><span lang="EN-US" style="font-size:7.0pt;font-family:"Times New Roman","serif";color:red">
</span><span lang="EN-US" style="font-size:11.0pt;color:red">what is currently supported in MASTER ?</span><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt;text-indent:-18.0pt"><span lang="EN-US" style="font-size:11.0pt;color:#1F497D"> </span><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal"><b><i><span lang="EN-US" 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><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt"> </span><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt"> </span><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt">Question 3:
</span><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt;text-indent:-18.0pt"><span lang="EN-US" style="font-size:11.0pt">-</span><span lang="EN-US" style="font-size:7.0pt;font-family:"Times New Roman","serif"">
</span><span lang="EN-US" style="font-size:11.0pt">in the scenario where ZUN is managing containers thru Kubernetes directly on OpenStack Host(s)</span><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:72.0pt;text-indent:-18.0pt"><span lang="EN-US" style="font-size:11.0pt;font-family:"Courier New"">o</span><span lang="EN-US" style="font-size:7.0pt;font-family:"Times New Roman","serif"">
</span><span lang="EN-US" 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><span lang="EN-US"><o:p></o:p></span></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 lang="EN-US" style="font-size:11.0pt;font-family:"Courier New";color:red">o</span><span lang="EN-US" style="font-size:7.0pt;font-family:"Times New Roman","serif";color:red">
</span><span lang="EN-US" 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 lang="EN-US" style="font-size:11.0pt;font-family:"PMingLiU","serif";color:red"><br>
</span><span lang="EN-US" style="font-size:11.0pt;color:red"> between ZUN and NOVA ???</span><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-bottom:12.0pt"><b><i><span lang="EN-US" 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><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt">Question 4:
</span><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt;text-indent:-18.0pt"><span lang="EN-US" style="font-size:11.0pt">-</span><span lang="EN-US" style="font-size:7.0pt;font-family:"Times New Roman","serif"">
</span><span lang="EN-US" style="font-size:11.0pt">again, in the scenario where ZUN is managing containers thru Kubernetes directly on OpenStack Host(s)</span><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt;text-indent:-18.0pt"><span lang="EN-US" style="font-size:11.0pt;color:red">-</span><span lang="EN-US" style="font-size:7.0pt;font-family:"Times New Roman","serif";color:red">
</span><span lang="EN-US" style="font-size:11.0pt;color:red">what are the Technical Pros / Cons of this approach, relative to using OpenStack VM(s) ?</span><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:72.0pt;text-indent:-18.0pt"><span lang="EN-US" style="font-size:11.0pt;font-family:"Courier New"">o</span><span lang="EN-US" style="font-size:7.0pt;font-family:"Times New Roman","serif"">
</span><span lang="EN-US" style="font-size:11.0pt">PROs</span><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:108.0pt;text-indent:-18.0pt"><span lang="EN-US" style="font-size:11.0pt;font-family:Wingdings;color:red">§</span><span lang="EN-US" style="font-size:7.0pt;font-family:"Times New Roman","serif";color:red">
</span><span lang="EN-US" style="font-size:11.0pt;color:red">??? does this really use less resources than the VM Scenario ???</span><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:144.0pt;text-indent:-18.0pt"><span lang="EN-US" style="font-size:11.0pt;font-family:Symbol;color:red">·</span><span lang="EN-US" style="font-size:7.0pt;font-family:"Times New Roman","serif";color:red">
</span><span lang="EN-US" style="font-size:11.0pt;color:red">is there an example you can walk me thru ?</span><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:108.0pt;text-indent:-18.0pt"><span lang="EN-US" style="font-size:11.0pt;font-family:Wingdings">§</span><span lang="EN-US" style="font-size:7.0pt;font-family:"Times New Roman","serif"">
</span><span lang="EN-US" 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>
<span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:72.0pt;text-indent:-18.0pt"><span lang="EN-US" style="font-size:11.0pt;font-family:"Courier New"">o</span><span lang="EN-US" style="font-size:7.0pt;font-family:"Times New Roman","serif"">
</span><span lang="EN-US" style="font-size:11.0pt">CONs</span><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:108.0pt;text-indent:-18.0pt"><span lang="EN-US" style="font-size:11.0pt;font-family:Wingdings">§</span><span lang="EN-US" style="font-size:7.0pt;font-family:"Times New Roman","serif"">
</span><span lang="EN-US" style="font-size:11.0pt">for application containers, you are restricted by the OS running on the OpenStack Host,</span><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;color:#1F497D"> </span><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal"><b><i><span lang="EN-US" 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><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt"> </span><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt"> </span><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt">Greg.</span><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt">WIND RIVER </span>
<span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt">Titanium Cloud</span><span lang="EN-US"><o:p></o:p></span></p>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>