<div dir="ltr"><div dir="ltr">Hi Liu!<div><br></div><div>thanks you very much i used the example provided in the AIO-Simplex</div><div><br></div><div><pre style="box-sizing:border-box;overflow:auto;font-family:Menlo,Monaco,Consolas,"Courier New",monospace;font-size:13px;padding:20px 30px;margin-top:0px;margin-bottom:10px;line-height:1.42857;color:rgb(255,255,255);word-break:break-all;background-color:rgb(51,51,51);border:1px solid rgb(204,204,204);border-radius:4px"><span class="gmail-n" style="box-sizing:border-box;color:rgb(208,208,208)">system</span> <span class="gmail-n" style="box-sizing:border-box;color:rgb(208,208,208)">host</span><span class="gmail-o" style="box-sizing:border-box;color:rgb(208,208,208)">-</span><span class="gmail-n" style="box-sizing:border-box;color:rgb(208,208,208)">memory</span><span class="gmail-o" style="box-sizing:border-box;color:rgb(208,208,208)">-</span><span class="gmail-n" style="box-sizing:border-box;color:rgb(208,208,208)">modify</span> <span class="gmail-n" style="box-sizing:border-box;color:rgb(208,208,208)">controller</span><span class="gmail-o" style="box-sizing:border-box;color:rgb(208,208,208)">-</span><span class="gmail-mi" style="box-sizing:border-box;color:rgb(54,119,169)">0</span> <span class="gmail-mi" style="box-sizing:border-box;color:rgb(54,119,169)">0</span> <span class="gmail-o" style="box-sizing:border-box;color:rgb(208,208,208)">-</span><span class="gmail-mi" style="box-sizing:border-box;color:rgb(54,119,169)">1</span><span class="gmail-n" style="box-sizing:border-box;color:rgb(208,208,208)">G</span> <span class="gmail-mi" style="box-sizing:border-box;color:rgb(54,119,169)">100</span>
<span class="gmail-n" style="box-sizing:border-box;color:rgb(208,208,208)">system</span> <span class="gmail-n" style="box-sizing:border-box;color:rgb(208,208,208)">host</span><span class="gmail-o" style="box-sizing:border-box;color:rgb(208,208,208)">-</span><span class="gmail-n" style="box-sizing:border-box;color:rgb(208,208,208)">memory</span><span class="gmail-o" style="box-sizing:border-box;color:rgb(208,208,208)">-</span><span class="gmail-n" style="box-sizing:border-box;color:rgb(208,208,208)">modify</span> <span class="gmail-n" style="box-sizing:border-box;color:rgb(208,208,208)">controller</span><span class="gmail-o" style="box-sizing:border-box;color:rgb(208,208,208)">-</span><span class="gmail-mi" style="box-sizing:border-box;color:rgb(54,119,169)">0</span> <span class="gmail-mi" style="box-sizing:border-box;color:rgb(54,119,169)">1</span> <span class="gmail-o" style="box-sizing:border-box;color:rgb(208,208,208)">-</span><span class="gmail-mi" style="box-sizing:border-box;color:rgb(54,119,169)">1</span><span class="gmail-n" style="box-sizing:border-box;color:rgb(208,208,208)">G</span> <span class="gmail-mi" style="box-sizing:border-box;color:rgb(54,119,169)">100</span></pre></div></div><div>I used this command too that i found in mails</div><div><br></div><div>system host-memory-modify  -1G 6  controller-0 0<br></div><div>system host-memory-modify  -1G 6  controller-0 1<br></div><div><br></div><div>But didn't work too.</div><div><br></div><div>Now i think all is correct.</div><div><br></div><div>[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>+-------------------------------------+--------------------------------------+<br></div><div><br></div><div>[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>+---------------------+-------------------------------------------------+<br></div><div><br></div><div>Thank you very much for the help!!!!</div><div><br></div><div>Mariano</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">El lun., 16 sept. 2019 a las 18:18, 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_4408910194172472801WordSection1">
<p class="MsoNormal"><span style="color:rgb(31,73,125)">Hi Mariano,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="color:rgb(31,73,125)"><u></u> <u></u></span></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:<u></u><u></u></span></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><u></u><u></u></span></p>
<p class="MsoNormal"><span style="color:rgb(31,73,125)"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="color:rgb(31,73,125)">system host-memory-modify -f vswitch -1G 1  controller-0 0<u></u><u></u></span></p>
<p class="MsoNormal"><span style="color:rgb(31,73,125)">system host-memory-modify -f vswitch -1G 1  controller-0 1<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)"><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: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<u></u><u></u></span></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">###<u></u><u></u></span></pre>
<pre><span style="color:black">### StarlingX<u></u><u></u></span></pre>
<pre><span style="color:black">###     Built from master<u></u><u></u></span></pre>
<pre><span style="color:black">###<u></u><u></u></span></pre>
<pre><span style="color:black"><u></u> <u></u></span></pre>
<pre><span style="color:black">OS="centos"<u></u><u></u></span></pre>
<pre><span style="color:black">SW_VERSION="19.09"<u></u><u></u></span></pre>
<pre><span style="color:black">BUILD_TARGET="Host Installer"<u></u><u></u></span></pre>
<pre><span style="color:black">BUILD_TYPE="Formal"<u></u><u></u></span></pre>
<pre><span style="color:black">BUILD_ID="20190915T230000Z"<u></u><u></u></span></pre>
<pre><span style="color:black"><u></u> <u></u></span></pre>
<pre><span style="color:black">JOB="STX_build_master_master"<u></u><u></u></span></pre>
<pre><span style="color:black">BUILD_BY="<a href="mailto:starlingx.build@cengn.ca" target="_blank">starlingx.build@cengn.ca</a>"<u></u><u></u></span></pre>
<pre><span style="color:black">BUILD_NUMBER="251"<u></u><u></u></span></pre>
<pre><span style="color:black">BUILD_HOST="starlingx_mirror"<u></u><u></u></span></pre>
<pre><span style="color:black">BUILD_DATE="2019-09-15 23:00:00 +0000"<u></u><u></u></span></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.<u></u><u></u></span></pre>
<pre style="white-space:pre-wrap"><span style="color:black"><u></u> <u></u></span></pre>
<pre style="white-space:pre-wrap"><span style="color:black">Any idea?<u></u><u></u></span></pre>
<pre style="white-space:pre-wrap"><span style="color:black"><u></u> <u></u></span></pre>
<pre style="white-space:pre-wrap"><span style="color:black">Thanks,<u></u><u></u></span></pre>
<pre style="white-space:pre-wrap"><span style="color:black">Mariano<u></u><u></u></span></pre>
<pre style="white-space:pre-wrap"><span style="color:black"><u></u> <u></u></span></pre>
<pre style="white-space:pre-wrap"><span style="color:black"><u></u> <u></u></span></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>