<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Dec 8, 2021 at 3:16 AM Brito, Thiago <<a href="mailto:Thiago.Brito@windriver.com">Thiago.Brito@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="msg2912053216945076769">




<div dir="ltr">
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
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:</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
kubectl exec -n openstack nova-compute-[woker|controller]-X-XXXXX-xxxx -- cat /etc/nova/nova.conf|grep dedicated_set<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<br></div></div></div></blockquote><div><br></div><div>Is there way I can enable application-isolation across all the worker nodes including new nodes to be added in future?</div><div> <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="msg2912053216945076769"><div dir="ltr"><div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
Don't forget to change the id of the pod for your compute pods.</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
Thiago</div>
<div id="m_2912053216945076769appendonsend"></div>
<hr style="display:inline-block;width:98%">
<div id="m_2912053216945076769divRplyFwdMsg" dir="ltr"><font style="font-size:11pt" face="Calibri, sans-serif" color="#000000"><b>From:</b> 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</font>
<div> </div>
</div>
<div>
<p></p>
<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%"><b><span style="font-size:10pt;color:rgb(156,101,0)"></span></b><span style="font-size:10pt;color:red">[Please note: This e-mail is from an EXTERNAL e-mail address]</span></p>
</div>
<div>
<div dir="ltr">Here is the info from STX side
<div><br>
</div>
<div><br>
</div>
<div>
<dl style="box-sizing:border-box;margin-top:0px;margin-bottom:18px;color:rgb(102,102,102);font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:13px">
<dt style="box-sizing:border-box;line-height:1.42857;font-weight:bold;float:left;width:22em;clear:left;text-align:right;overflow:hidden;text-overflow:ellipsis;white-space:nowrap">
Processors<span> </span></dt><dd style="box-sizing:border-box;line-height:1.42857;margin-left:23em">2</dd><dt style="box-sizing:border-box;line-height:1.42857;font-weight:bold;float:left;width:22em;clear:left;text-align:right;overflow:hidden;text-overflow:ellipsis;white-space:nowrap">
Physical Cores Per Processor<span> </span></dt><dd style="box-sizing:border-box;line-height:1.42857;margin-left:23em">32</dd><dt style="box-sizing:border-box;line-height:1.42857;font-weight:bold;float:left;width:22em;clear:left;text-align:right;overflow:hidden;text-overflow:ellipsis;white-space:nowrap">
Hyper-Threading<span> </span></dt><dd style="box-sizing:border-box;line-height:1.42857;margin-left:23em">Yes</dd></dl>
<div id="m_2912053216945076769x_gmail-cpufunctions" style="box-sizing:border-box;color:rgb(102,102,102);font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:13px">
<div style="box-sizing:border-box">
<form action="http://37.50.100.18:8080/admin/8/detail/" method="POST" style="box-sizing:border-box">
<table id="m_2912053216945076769x_gmail-cpufunctions" style="border-collapse:collapse;border-spacing:0px;background-color:transparent;width:1512px;max-width:100%;margin-bottom:18px">
<caption style="box-sizing:border-box;padding-top:8px;padding-bottom:8px;color:rgb(187,187,187);text-align:left">
<span style="box-sizing:border-box;font-size:23px">CPU Assignments</span>
<div style="box-sizing:border-box;float:right">
<a id="m_2912053216945076769x_gmail-cpufunctions__action_createCpuProfile" href="https://urldefense.com/v3/__http://37.50.100.18:8080/admin/8/addcpuprofile/__;!!AjveYdw8EvQ!Km5xOEiy_wI3YAmney4OpHhqwjOOCiNhB37qanNSizdNpERIM_eDDRfwAzNuQoVun-HI$" title="Create Cpu Profile" style="box-sizing:border-box;color:rgb(51,51,51);text-decoration-line:none;display:inline-block;margin-bottom:0px;text-align:center;vertical-align:middle;background-image:none;border:1px solid rgb(204,204,204);white-space:nowrap;padding:6px 12px;line-height:1.42857;border-radius:4px" target="_blank">Create
 Cpu Profile</a></div>
</caption>
<thead style="box-sizing:border-box">
<tr style="box-sizing:border-box">
<th style="box-sizing:border-box;padding:8px;text-align:left;line-height:1.42857;vertical-align:middle;border-top-width:0px;border-bottom:2px solid rgb(221,221,221)">
<div style="box-sizing:border-box;display:inline">
Function<i style="box-sizing:border-box"></i></div>
</th>
<th style="box-sizing:border-box;padding:8px;text-align:left;line-height:1.42857;vertical-align:middle;border-top-width:0px;border-bottom:2px solid rgb(221,221,221)">
<div style="box-sizing:border-box;display:inline">
Processor Logical Cores<i style="box-sizing:border-box"></i></div>
</th>
</tr>
</thead>
<tbody style="box-sizing:border-box">
<tr id="m_2912053216945076769x_gmail-cpufunctions__row__Platform" style="box-sizing:border-box;background-color:rgb(249,249,249)">
<td style="box-sizing:border-box;padding:8px;line-height:1.42857;vertical-align:middle;border-top:1px solid rgb(221,221,221);background-clip:padding-box">
Platform</td>
<td style="box-sizing:border-box;padding:8px;line-height:1.42857;vertical-align:middle;border-top:1px solid rgb(221,221,221);background-clip:padding-box">
<b style="box-sizing:border-box">Processor 0 :<span> </span></b>0,64<span> </span><span> </span><br style="box-sizing:border-box">
</td>
</tr>
<tr id="m_2912053216945076769x_gmail-cpufunctions__row__Vswitch" style="box-sizing:border-box">
<td style="box-sizing:border-box;padding:8px;line-height:1.42857;vertical-align:middle;border-top:1px solid rgb(221,221,221);background-clip:padding-box">
vSwitch</td>
<td style="box-sizing:border-box;padding:8px;line-height:1.42857;vertical-align:middle;border-top:1px solid rgb(221,221,221);background-clip:padding-box">
</td>
</tr>
<tr id="m_2912053216945076769x_gmail-cpufunctions__row__Shared" style="box-sizing:border-box;background-color:rgb(249,249,249)">
<td style="box-sizing:border-box;padding:8px;line-height:1.42857;vertical-align:middle;border-top:1px solid rgb(221,221,221);background-clip:padding-box">
Shared</td>
<td style="box-sizing:border-box;padding:8px;line-height:1.42857;vertical-align:middle;border-top:1px solid rgb(221,221,221);background-clip:padding-box">
</td>
</tr>
<tr id="m_2912053216945076769x_gmail-cpufunctions__row__Application" style="box-sizing:border-box">
<td style="box-sizing:border-box;padding:8px;line-height:1.42857;vertical-align:middle;border-top:1px solid rgb(221,221,221);background-clip:padding-box">
Application</td>
<td style="box-sizing:border-box;padding:8px;line-height:1.42857;vertical-align:middle;border-top:1px solid rgb(221,221,221);background-clip:padding-box">
<b style="box-sizing:border-box">Processor 0 :<span> </span></b>17-31,81-95<span> </span><span> </span><br style="box-sizing:border-box">
<b style="box-sizing:border-box">Processor 1 :<span> </span></b>56-63,120-127<span> </span><span> </span><br style="box-sizing:border-box">
</td>
</tr>
<tr id="m_2912053216945076769x_gmail-cpufunctions__row__Application-isolated" style="box-sizing:border-box;background-color:rgb(249,249,249)">
<td style="box-sizing:border-box;padding:8px;line-height:1.42857;vertical-align:middle;border-top:1px solid rgb(221,221,221);background-clip:padding-box">
Application-isolated</td>
<td style="box-sizing:border-box;padding:8px;line-height:1.42857;vertical-align:middle;border-top:1px solid rgb(221,221,221);background-clip:padding-box">
<b style="box-sizing:border-box">Processor 0 :<span> </span></b>1-16,65-80<span> </span><span> </span><br style="box-sizing:border-box">
<b style="box-sizing:border-box">Processor 1 :<span> </span></b>32-55,96-119<span> </span></td>
</tr>
</tbody>
</table>
</form>
</div>
</div>
</div>
</div>
<br>
<div>
<div dir="ltr">On Tue, Dec 7, 2021 at 1:46 PM open infra <<a href="mailto:openinfradn@gmail.com" target="_blank">openinfradn@gmail.com</a>> wrote:<br>
</div>
<blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div dir="ltr">Hi Thiago,
<div><br>
</div>
<div>I have configured the worker as mentioned in the given link and dedicated cpu_policy set in the flavor.</div>
<div>Instance creation failed with the following error.</div>
<div><br>
</div>
<div>
<p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">
<span style="font-variant-ligatures:no-common-ligatures">No valid host was found. There are not enough hosts available.</span></p>
<p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">
<span style="font-variant-ligatures:no-common-ligatures"><br>
</span></p>
<p style="margin:0px;font:11px Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">controller-0:~$ openstack flavor show dn.large<span> 
</span>-c properties</span></p>
<p style="margin:0px;font:11px Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">+------------+--------------------------------------------------------------------------------------------------------+</span></p>
<p style="margin:0px;font:11px Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">| Field<span>     
</span>| Value<span>                                                                                                 
</span>|</span></p>
<p style="margin:0px;font:11px Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">+------------+--------------------------------------------------------------------------------------------------------+</span></p>
<p style="margin:0px;font:11px Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">| properties | hw:cpu_cores='2', hw:cpu_policy='dedicated', hw:cpu_sockets='1', hw:cpu_threads='2', hw:numa_nodes='1' |</span></p>
<p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">
<span style="font-variant-ligatures:no-common-ligatures"></span></p>
<p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">
<span style="font-variant-ligatures:no-common-ligatures">+------------+--------------------------------------------------------------------------------------------------------+</span></p>
<p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">
<span style="font-variant-ligatures:no-common-ligatures"><br>
</span></p>
<div>Regards,</div>
<p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">
<span style="font-variant-ligatures:no-common-ligatures"></span></p>
<div>Danishka</div>
</div>
</div>
<br>
<div>
<div dir="ltr">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:<br>
</div>
<blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div dir="ltr">
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<span style="margin:0px;font-size:12pt;color:black;background-color:rgb(255,255,255)">Hi Danishka,</span>
<div style="margin:0px;font-size:12pt;color:black;background-color:rgb(255,255,255)">
<br>
</div>
<div style="margin:0px;font-size:12pt;color:black;background-color:rgb(255,255,255)">
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$" rel="noopener noreferrer" style="margin:0px" target="_blank">https://docs.starlingx.io/r/stx.5.0/admintasks/openstack/configure-dedicated-and-shared-cpu-pools-on-hosts.html</a></div>
<div style="margin:0px;font-size:12pt;color:black;background-color:rgb(255,255,255)">
<br>
</div>
<span style="margin:0px;font-size:12pt;color:black;background-color:rgb(255,255,255)">Thiago</span><br>
</div>
<div id="m_2912053216945076769x_gmail-m_-7538022528620445337gmail-m_-4189387002575415533appendonsend">
</div>
<hr style="display:inline-block;width:98%">
<div id="m_2912053216945076769x_gmail-m_-7538022528620445337gmail-m_-4189387002575415533divRplyFwdMsg" dir="ltr">
<font style="font-size:11pt" face="Calibri, sans-serif" color="#000000"><b>From:</b> 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</font>
<div> </div>
</div>
<div>
<p></p>
<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%"><b><span style="font-size:10pt;color:rgb(156,101,0)"></span></b><span style="font-size:10pt;color:red">[Please note: This e-mail is from an EXTERNAL e-mail address]</span></p>
</div>
<div>
<div dir="ltr">Hi,<br>
<div><br>
</div>
<div>Is the cpu_dedicated_set is already enabled in stx based openstack?</div>
<div>How to verify and enable it?</div>
<div><br>
</div>
<div>Regards,</div>
<div>Danishka</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
</blockquote>
</div>
</div>
</div>
</div>

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