<div dir="ltr">Thanks again for the explanation Tao!!<div><br></div><div>Redgards,</div><div>Mariano</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">El lun., 16 sept. 2019 a las 18:32, Liu, Tao (<<a href="mailto:Tao.Liu@windriver.com">Tao.Liu@windriver.com</a>>) escribió:<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 lang="EN-US">
<div class="gmail-m_5772123915411617030WordSection1">
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">Hi Mariano<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">Without  ‘–f vswitch’, the memory is allocated to application by default.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">Tao<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"><u></u> <u></u></span></p>
<p class="MsoNormal"><b><span style="font-size:10pt;font-family:Tahoma,sans-serif">From:</span></b><span style="font-size:10pt;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:29 PM<br>
<b>To:</b> Liu, Tao<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] Get vSwitch socket memory must be allocated for numa node (0). after trying to unlock controller-0<u></u><u></u></span></p>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<div>
<p class="MsoNormal">Hi Liu!<u></u><u></u></p>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">thanks you very much i used the example provided in the AIO-Simplex<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<div style="border:1pt solid rgb(204,204,204);padding:15pt 23pt;background:rgb(51,51,51)">
<pre style="margin-bottom:7.5pt;background:rgb(51,51,51);word-break:break-all;border:none;padding:0in;box-sizing:border-box;border-radius:4px;overflow:auto"><span class="gmail-m_5772123915411617030gmail-n"><span style="font-family:Consolas;color:rgb(208,208,208)">system</span></span><span style="font-family:Consolas;color:white"> </span><span class="gmail-m_5772123915411617030gmail-n"><span style="font-family:Consolas;color:rgb(208,208,208)">host</span></span><span class="gmail-m_5772123915411617030gmail-o"><span style="font-family:Consolas;color:rgb(208,208,208)">-</span></span><span class="gmail-m_5772123915411617030gmail-n"><span style="font-family:Consolas;color:rgb(208,208,208)">memory</span></span><span class="gmail-m_5772123915411617030gmail-o"><span style="font-family:Consolas;color:rgb(208,208,208)">-</span></span><span class="gmail-m_5772123915411617030gmail-n"><span style="font-family:Consolas;color:rgb(208,208,208)">modify</span></span><span style="font-family:Consolas;color:white"> </span><span class="gmail-m_5772123915411617030gmail-n"><span style="font-family:Consolas;color:rgb(208,208,208)">controller</span></span><span class="gmail-m_5772123915411617030gmail-o"><span style="font-family:Consolas;color:rgb(208,208,208)">-</span></span><span class="gmail-m_5772123915411617030gmail-mi"><span style="font-family:Consolas;color:rgb(54,119,169)">0</span></span><span style="font-family:Consolas;color:white"> </span><span class="gmail-m_5772123915411617030gmail-mi"><span style="font-family:Consolas;color:rgb(54,119,169)">0</span></span><span style="font-family:Consolas;color:white"> </span><span class="gmail-m_5772123915411617030gmail-o"><span style="font-family:Consolas;color:rgb(208,208,208)">-</span></span><span class="gmail-m_5772123915411617030gmail-mi"><span style="font-family:Consolas;color:rgb(54,119,169)">1</span></span><span class="gmail-m_5772123915411617030gmail-n"><span style="font-family:Consolas;color:rgb(208,208,208)">G</span></span><span style="font-family:Consolas;color:white"> </span><span class="gmail-m_5772123915411617030gmail-mi"><span style="font-family:Consolas;color:rgb(54,119,169)">100</span></span><span style="font-family:Consolas;color:white"><u></u><u></u></span></pre>
<pre style="margin-bottom:7.5pt;background:rgb(51,51,51);word-break:break-all;border:none;padding:0in"><span class="gmail-m_5772123915411617030gmail-n"><span style="font-family:Consolas;color:rgb(208,208,208)">system</span></span><span style="font-family:Consolas;color:white"> </span><span class="gmail-m_5772123915411617030gmail-n"><span style="font-family:Consolas;color:rgb(208,208,208)">host</span></span><span class="gmail-m_5772123915411617030gmail-o"><span style="font-family:Consolas;color:rgb(208,208,208)">-</span></span><span class="gmail-m_5772123915411617030gmail-n"><span style="font-family:Consolas;color:rgb(208,208,208)">memory</span></span><span class="gmail-m_5772123915411617030gmail-o"><span style="font-family:Consolas;color:rgb(208,208,208)">-</span></span><span class="gmail-m_5772123915411617030gmail-n"><span style="font-family:Consolas;color:rgb(208,208,208)">modify</span></span><span style="font-family:Consolas;color:white"> </span><span class="gmail-m_5772123915411617030gmail-n"><span style="font-family:Consolas;color:rgb(208,208,208)">controller</span></span><span class="gmail-m_5772123915411617030gmail-o"><span style="font-family:Consolas;color:rgb(208,208,208)">-</span></span><span class="gmail-m_5772123915411617030gmail-mi"><span style="font-family:Consolas;color:rgb(54,119,169)">0</span></span><span style="font-family:Consolas;color:white"> </span><span class="gmail-m_5772123915411617030gmail-mi"><span style="font-family:Consolas;color:rgb(54,119,169)">1</span></span><span style="font-family:Consolas;color:white"> </span><span class="gmail-m_5772123915411617030gmail-o"><span style="font-family:Consolas;color:rgb(208,208,208)">-</span></span><span class="gmail-m_5772123915411617030gmail-mi"><span style="font-family:Consolas;color:rgb(54,119,169)">1</span></span><span class="gmail-m_5772123915411617030gmail-n"><span style="font-family:Consolas;color:rgb(208,208,208)">G</span></span><span style="font-family:Consolas;color:white"> </span><span class="gmail-m_5772123915411617030gmail-mi"><span style="font-family:Consolas;color:rgb(54,119,169)">100</span></span><span style="font-family:Consolas;color:white"><u></u><u></u></span></pre>
</div>
</div>
</div>
<div>
<p class="MsoNormal">I used this command too that i found in mails<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">system host-memory-modify  -1G 6  controller-0 0<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">system host-memory-modify  -1G 6  controller-0 1<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">But didn't work too.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">Now i think all is correct.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></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>
+-------------------------------------+--------------------------------------+<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></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>
+---------------------+-------------------------------------------------+<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">Thank you very much for the help!!!!<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">Mariano<u></u><u></u></p>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<div>
<p class="MsoNormal">El lun., 16 sept. 2019 a las 18:18, Liu, Tao (<<a href="mailto:Tao.Liu@windriver.com" target="_blank">Tao.Liu@windriver.com</a>>) escribió:<u></u><u></u></p>
</div>
<blockquote style="border-top:none;border-right:none;border-bottom:none;border-left:1pt solid rgb(204,204,204);padding:0in 0in 0in 6pt;margin-left:4.8pt;margin-right:0in">
<div>
<div>
<p class="MsoNormal"><span style="color:rgb(31,73,125)">Hi Mariano,</span><u></u><u></u></p>
<p class="MsoNormal"><span style="color:rgb(31,73,125)"> </span><u></u><u></u></p>
<p class="MsoNormal"><span style="color:rgb(31,73,125)">You will need to configure vSwitch memory for each NUMA node prior to unlock:</span><u></u><u></u></p>
<p class="MsoNormal"><span style="color:rgb(31,73,125)">system host-memory-modify -f <function>  -1G <1G hugepages number> <hostname or id> <processor></span><u></u><u></u></p>
<p class="MsoNormal"><span style="color:rgb(31,73,125)"> </span><u></u><u></u></p>
<p class="MsoNormal"><span style="color:rgb(31,73,125)">system host-memory-modify -f vswitch -1G 1  controller-0 0</span><u></u><u></u></p>
<p class="MsoNormal"><span style="color:rgb(31,73,125)">system host-memory-modify -f vswitch -1G 1  controller-0 1</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"> </span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"> </span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">Tao</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"> </span><u></u><u></u></p>
<p class="MsoNormal"><b><span style="font-size:10pt;font-family:Tahoma,sans-serif">From:</span></b><span style="font-size:10pt;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><u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<div>
<p class="MsoNormal">Hi guys!<u></u><u></u></p>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">I'm trying to unlock a AIO-Simplex and i get this error message.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">[sysadmin@controller-0 log(keystone_admin)]$ system host-unlock controller-0<br>
vSwitch socket memory must be allocated for numa node (0).<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><b>I'm using OVS-DPDK</b><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">[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>
+----------------------+--------------------------------------+<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><b>Using this Build</b><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
<div>
<pre style="white-space:pre-wrap"><span style="color:black">###</span><u></u><u></u></pre>
<pre><span style="color:black">### StarlingX</span><u></u><u></u></pre>
<pre><span style="color:black">###     Built from master</span><u></u><u></u></pre>
<pre><span style="color:black">###</span><u></u><u></u></pre>
<pre><span style="color:black"> </span><u></u><u></u></pre>
<pre><span style="color:black">OS="centos"</span><u></u><u></u></pre>
<pre><span style="color:black">SW_VERSION="19.09"</span><u></u><u></u></pre>
<pre><span style="color:black">BUILD_TARGET="Host Installer"</span><u></u><u></u></pre>
<pre><span style="color:black">BUILD_TYPE="Formal"</span><u></u><u></u></pre>
<pre><span style="color:black">BUILD_ID="20190915T230000Z"</span><u></u><u></u></pre>
<pre><span style="color:black"> </span><u></u><u></u></pre>
<pre><span style="color:black">JOB="STX_build_master_master"</span><u></u><u></u></pre>
<pre><span style="color:black">BUILD_BY="<a href="mailto:starlingx.build@cengn.ca" target="_blank">starlingx.build@cengn.ca</a>"</span><u></u><u></u></pre>
<pre><span style="color:black">BUILD_NUMBER="251"</span><u></u><u></u></pre>
<pre><span style="color:black">BUILD_HOST="starlingx_mirror"</span><u></u><u></u></pre>
<pre><span style="color:black">BUILD_DATE="2019-09-15 23:00:00 +0000"</span><u></u><u></u></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><u></u><u></u></pre>
<pre style="white-space:pre-wrap"><span style="color:black"> </span><u></u><u></u></pre>
<pre style="white-space:pre-wrap"><span style="color:black">Any idea?</span><u></u><u></u></pre>
<pre style="white-space:pre-wrap"><span style="color:black"> </span><u></u><u></u></pre>
<pre style="white-space:pre-wrap"><span style="color:black">Thanks,</span><u></u><u></u></pre>
<pre style="white-space:pre-wrap"><span style="color:black">Mariano</span><u></u><u></u></pre>
<pre style="white-space:pre-wrap"><span style="color:black"> </span><u></u><u></u></pre>
<pre style="white-space:pre-wrap"><span style="color:black"> </span><u></u><u></u></pre>
</div>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
</div>
</div>
</div>
</blockquote>
</div>
</div>
</div>
</div>

</blockquote></div>