<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:x="urn:schemas-microsoft-com:office:excel" 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 14 (filtered medium)">
<style><!--
/* Font Definitions */
@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:Consolas;
panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
pre
{mso-style-priority:99;
mso-style-link:"HTML Preformatted Char";
margin:0in;
margin-bottom:.0001pt;
font-size:10.0pt;
font-family:"Courier New";}
span.HTMLPreformattedChar
{mso-style-name:"HTML Preformatted Char";
mso-style-priority:99;
mso-style-link:"HTML Preformatted";
font-family:Consolas;}
span.gmail-n
{mso-style-name:gmail-n;}
span.gmail-o
{mso-style-name:gmail-o;}
span.gmail-mi
{mso-style-name:gmail-mi;}
span.EmailStyle22
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri","sans-serif";}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
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="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Hi Mariano<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Without ‘–f vswitch’, the memory is allocated to application by default.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Tao<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<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""> Mariano Ucha [mailto:lw2dht@gmail.com]
<br>
<b>Sent:</b> Monday, September 16, 2019 5:29 PM<br>
<b>To:</b> Liu, Tao<br>
<b>Cc:</b> starlingx-discuss@lists.starlingx.io<br>
<b>Subject:</b> Re: [Starlingx-discuss] Get vSwitch socket memory must be allocated for numa node (0). after trying to unlock controller-0<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div>
<p class="MsoNormal">Hi Liu!<o:p></o:p></p>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">thanks you very much i used the example provided in the AIO-Simplex<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<div style="mso-element:para-border-div;border:solid #CCCCCC 1.0pt;padding:15.0pt 23.0pt 15.0pt 23.0pt;background:#333333">
<pre style="margin-bottom:7.5pt;background:#333333;word-break:break-all;border:none;padding:0in;box-sizing:border-box;border-radius:4px;overflow:auto"><span class="gmail-n"><span style="font-family:Consolas;color:#D0D0D0">system</span></span><span style="font-family:Consolas;color:white"> </span><span class="gmail-n"><span style="font-family:Consolas;color:#D0D0D0">host</span></span><span class="gmail-o"><span style="font-family:Consolas;color:#D0D0D0">-</span></span><span class="gmail-n"><span style="font-family:Consolas;color:#D0D0D0">memory</span></span><span class="gmail-o"><span style="font-family:Consolas;color:#D0D0D0">-</span></span><span class="gmail-n"><span style="font-family:Consolas;color:#D0D0D0">modify</span></span><span style="font-family:Consolas;color:white"> </span><span class="gmail-n"><span style="font-family:Consolas;color:#D0D0D0">controller</span></span><span class="gmail-o"><span style="font-family:Consolas;color:#D0D0D0">-</span></span><span class="gmail-mi"><span style="font-family:Consolas;color:#3677A9">0</span></span><span style="font-family:Consolas;color:white"> </span><span class="gmail-mi"><span style="font-family:Consolas;color:#3677A9">0</span></span><span style="font-family:Consolas;color:white"> </span><span class="gmail-o"><span style="font-family:Consolas;color:#D0D0D0">-</span></span><span class="gmail-mi"><span style="font-family:Consolas;color:#3677A9">1</span></span><span class="gmail-n"><span style="font-family:Consolas;color:#D0D0D0">G</span></span><span style="font-family:Consolas;color:white"> </span><span class="gmail-mi"><span style="font-family:Consolas;color:#3677A9">100</span></span><span style="font-family:Consolas;color:white"><o:p></o:p></span></pre>
<pre style="margin-bottom:7.5pt;background:#333333;word-break:break-all;border:none;padding:0in"><span class="gmail-n"><span style="font-family:Consolas;color:#D0D0D0">system</span></span><span style="font-family:Consolas;color:white"> </span><span class="gmail-n"><span style="font-family:Consolas;color:#D0D0D0">host</span></span><span class="gmail-o"><span style="font-family:Consolas;color:#D0D0D0">-</span></span><span class="gmail-n"><span style="font-family:Consolas;color:#D0D0D0">memory</span></span><span class="gmail-o"><span style="font-family:Consolas;color:#D0D0D0">-</span></span><span class="gmail-n"><span style="font-family:Consolas;color:#D0D0D0">modify</span></span><span style="font-family:Consolas;color:white"> </span><span class="gmail-n"><span style="font-family:Consolas;color:#D0D0D0">controller</span></span><span class="gmail-o"><span style="font-family:Consolas;color:#D0D0D0">-</span></span><span class="gmail-mi"><span style="font-family:Consolas;color:#3677A9">0</span></span><span style="font-family:Consolas;color:white"> </span><span class="gmail-mi"><span style="font-family:Consolas;color:#3677A9">1</span></span><span style="font-family:Consolas;color:white"> </span><span class="gmail-o"><span style="font-family:Consolas;color:#D0D0D0">-</span></span><span class="gmail-mi"><span style="font-family:Consolas;color:#3677A9">1</span></span><span class="gmail-n"><span style="font-family:Consolas;color:#D0D0D0">G</span></span><span style="font-family:Consolas;color:white"> </span><span class="gmail-mi"><span style="font-family:Consolas;color:#3677A9">100</span></span><span style="font-family:Consolas;color:white"><o:p></o:p></span></pre>
</div>
</div>
</div>
<div>
<p class="MsoNormal">I used this command too that i found in mails<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">system host-memory-modify -1G 6 controller-0 0<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">system host-memory-modify -1G 6 controller-0 1<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">But didn't work too.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Now i think all is correct.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">[sysadmin@controller-0 ~(keystone_admin)]$ system host-memory-modify -f vswitch -1G 1 controller-0 0<br>
+-------------------------------------+--------------------------------------+<br>
| Property | Value |<br>
+-------------------------------------+--------------------------------------+<br>
| Memory: Usable Total (MiB) | 0 |<br>
| Platform (MiB) | 14500 |<br>
| Available (MiB) | 0 |<br>
| Huge Pages Configured | True |<br>
| vSwitch Huge Pages: Size (MiB) | 1024 |<br>
| Total | 0 |<br>
| Available | 0 |<br>
| Required | 1 |<br>
| Application Pages (4K): Total | None |<br>
| Application Huge Pages (2M): Total | 0 |<br>
| Available | 0 |<br>
| Application Huge Pages (1G): Total | 0 |<br>
| Total Pending | 6 |<br>
| Available | 0 |<br>
| uuid | 15bbaefc-2ce8-4a15-8443-f0d16ede8907 |<br>
| ihost_uuid | b70c90b6-4e55-46fe-9615-0858b992e829 |<br>
| inode_uuid | dc6d3381-7781-4bc8-b0d5-439fa446786d |<br>
| created_at | 2019-09-16T17:06:50.852250+00:00 |<br>
| updated_at | 2019-09-16T18:21:26.726327+00:00 |<br>
+-------------------------------------+--------------------------------------+<br>
[sysadmin@controller-0 ~(keystone_admin)]$ system host-memory-modify -f vswitch -1G 1 controller-0 1<br>
+-------------------------------------+--------------------------------------+<br>
| Property | Value |<br>
+-------------------------------------+--------------------------------------+<br>
| Memory: Usable Total (MiB) | 0 |<br>
| Platform (MiB) | 2000 |<br>
| Available (MiB) | 0 |<br>
| Huge Pages Configured | True |<br>
| vSwitch Huge Pages: Size (MiB) | 1024 |<br>
| Total | 0 |<br>
| Available | 0 |<br>
| Required | 1 |<br>
| Application Pages (4K): Total | None |<br>
| Application Huge Pages (2M): Total | 0 |<br>
| Available | 0 |<br>
| Application Huge Pages (1G): Total | 0 |<br>
| Total Pending | 6 |<br>
| Available | 0 |<br>
| uuid | 0c8bd491-03cf-438b-a2de-de456feeadbf |<br>
| ihost_uuid | b70c90b6-4e55-46fe-9615-0858b992e829 |<br>
| inode_uuid | 720ed9e1-b3b3-4f76-af0c-19c68c84a9bf |<br>
| created_at | 2019-09-16T17:06:50.897623+00:00 |<br>
| updated_at | 2019-09-16T18:22:18.684078+00:00 |<br>
+-------------------------------------+--------------------------------------+<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">[sysadmin@controller-0 ~(keystone_admin)]$ system host-unlock controller-0<br>
+---------------------+-------------------------------------------------+<br>
| Property | Value |<br>
+---------------------+-------------------------------------------------+<br>
| action | none |<br>
| administrative | locked |<br>
| availability | online |<br>
| bm_ip | None |<br>
| bm_type | None |<br>
| bm_username | None |<br>
| boot_device | /dev/disk/by-path/pci-0000:03:00.0-scsi-0:1:0:0 |<br>
| capabilities | {u'stor_function': u'monitor'} |<br>
| config_applied | 7f80fc2f-15aa-4ebd-ae60-6a74728bf933 |<br>
| config_status | None |<br>
| config_target | 8d1ec049-d395-47cf-81a0-475ed9a2241c |<br>
| console | tty0 |<br>
| created_at | 2019-09-16T17:06:19.948809+00:00 |<br>
| hostname | controller-0 |<br>
| id | 1 |<br>
| install_output | text |<br>
| install_state | None |<br>
| install_state_info | None |<br>
| inv_state | inventoried |<br>
| invprovision | provisioning |<br>
| location | {} |<br>
| mgmt_ip | 192.168.204.3 |<br>
| mgmt_mac | xx:xx:xx:xx:xx:f4 |<br>
| operational | disabled |<br>
| personality | controller |<br>
| reserved | False |<br>
| rootfs_device | /dev/disk/by-path/pci-0000:03:00.0-scsi-0:1:0:0 |<br>
| serialid | None |<br>
| software_load | 19.09 |<br>
| subfunction_avail | online |<br>
| subfunction_oper | disabled |<br>
| subfunctions | controller,worker |<br>
| task | Unlocking |<br>
| tboot | false |<br>
| ttys_dcd | None |<br>
| updated_at | 2019-09-16T18:23:02.173472+00:00 |<br>
| uptime | 9041 |<br>
| uuid | b70c90b6-4e55-46fe-9615-0858b992e829 |<br>
| vim_progress_status | None |<br>
+---------------------+-------------------------------------------------+<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Thank you very much for the help!!!!<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Mariano<o:p></o:p></p>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div>
<p class="MsoNormal">El lun., 16 sept. 2019 a las 18:18, Liu, Tao (<<a href="mailto:Tao.Liu@windriver.com">Tao.Liu@windriver.com</a>>) escribió:<o:p></o:p></p>
</div>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in">
<div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="color:#1F497D">Hi Mariano,</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="color:#1F497D">You will need to configure vSwitch memory for each NUMA node prior to unlock:</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="color:#1F497D">system host-memory-modify -f <function> -1G <1G hugepages number> <hostname or id> <processor></span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="color:#1F497D">system host-memory-modify -f vswitch -1G 1 controller-0 0</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="color:#1F497D">system host-memory-modify -f vswitch -1G 1 controller-0 1</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Tao</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><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""> Mariano Ucha [mailto:<a href="mailto:lw2dht@gmail.com" target="_blank">lw2dht@gmail.com</a>]
<br>
<b>Sent:</b> Monday, September 16, 2019 5:04 PM<br>
<b>To:</b> <a href="mailto:starlingx-discuss@lists.starlingx.io" target="_blank">
starlingx-discuss@lists.starlingx.io</a><br>
<b>Subject:</b> [Starlingx-discuss] Get vSwitch socket memory must be allocated for numa node (0). after trying to unlock controller-0</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Hi guys!<o:p></o:p></p>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">I'm trying to unlock a AIO-Simplex and i get this error message.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">[sysadmin@controller-0 log(keystone_admin)]$ system host-unlock controller-0<br>
vSwitch socket memory must be allocated for numa node (0).<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><b>I'm using OVS-DPDK</b><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">[sysadmin@controller-0 log(keystone_admin)]$ system show<br>
+----------------------+--------------------------------------+<br>
| Property | Value |<br>
+----------------------+--------------------------------------+<br>
| contact | None |<br>
| created_at | 2019-09-16T17:04:24.225055+00:00 |<br>
| description | None |<br>
| https_enabled | False |<br>
| location | None |<br>
| name | 352094b2-28d1-4eec-abd1-25be70d0c8b9 |<br>
| region_name | RegionOne |<br>
| sdn_enabled | False |<br>
| security_feature | spectre_meltdown_v1 |<br>
| service_project_name | services |<br>
| software_version | 19.09 |<br>
| system_mode | simplex |<br>
| system_type | All-in-one |<br>
| timezone | America/Buenos_Aires |<br>
| updated_at | 2019-09-16T17:19:59.886864+00:00 |<br>
| uuid | d464f593-3ef8-417d-a5f7-ce31edda5240 |<br>
| vswitch_type | ovs-dpdk |<br>
+----------------------+--------------------------------------+<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><b>Using this Build</b><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
</div>
<div>
<pre style="white-space:pre-wrap"><span style="color:black">###</span><o:p></o:p></pre>
<pre><span style="color:black">### StarlingX</span><o:p></o:p></pre>
<pre><span style="color:black">### Built from master</span><o:p></o:p></pre>
<pre><span style="color:black">###</span><o:p></o:p></pre>
<pre><span style="color:black"> </span><o:p></o:p></pre>
<pre><span style="color:black">OS="centos"</span><o:p></o:p></pre>
<pre><span style="color:black">SW_VERSION="19.09"</span><o:p></o:p></pre>
<pre><span style="color:black">BUILD_TARGET="Host Installer"</span><o:p></o:p></pre>
<pre><span style="color:black">BUILD_TYPE="Formal"</span><o:p></o:p></pre>
<pre><span style="color:black">BUILD_ID="20190915T230000Z"</span><o:p></o:p></pre>
<pre><span style="color:black"> </span><o:p></o:p></pre>
<pre><span style="color:black">JOB="STX_build_master_master"</span><o:p></o:p></pre>
<pre><span style="color:black">BUILD_BY="<a href="mailto:starlingx.build@cengn.ca" target="_blank">starlingx.build@cengn.ca</a>"</span><o:p></o:p></pre>
<pre><span style="color:black">BUILD_NUMBER="251"</span><o:p></o:p></pre>
<pre><span style="color:black">BUILD_HOST="starlingx_mirror"</span><o:p></o:p></pre>
<pre><span style="color:black">BUILD_DATE="2019-09-15 23:00:00 +0000"</span><o:p></o:p></pre>
<pre style="white-space:pre-wrap"><span style="color:black">But I get this error in a lost of build that i had downloaded.</span><o:p></o:p></pre>
<pre style="white-space:pre-wrap"><span style="color:black"> </span><o:p></o:p></pre>
<pre style="white-space:pre-wrap"><span style="color:black">Any idea?</span><o:p></o:p></pre>
<pre style="white-space:pre-wrap"><span style="color:black"> </span><o:p></o:p></pre>
<pre style="white-space:pre-wrap"><span style="color:black">Thanks,</span><o:p></o:p></pre>
<pre style="white-space:pre-wrap"><span style="color:black">Mariano</span><o:p></o:p></pre>
<pre style="white-space:pre-wrap"><span style="color:black"> </span><o:p></o:p></pre>
<pre style="white-space:pre-wrap"><span style="color:black"> </span><o:p></o:p></pre>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
</div>
</div>
</div>
</div>
</blockquote>
</div>
</div>
</div>
</body>
</html>