<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<style>
<!--
@font-face
{font-family:Wingdings}
@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:11.0pt;
font-family:"Calibri","sans-serif"}
a:link, span.MsoHyperlink
{color:#0563C1;
text-decoration:underline}
a:visited, span.MsoHyperlinkFollowed
{color:#954F72;
text-decoration:underline}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
{margin-top:0cm;
margin-right:0cm;
margin-bottom:0cm;
margin-left:36.0pt;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif"}
span.EmailStyle18
{font-family:"Calibri","sans-serif";
color:windowtext}
span.EmailStyle19
{font-family:"Calibri","sans-serif";
color:#1F497D}
.MsoChpDefault
{font-size:10.0pt}
@page WordSection1
{margin:72.0pt 90.0pt 72.0pt 90.0pt}
ol
{margin-bottom:0cm}
ul
{margin-bottom:0cm}
-->
</style><style id="owaParaStyle" type="text/css">P {margin-top:0;margin-bottom:0;}</style>
</head>
<body ocsi="0" fpstyle="1" lang="EN-CA" link="#0563C1" vlink="#954F72">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">I'll go ahead and be the guy to ask for N flavors. :)<br>
<br>
AZ zones are kind of restrictive in what they can do, so we usually use flavors, which are much more flexable.<br>
<br>
I can totally see a project with 3 different types of flavors and want them all in the same k8s cluster managed by labels.<br>
<br>
Thanks,<br>
Kevin<br>
<br>
<div style="font-family: Times New Roman; color: #000000; font-size: 16px">
<hr tabindex="-1">
<div style="direction: ltr;" id="divRpF936671"><font color="#000000" face="Tahoma" size="2"><b>From:</b> Hongbin Lu [hongbin.lu@huawei.com]<br>
<b>Sent:</b> Wednesday, April 20, 2016 11:13 AM<br>
<b>To:</b> OpenStack Development Mailing List (not for usage questions)<br>
<b>Subject:</b> Re: [openstack-dev] [Magnum] Magnum supports 2 Nova flavor to provision minion nodes<br>
</font><br>
</div>
<div></div>
<div>
<div class="WordSection1">
<p class="MsoNormal"><span style="color:#1F497D"> </span></p>
<p class="MsoNormal"><span style="color:#1F497D"> </span></p>
<div>
<div style="border:none; border-top:solid #B5C4DF 1.0pt; padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal" style="margin-left:36.0pt"><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"> Duan, Li-Gong (Gary, HPServers-Core-OE-PSC)
[mailto:li-gong.duan@hpe.com] <br>
<b>Sent:</b> April-20-16 3:39 AM<br>
<b>To:</b> OpenStack Development Mailing List (not for usage questions)<br>
<b>Subject:</b> [openstack-dev] [Magnum] Magnum supports 2 Nova flavor to provision minion nodes</span></p>
</div>
</div>
<p class="MsoNormal" style="margin-left:36.0pt"> </p>
<p class="MsoNormal" style="margin-left:36.0pt"><span lang="EN-US">Hi Folks,</span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span lang="EN-US"> </span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span lang="EN-US">We are considering whether Magnum can supports 2 Nova flavors to provision Kubernetes and other COE minion nodes.</span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span lang="EN-US">This requirement comes from the below use cases:</span></p>
<p class="MsoListParagraph" style="margin-left:72.0pt; text-indent:-18.0pt"><span lang="EN-US">-</span><span style="font-size:7.0pt; font-family:"Times New Roman","serif"" lang="EN-US">
</span><span lang="EN-US">There are 2 kind of baremetal machines in customer site: one is legacy machines which doesn’t support UEFI secure boot and others are new machines which support UEFI secure boot. User want to use Magnum to provisions a Magnum bay of
Kubernetes from these 2 kind of baremetal machines and for the machines supporting secure boot, user wants to use UEFI secure boot to boot them up. And 2 Kubernetes label(secure-booted and non-secure-booted) are created and User can deploy their data-senstive/cirtical
workload/containers/pods on the baremetal machines which are secure-booted.</span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span lang="EN-US"> </span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span lang="EN-US">This requirement requires Magnum to supports 2 Nova flavors(one is “extra_spec: secure_boot=True” and the other doesn’t specify it) based on the Ironic feature(<a href="https://specs.openstack.org/openstack/ironic-specs/specs/kilo-implemented/uefi-secure-boot.html" target="_blank">https://specs.openstack.org/openstack/ironic-specs/specs/kilo-implemented/uefi-secure-boot.html</a>
).</span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span lang="EN-US"> </span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span lang="EN-US">Could you kindly give me some comments on these requirement or whether it is reasonable from your point? If you agree, we can write design spec and implement this feature?</span></p>
<p class="MsoNormal"><span style="color:#1F497D" lang="EN-US"> </span></p>
<p class="MsoNormal"><span style="color:#1F497D" lang="EN-US">I think the requirement is reasonable, but I would like to solve the problem in a generic way. In particular, there could be another user who might ask for N nova flavors to provision COE nodes in
the future. A challenge to support N groups of Nova instances is how to express arbitrary number of resource groups (with different flavors) in a Heat template (Magnum uses Heat template to provision COE clusters). Heat doesn’t seem to support the logic of
looping from 1 to N. There could be other challenges/complexities along the way. If the proposed design can address all the challenges and the implementation is clean, I am OK to add support for this feature. Thoughts from others?</span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span lang="EN-US"> </span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span lang="EN-US">Regards,</span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span lang="EN-US">Gary</span></p>
</div>
</div>
</div>
</div>
</body>
</html>