<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=iso-2022-jp">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:SimSun;
panose-1:2 1 6 0 3 1 1 1 1 1;}
@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:"\@SimSun";
panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
{font-family:"Microsoft YaHei";
panose-1:2 11 5 3 2 2 4 2 2 4;}
@font-face
{font-family:"\@Microsoft YaHei";
panose-1:2 11 5 3 2 2 4 2 2 4;}
@font-face
{font-family:"MS PGothic";
panose-1:2 11 6 0 7 2 5 8 2 4;}
@font-face
{font-family:"\@MS PGothic";
panose-1:2 11 6 0 7 2 5 8 2 4;}
@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:11.0pt;
font-family:"Calibri",sans-serif;
mso-fareast-language:JA;}
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;}
span.EmailStyle17
{mso-style-type:personal;
font-family:"Calibri",sans-serif;
color:windowtext;}
span.EmailStyle18
{mso-style-type:personal;
font-family:"Calibri",sans-serif;
color:#1F497D;}
span.EmailStyle19
{mso-style-type:personal;
font-family:"Calibri",sans-serif;
color:#1F497D;}
span.EmailStyle20
{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 lang="EN-US" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal"><span style="color:#1F497D">Hi Bruce and all,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Below is some update for openstack-placement containerized task.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">The placement API works now. I have tested application apply and VM creation. Both are pass!<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Besides that, I will do some basic test on multi-node as well.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">I’d like to seek support from nova experts about how to test nova-placement in depth.
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">If possible, can we involve test team to help do sanity test before getting these patches merged</span><span style="font-family:SimSun;color:#1F497D;mso-fareast-language:ZH-CN">.</span><span style="color:#1F497D"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">4 below patches submitted for review (662229 is openstack-helm upstream patch)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">1) Add stx-placement docker image directives files<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><a href="https://review.opendev.org/#/c/661679/">https://review.opendev.org/#/c/661679/</a><o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">2) WIP: add placement chart ( submitted to openstack-helm project)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><a href="https://review.opendev.org/#/c/662229/">https://review.opendev.org/#/c/662229/</a><o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">3) Add placement chart patch to openstack-helm<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><a href="https://review.opendev.org/#/c/662371/">https://review.opendev.org/#/c/662371/</a><o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">4) Add placement chart to armada system<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><a href="https://review.opendev.org/#/c/662614/">https://review.opendev.org/#/c/662614/</a><o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Your comments are appreciated!<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Thanks!<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Zhipeng<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D;mso-fareast-language:ZH-CN"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D;mso-fareast-language:ZH-CN"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><a name="_____replyseparator"></a><b>From:</b> Liu, ZhipengS
<br>
<b>Sent:</b> 2019<span lang="JA" style="font-family:"MS PGothic",sans-serif">年</span>5<span lang="JA" style="font-family:"MS PGothic",sans-serif">月</span>31<span lang="JA" style="font-family:"MS PGothic",sans-serif">日</span> 8:55<br>
<b>To:</b> 'Kopec, Gerald (Gerry)' <Gerry.Kopec@windriver.com><br>
<b>Cc:</b> starlingx-discuss@lists.starlingx.io<br>
<b>Subject:</b> RE: [Starlingx-discuss] About task of integrating containerized Nova Placement into StarlingX<o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span style="color:#1F497D">Hi Gerry,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Thanks for your great comments!<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">For step 2, I already submitted SB and a patch to openstack-helm project<o:p></o:p></span></p>
<p class="MsoNormal"><a href="https://review.opendev.org/#/c/662229/">https://review.opendev.org/#/c/662229/</a><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D">Meanwhile, I will add these charts as a patch to openstack-helm.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">For step 3, I will submit 1 patch of adding placement chart to armada system</span><span style="font-size:12.0pt;font-family:"Courier New";color:black"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">For step 4, I will submit 1 patch to openstack-helm to change nova chart to turn off the placement of nova.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Thanks!<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Zhipeng<o:p></o:p></span></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b>From:</b> Kopec, Gerald (Gerry) [<a href="mailto:Gerry.Kopec@windriver.com">mailto:Gerry.Kopec@windriver.com</a>]
<br>
<b>Sent:</b> 2019<span lang="ZH-CN" style="font-family:"Microsoft YaHei",sans-serif;mso-fareast-language:ZH-CN">年</span>5<span lang="ZH-CN" style="font-family:"Microsoft YaHei",sans-serif;mso-fareast-language:ZH-CN">月</span>31<span lang="ZH-CN" style="font-family:"Microsoft YaHei",sans-serif;mso-fareast-language:ZH-CN">日</span>
6:41<br>
<b>To:</b> Liu, ZhipengS <<a href="mailto:zhipengs.liu@intel.com">zhipengs.liu@intel.com</a>><br>
<b>Cc:</b> <a href="mailto:starlingx-discuss@lists.starlingx.io">starlingx-discuss@lists.starlingx.io</a><br>
<b>Subject:</b> RE: [Starlingx-discuss] About task of integrating containerized Nova Placement into StarlingX<o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span style="color:#1F497D">Hi Zhipeng,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Some initial thoughts below…<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Gerry<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<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">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma",sans-serif"> Liu, ZhipengS [<a href="mailto:zhipengs.liu@intel.com">mailto:zhipengs.liu@intel.com</a>]
<br>
<b>Sent:</b> Tuesday, May 28, 2019 10:07 AM<br>
<b>To:</b> Kopec, Gerald (Gerry)<br>
<b>Cc:</b> <a href="mailto:starlingx-discuss@lists.starlingx.io">starlingx-discuss@lists.starlingx.io</a><br>
<b>Subject:</b> [Starlingx-discuss] About task of integrating containerized Nova Placement into StarlingX<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Hi Gerry,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I'm working on the task of integrating containerized Nova Placement into StarlingX<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><a href="https://storyboard.openstack.org/#!/story/2005750">https://storyboard.openstack.org/#!/story/2005750</a><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I really need your guide for the task. <o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I already had high level understanding for the task.<o:p></o:p></p>
<p class="MsoNormal">It should include below steps:<o:p></o:p></p>
<p class="MsoNormal">1) Create new container image for Placement
<o:p></o:p></p>
<p class="MsoNormal"><a href="https://review.opendev.org/#/c/661679">https://review.opendev.org/#/c/661679</a> Done
<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">2) Add Helm Chart related yaml configuration for Placement(need time for detail digest)<o:p></o:p></p>
<p class="MsoNormal">Need to move related configuration out of Nova, and add some new configurations
<o:p></o:p></p>
<p class="MsoNormal">Now, I'm Working on the patch of adding chart for placement<o:p></o:p></p>
<p class="MsoNormal">Created below folder<o:p></o:p></p>
<p class="MsoNormal">stx-config/kubernetes/applications/stx-openstack/stx-openstack-helm/stx-openstack-helm/openstack-placement<o:p></o:p></p>
<p class="MsoNormal">Then I will create related chart yaml files. I mainly refer to the ones in openstack-helm/nova/<o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D">[GK] Don’t think this should go in starlingx. Should be with openstack-helm. Looks like you’ve got that started with
<a href="https://review.opendev.org/#/c/662229/">https://review.opendev.org/#/c/662229/</a>. It would be based on what is in openstack-helm/nova related to placement.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">For initial deployment within starlingx, you’ll probably have to add a patch with your changes to:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">stx-upstream/openstack/openstack-helm/files/<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal">3) Start placement container in controller and make sure placement service started successfully.<o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D">[GK] You’ll need to add placement to the armada manifest so it will get started on stx-openstack application-apply. I would assume it would go with the compute-kit. See:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">stx-config/kubernetes/applications/stx-openstack/stx-openstack-helm/stx-openstack-helm/manifests/manifest.yaml<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Also you’ll need to setup up dynamic overrides for placement in sysinv/helm, see nova example:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">stx-config/sysinv/sysinv/sysinv/sysinv/helm/nova.py<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Placement needs to be included in sysinv generated helm override yaml files and provided as input to armada on application-apply.<o:p></o:p></span></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal">4) Do related modification for current Nova yaml file. <o:p>
</o:p></p>
<p class="MsoNormal"> One patch for modifying chart for nova.
<o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D">[GK] I’m hoping it’s possible to turn off the placement capability in openstack-helm/nova via overrides, but maybe a openstack-helm nova chart change will be required.<o:p></o:p></span></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal">5) Integrate to starlingx and start separate container. Debug and Sanity test.
<o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D">[GK] You’ll also need to include the placement helm chart in the build helm chart tarball.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal">It should be OK to finish related patches in next 3 weeks.<o:p></o:p></p>
<p class="MsoNormal">But for code review/merge, it may have some risk.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Your comments are appreciated!<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Thanks!<o:p></o:p></p>
<p class="MsoNormal">Zhipeng<o:p></o:p></p>
</div>
</body>
</html>