<div dir="ltr"><div dir="ltr">Hi,<br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Nov 10, 2022 at 6:42 PM Khalil, Ghada <<a href="mailto:Ghada.Khalil@windriver.com">Ghada.Khalil@windriver.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class="msg-19852500103835261">





<div style="overflow-wrap: break-word;" lang="EN-US">
<div class="m_-19852500103835261WordSection1">
<p class="MsoNormal">Hello,<u></u><u></u></p>
<p class="MsoNormal">Regarding the question below:<u></u><u></u></p>
<p class="MsoNormal">       Is there way I can enable application-isolation across all the worker nodes including new nodes to be added in future?<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Application-isolated CPUs are configured on a per-host basis. When new nodes are added, they will need to be explicitly configured.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Is there a specific use-case that you have where it would be beneficial for new nodes to automatically inherit the config of an existing node? There was an old capability where host profiles could be created and applied to new nodes. But
 this proved problematic as exact hardware matches were not guaranteed. As a result, this capability was abandoned a long time ago.</p></div></div></div></blockquote><div><br></div><div><br></div><div><div><div>I was looking for easy method for re-using configuration of for group of nodes and make sure no human errors.</div><div>Lets say, all nodes in bladcenter A get specific config. <br></div><div>Right now we have less than 20 workers in a test bed but when it scale to hundreds there is a high chance we might miss one node.</div><br><div><br></div></div></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class="msg-19852500103835261"><div style="overflow-wrap: break-word;" lang="EN-US"><div class="m_-19852500103835261WordSection1"><p class="MsoNormal"><u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Regards,<u></u><u></u></p>
<p class="MsoNormal">Ghada<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<div style="border-color:rgb(225,225,225) currentcolor currentcolor;border-style:solid none none;border-width:1pt medium medium;padding:3pt 0in 0in">
<p class="MsoNormal"><b>From:</b> open infra <<a href="mailto:openinfradn@gmail.com" target="_blank">openinfradn@gmail.com</a>> <br>
<b>Sent:</b> Wednesday, September 28, 2022 3:32 AM<br>
<b>To:</b> Brito, Thiago <<a href="mailto:Thiago.Brito@windriver.com" target="_blank">Thiago.Brito@windriver.com</a>><br>
<b>Cc:</b> <a href="mailto:starlingx-discuss@lists.starlingx.io" target="_blank">starlingx-discuss@lists.starlingx.io</a><br>
<b>Subject:</b> Re: [Starlingx-discuss] How to enable cpu_dedicated_set<u></u><u></u></p>
</div>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
<div style="border:1pt solid rgb(156,101,0);padding:2pt">
<p class="MsoNormal" style="line-height:12pt;background:rgb(255,235,156) none repeat scroll 0% 0%">
<span style="font-size:10pt;color:red">[Please note: This e-mail is from an EXTERNAL e-mail address]</span><u></u><u></u></p>
</div>
<div>
<div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<div>
<p class="MsoNormal">On Wed, Dec 8, 2021 at 3:16 AM Brito, Thiago <<a href="mailto:Thiago.Brito@windriver.com" target="_blank">Thiago.Brito@windriver.com</a>> wrote:<u></u><u></u></p>
</div>
<blockquote style="border-color:currentcolor currentcolor currentcolor rgb(204,204,204);border-style:none none none solid;border-width:medium medium medium 1pt;padding:0in 0in 0in 6pt;margin-left:4.8pt;margin-right:0in">
<div>
<div>
<div>
<p class="MsoNormal"><span style="font-size:12pt;color:black">Did you do an application-apply after you changed the processors to application-isolated? Can you send the output of the command below for you compute pods:<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12pt;color:black"><u></u> <u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12pt;color:black">kubectl exec -n openstack nova-compute-[woker|controller]-X-XXXXX-xxxx -- cat /etc/nova/nova.conf|grep dedicated_set<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12pt;color:black"><u></u> <u></u></span></p>
</div>
</div>
</div>
</blockquote>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">Is there way I can enable application-isolation across all the worker nodes including new nodes to be added in future?<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<blockquote style="border-color:currentcolor currentcolor currentcolor rgb(204,204,204);border-style:none none none solid;border-width:medium medium medium 1pt;padding:0in 0in 0in 6pt;margin-left:4.8pt;margin-right:0in">
<div>
<div>
<div>
<p class="MsoNormal"><span style="font-size:12pt;color:black">Don't forget to change the id of the pod for your compute pods.<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12pt;color:black"><u></u> <u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12pt;color:black">Thiago<u></u><u></u></span></p>
</div>
<div class="MsoNormal" style="text-align:center" align="center">
<hr width="98%" size="2" align="center">
</div>
<div id="m_-19852500103835261m_2912053216945076769divRplyFwdMsg">
<p class="MsoNormal"><b><span style="color:black">From:</span></b><span style="color:black"> open infra <<a href="mailto:openinfradn@gmail.com" target="_blank">openinfradn@gmail.com</a>><br>
<b>Sent:</b> Tuesday, December 7, 2021 5:45 AM<br>
<b>To:</b> Brito, Thiago <<a href="mailto:Thiago.Brito@windriver.com" target="_blank">Thiago.Brito@windriver.com</a>><br>
<b>Cc:</b> <a href="mailto:starlingx-discuss@lists.starlingx.io" target="_blank">
starlingx-discuss@lists.starlingx.io</a> <<a href="mailto:starlingx-discuss@lists.starlingx.io" target="_blank">starlingx-discuss@lists.starlingx.io</a>><br>
<b>Subject:</b> Re: [Starlingx-discuss] How to enable cpu_dedicated_set</span> <u></u>
<u></u></p>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
</div>
<div>
<div style="border:1pt solid rgb(156,101,0);padding:2pt">
<p style="line-height:12pt;background:rgb(255,235,156) none repeat scroll 0% 0%">
<span style="font-size:10pt;color:red">[Please note: This e-mail is from an EXTERNAL e-mail address]</span><u></u><u></u></p>
</div>
<div>
<div>
<p class="MsoNormal">Here is the info from STX side <u></u><u></u></p>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal" style="text-align:right" align="right"><b><span style="font-size:10pt;font-family:"Helvetica Neue",serif;color:rgb(102,102,102)">Processors <u></u><u></u></span></b></p>
<p class="MsoNormal" style="margin-left:0.5in"><span style="font-size:10pt;font-family:"Helvetica Neue",serif;color:rgb(102,102,102)">2<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:276pt;text-align:right" align="right"><b><span style="font-size:10pt;font-family:"Helvetica Neue",serif;color:rgb(102,102,102)">Physical Cores Per Processor <u></u><u></u></span></b></p>
<p class="MsoNormal" style="margin-left:0.5in"><span style="font-size:10pt;font-family:"Helvetica Neue",serif;color:rgb(102,102,102)">32<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:552pt;text-align:right" align="right"><b><span style="font-size:10pt;font-family:"Helvetica Neue",serif;color:rgb(102,102,102)">Hyper-Threading <u></u><u></u></span></b></p>
<p class="MsoNormal" style="margin-left:0.5in"><span style="font-size:10pt;font-family:"Helvetica Neue",serif;color:rgb(102,102,102)">Yes<u></u><u></u></span></p>
<div id="m_-19852500103835261m_2912053216945076769x_gmail-cpufunctions">
<div>
<table style="width:15in;margin-left:11.5in;border-collapse:collapse" width="1440" cellspacing="0" cellpadding="0" border="0">
<thead>
<tr>
<td colspan="2" style="padding:6pt">
<p class="MsoNormal" style="margin-bottom:13.5pt"><span style="font-size:17.5pt;color:rgb(187,187,187)">CPU Assignments</span><span style="color:rgb(187,187,187)">
<u></u><u></u></span></p>
<div>
<p class="MsoNormal"><span style="color:rgb(187,187,187)"><a href="https://urldefense.com/v3/__http:/37.50.100.18:8080/admin/8/addcpuprofile/__;!!AjveYdw8EvQ!Km5xOEiy_wI3YAmney4OpHhqwjOOCiNhB37qanNSizdNpERIM_eDDRfwAzNuQoVun-HI$" title="Create Cpu Profile" target="_blank"><span style="color:rgb(51,51,51);border:1pt solid rgb(204,204,204);padding:5pt">Create
 Cpu Profile</span></a><u></u><u></u></span></p>
</div>
</td>
</tr>
<tr>
<td style="border-color:currentcolor currentcolor rgb(221,221,221);border-style:none none solid;border-width:medium medium 1.5pt;padding:6pt">
<div>
<p class="MsoNormal"><b>Function<u></u><u></u></b></p>
</div>
</td>
<td style="border-color:currentcolor currentcolor rgb(221,221,221);border-style:none none solid;border-width:medium medium 1.5pt;padding:6pt">
<div>
<p class="MsoNormal"><b>Processor Logical Cores<u></u><u></u></b></p>
</div>
</td>
</tr>
</thead>
<tbody>
<tr style="box-sizing:border-box" id="m_-19852500103835261m_2912053216945076769x_gmail-cpufunctions__row__Platform">
<td style="border:medium none;background:rgb(249,249,249) none repeat scroll 0% 0% padding-box;padding:6pt;box-sizing:border-box">
<p class="MsoNormal"><span style="color:black">Platform</span><u></u><u></u></p>
</td>
<td style="border:medium none;background:rgb(249,249,249) none repeat scroll 0% 0% padding-box;padding:6pt;box-sizing:border-box">
<p class="MsoNormal"><b><span style="color:black">Processor 0 : </span></b><span style="color:black">0,64  </span><u></u><u></u></p>
</td>
</tr>
<tr style="box-sizing:border-box" id="m_-19852500103835261m_2912053216945076769x_gmail-cpufunctions__row__Vswitch">
<td style="border-color:rgb(221,221,221) currentcolor currentcolor;border-style:solid none none;border-width:1pt medium medium;padding:6pt;box-sizing:border-box;background-clip:padding-box">
<p class="MsoNormal">vSwitch<u></u><u></u></p>
</td>
<td style="border-color:rgb(221,221,221) currentcolor currentcolor;border-style:solid none none;border-width:1pt medium medium;padding:6pt;box-sizing:border-box;background-clip:padding-box">
</td>
</tr>
<tr style="box-sizing:border-box" id="m_-19852500103835261m_2912053216945076769x_gmail-cpufunctions__row__Shared">
<td style="border-color:rgb(221,221,221) currentcolor currentcolor;border-style:solid none none;border-width:1pt medium medium;background:rgb(249,249,249) none repeat scroll 0% 0% padding-box;padding:6pt;box-sizing:border-box">
<p class="MsoNormal"><span style="color:black">Shared</span><u></u><u></u></p>
</td>
<td style="border-color:rgb(221,221,221) currentcolor currentcolor;border-style:solid none none;border-width:1pt medium medium;background:rgb(249,249,249) none repeat scroll 0% 0% padding-box;padding:6pt;box-sizing:border-box">
</td>
</tr>
<tr style="box-sizing:border-box" id="m_-19852500103835261m_2912053216945076769x_gmail-cpufunctions__row__Application">
<td style="border-color:rgb(221,221,221) currentcolor currentcolor;border-style:solid none none;border-width:1pt medium medium;padding:6pt;box-sizing:border-box;background-clip:padding-box">
<p class="MsoNormal">Application<u></u><u></u></p>
</td>
<td style="border-color:rgb(221,221,221) currentcolor currentcolor;border-style:solid none none;border-width:1pt medium medium;padding:6pt;box-sizing:border-box;background-clip:padding-box">
<p class="MsoNormal"><b>Processor 0 : </b>17-31,81-95  <br>
<b>Processor 1 : </b>56-63,120-127  <u></u><u></u></p>
</td>
</tr>
<tr style="box-sizing:border-box" id="m_-19852500103835261m_2912053216945076769x_gmail-cpufunctions__row__Application-isolated">
<td style="border-color:rgb(221,221,221) currentcolor currentcolor;border-style:solid none none;border-width:1pt medium medium;background:rgb(249,249,249) none repeat scroll 0% 0% padding-box;padding:6pt;box-sizing:border-box">
<p class="MsoNormal"><span style="color:black">Application-isolated</span><u></u><u></u></p>
</td>
<td style="border-color:rgb(221,221,221) currentcolor currentcolor;border-style:solid none none;border-width:1pt medium medium;background:rgb(249,249,249) none repeat scroll 0% 0% padding-box;padding:6pt;box-sizing:border-box">
<p class="MsoNormal"><b><span style="color:black">Processor 0 : </span></b><span style="color:black">1-16,65-80  <br>
<b>Processor 1 : </b>32-55,96-119 </span><u></u><u></u></p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>
<p class="MsoNormal" style="margin-left:11.5in"><u></u> <u></u></p>
<div>
<div>
<p class="MsoNormal" style="margin-left:11.5in">On Tue, Dec 7, 2021 at 1:46 PM open infra <<a href="mailto:openinfradn@gmail.com" target="_blank">openinfradn@gmail.com</a>> wrote:<u></u><u></u></p>
</div>
<blockquote style="border-color:currentcolor currentcolor currentcolor rgb(204,204,204);border-style:none none none solid;border-width:medium medium medium 1pt;padding:0in 0in 0in 6pt;margin-left:4.8pt;margin-right:0in">
<div>
<p class="MsoNormal" style="margin-left:11.5in">Hi Thiago, <u></u><u></u></p>
<div>
<p class="MsoNormal" style="margin-left:11.5in"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:11.5in">I have configured the worker as mentioned in the given link and dedicated cpu_policy set in the flavor.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:11.5in">Instance creation failed with the following error.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:11.5in"><u></u> <u></u></p>
</div>
<div>
<p style="margin-right:0in;margin-bottom:0in;margin-left:11.5in;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal">
<span style="font-size:8.5pt;font-family:Menlo;color:black">No valid host was found. There are not enough hosts available.<u></u><u></u></span></p>
<p style="margin-right:0in;margin-bottom:0in;margin-left:11.5in;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal">
<span style="font-size:8.5pt;font-family:Menlo;color:black"><br>
<br>
<u></u><u></u></span></p>
<p style="margin-right:0in;margin-bottom:0in;margin-left:11.5in">
<span style="font-size:8.5pt;font-family:Menlo;color:black">controller-0:~$ openstack flavor show dn.large  -c properties<u></u><u></u></span></p>
<p style="margin-right:0in;margin-bottom:0in;margin-left:11.5in">
<span style="font-size:8.5pt;font-family:Menlo;color:black">+------------+--------------------------------------------------------------------------------------------------------+<u></u><u></u></span></p>
<p style="margin-right:0in;margin-bottom:0in;margin-left:11.5in">
<span style="font-size:8.5pt;font-family:Menlo;color:black">| Field      | Value                                                                                                  |<u></u><u></u></span></p>
<p style="margin-right:0in;margin-bottom:0in;margin-left:11.5in">
<span style="font-size:8.5pt;font-family:Menlo;color:black">+------------+--------------------------------------------------------------------------------------------------------+<u></u><u></u></span></p>
<p style="margin-right:0in;margin-bottom:0in;margin-left:11.5in">
<span style="font-size:8.5pt;font-family:Menlo;color:black">| properties | hw:cpu_cores='2', hw:cpu_policy='dedicated', hw:cpu_sockets='1', hw:cpu_threads='2', hw:numa_nodes='1' |<u></u><u></u></span></p>
<p style="margin-right:0in;margin-bottom:0in;margin-left:11.5in;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal">
<span style="font-size:8.5pt;font-family:Menlo;color:black">+------------+--------------------------------------------------------------------------------------------------------+<u></u><u></u></span></p>
<p style="margin-right:0in;margin-bottom:0in;margin-left:11.5in;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal">
<span style="font-size:8.5pt;font-family:Menlo;color:black"><br>
<br>
<u></u><u></u></span></p>
<div>
<p class="MsoNormal" style="margin-left:11.5in">Regards,<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:11.5in;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal">
Danishka<u></u><u></u></p>
</div>
</div>
</div>
<p class="MsoNormal" style="margin-left:11.5in"><u></u> <u></u></p>
<div>
<div>
<p class="MsoNormal" style="margin-left:11.5in">On Tue, Dec 7, 2021 at 1:18 AM Brito, Thiago <<a href="mailto:Thiago.Brito@windriver.com" target="_blank">Thiago.Brito@windriver.com</a>> wrote:<u></u><u></u></p>
</div>
<blockquote style="border-color:currentcolor currentcolor currentcolor rgb(204,204,204);border-style:none none none solid;border-width:medium medium medium 1pt;padding:0in 0in 0in 6pt;margin-left:4.8pt;margin-right:0in">
<div>
<div>
<p class="MsoNormal" style="margin-left:11.5in"><span style="font-size:12pt;color:black;background:white none repeat scroll 0% 0%">Hi Danishka,</span><span style="font-size:12pt;color:black">
<u></u><u></u></span></p>
<div>
<p class="MsoNormal" style="margin-left:11.5in;background:white none repeat scroll 0% 0%"><span style="font-size:12pt;color:black"><u></u> <u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:11.5in;background:white none repeat scroll 0% 0%"><span style="font-size:12pt;color:black">Whatever you configure on the platform as Application-isolated core for a node will get to cpu_dedicated_set on stx-openstack. Please check this doc: <a href="https://urldefense.com/v3/__https:/docs.starlingx.io/r/stx.5.0/admintasks/openstack/configure-dedicated-and-shared-cpu-pools-on-hosts.html__;!!AjveYdw8EvQ!Km5xOEiy_wI3YAmney4OpHhqwjOOCiNhB37qanNSizdNpERIM_eDDRfwAzNuQv9j-Hlr$" target="_blank">https://docs.starlingx.io/r/stx.5.0/admintasks/openstack/configure-dedicated-and-shared-cpu-pools-on-hosts.html</a><u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:11.5in;background:white none repeat scroll 0% 0%"><span style="font-size:12pt;color:black"><u></u> <u></u></span></p>
</div>
<p class="MsoNormal" style="margin-left:11.5in"><span style="font-size:12pt;color:black;background:white none repeat scroll 0% 0%">Thiago</span><span style="font-size:12pt;color:black"><u></u><u></u></span></p>
</div>
<div class="MsoNormal" style="margin-left:11.5in;text-align:center" align="center">
<hr width="98%" size="2" align="center">
</div>
<div id="m_-19852500103835261m_2912053216945076769x_gmail-m_-7538022528620445337gmail-m_-4189387002575415533divRplyFwdMsg">
<p class="MsoNormal" style="margin-left:2in"><b><span style="color:black">From:</span></b><span style="color:black"> open infra <<a href="mailto:openinfradn@gmail.com" target="_blank">openinfradn@gmail.com</a>><br>
<b>Sent:</b> Monday, December 6, 2021 3:15 PM<br>
<b>To:</b> <a href="mailto:starlingx-discuss@lists.starlingx.io" target="_blank">
starlingx-discuss@lists.starlingx.io</a> <<a href="mailto:starlingx-discuss@lists.starlingx.io" target="_blank">starlingx-discuss@lists.starlingx.io</a>><br>
<b>Subject:</b> [Starlingx-discuss] How to enable cpu_dedicated_set</span> <u></u><u></u></p>
<div>
<p class="MsoNormal" style="margin-left:2in"> <u></u><u></u></p>
</div>
</div>
<div>
<div style="border:1pt solid rgb(156,101,0);padding:2pt">
<p style="margin-left:2in;line-height:12pt;background:rgb(255,235,156) none repeat scroll 0% 0%">
<span style="font-size:10pt;color:red">[Please note: This e-mail is from an EXTERNAL e-mail address]</span><u></u><u></u></p>
</div>
<div>
<div>
<p class="MsoNormal" style="margin-left:2in">Hi,<u></u><u></u></p>
<div>
<p class="MsoNormal" style="margin-left:2in"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:2in">Is the cpu_dedicated_set is already enabled in stx based openstack?<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:2in">How to verify and enable it?<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:2in"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:2in">Regards,<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:11.5in">Danishka<u></u><u></u></p>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
</blockquote>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
</div>
</div>
</div>
</div>

</div></blockquote></div></div>