[Starlingx-discuss] Get vSwitch socket memory must be allocated for numa node (0). after trying to unlock controller-0
Mariano Ucha
lw2dht at gmail.com
Mon Sep 16 21:28:41 UTC 2019
Hi Liu!
thanks you very much i used the example provided in the AIO-Simplex
system host-memory-modify controller-0 0 -1G 100system
host-memory-modify controller-0 1 -1G 100
I used this command too that i found in mails
system host-memory-modify -1G 6 controller-0 0
system host-memory-modify -1G 6 controller-0 1
But didn't work too.
Now i think all is correct.
[sysadmin at controller-0 ~(keystone_admin)]$ system host-memory-modify -f
vswitch -1G 1 controller-0 0
+-------------------------------------+--------------------------------------+
| Property | Value
|
+-------------------------------------+--------------------------------------+
| Memory: Usable Total (MiB) | 0
|
| Platform (MiB) | 14500
|
| Available (MiB) | 0
|
| Huge Pages Configured | True
|
| vSwitch Huge Pages: Size (MiB) | 1024
|
| Total | 0
|
| Available | 0
|
| Required | 1
|
| Application Pages (4K): Total | None
|
| Application Huge Pages (2M): Total | 0
|
| Available | 0
|
| Application Huge Pages (1G): Total | 0
|
| Total Pending | 6
|
| Available | 0
|
| uuid |
15bbaefc-2ce8-4a15-8443-f0d16ede8907 |
| ihost_uuid |
b70c90b6-4e55-46fe-9615-0858b992e829 |
| inode_uuid |
dc6d3381-7781-4bc8-b0d5-439fa446786d |
| created_at | 2019-09-16T17:06:50.852250+00:00
|
| updated_at | 2019-09-16T18:21:26.726327+00:00
|
+-------------------------------------+--------------------------------------+
[sysadmin at controller-0 ~(keystone_admin)]$ system host-memory-modify -f
vswitch -1G 1 controller-0 1
+-------------------------------------+--------------------------------------+
| Property | Value
|
+-------------------------------------+--------------------------------------+
| Memory: Usable Total (MiB) | 0
|
| Platform (MiB) | 2000
|
| Available (MiB) | 0
|
| Huge Pages Configured | True
|
| vSwitch Huge Pages: Size (MiB) | 1024
|
| Total | 0
|
| Available | 0
|
| Required | 1
|
| Application Pages (4K): Total | None
|
| Application Huge Pages (2M): Total | 0
|
| Available | 0
|
| Application Huge Pages (1G): Total | 0
|
| Total Pending | 6
|
| Available | 0
|
| uuid |
0c8bd491-03cf-438b-a2de-de456feeadbf |
| ihost_uuid |
b70c90b6-4e55-46fe-9615-0858b992e829 |
| inode_uuid |
720ed9e1-b3b3-4f76-af0c-19c68c84a9bf |
| created_at | 2019-09-16T17:06:50.897623+00:00
|
| updated_at | 2019-09-16T18:22:18.684078+00:00
|
+-------------------------------------+--------------------------------------+
[sysadmin at controller-0 ~(keystone_admin)]$ system host-unlock controller-0
+---------------------+-------------------------------------------------+
| Property | Value |
+---------------------+-------------------------------------------------+
| action | none |
| administrative | locked |
| availability | online |
| bm_ip | None |
| bm_type | None |
| bm_username | None |
| boot_device | /dev/disk/by-path/pci-0000:03:00.0-scsi-0:1:0:0 |
| capabilities | {u'stor_function': u'monitor'} |
| config_applied | 7f80fc2f-15aa-4ebd-ae60-6a74728bf933 |
| config_status | None |
| config_target | 8d1ec049-d395-47cf-81a0-475ed9a2241c |
| console | tty0 |
| created_at | 2019-09-16T17:06:19.948809+00:00 |
| hostname | controller-0 |
| id | 1 |
| install_output | text |
| install_state | None |
| install_state_info | None |
| inv_state | inventoried |
| invprovision | provisioning |
| location | {} |
| mgmt_ip | 192.168.204.3 |
| mgmt_mac | xx:xx:xx:xx:xx:f4 |
| operational | disabled |
| personality | controller |
| reserved | False |
| rootfs_device | /dev/disk/by-path/pci-0000:03:00.0-scsi-0:1:0:0 |
| serialid | None |
| software_load | 19.09 |
| subfunction_avail | online |
| subfunction_oper | disabled |
| subfunctions | controller,worker |
| task | Unlocking |
| tboot | false |
| ttys_dcd | None |
| updated_at | 2019-09-16T18:23:02.173472+00:00 |
| uptime | 9041 |
| uuid | b70c90b6-4e55-46fe-9615-0858b992e829 |
| vim_progress_status | None |
+---------------------+-------------------------------------------------+
Thank you very much for the help!!!!
Mariano
El lun., 16 sept. 2019 a las 18:18, Liu, Tao (<Tao.Liu at windriver.com>)
escribió:
> Hi Mariano,
>
>
>
> You will need to configure vSwitch memory for each NUMA node prior to
> unlock:
>
> system host-memory-modify -f <function> -1G <1G hugepages number>
> <hostname or id> <processor>
>
>
>
> system host-memory-modify -f vswitch -1G 1 controller-0 0
>
> system host-memory-modify -f vswitch -1G 1 controller-0 1
>
>
>
>
>
> Tao
>
>
>
> *From:* Mariano Ucha [mailto:lw2dht at gmail.com]
> *Sent:* Monday, September 16, 2019 5:04 PM
> *To:* starlingx-discuss at lists.starlingx.io
> *Subject:* [Starlingx-discuss] Get vSwitch socket memory must be
> allocated for numa node (0). after trying to unlock controller-0
>
>
>
> Hi guys!
>
>
>
> I'm trying to unlock a AIO-Simplex and i get this error message.
>
>
>
> [sysadmin at controller-0 log(keystone_admin)]$ system host-unlock
> controller-0
> vSwitch socket memory must be allocated for numa node (0).
>
>
>
> *I'm using OVS-DPDK*
>
>
>
> [sysadmin at controller-0 log(keystone_admin)]$ system show
> +----------------------+--------------------------------------+
> | Property | Value |
> +----------------------+--------------------------------------+
> | contact | None |
> | created_at | 2019-09-16T17:04:24.225055+00:00 |
> | description | None |
> | https_enabled | False |
> | location | None |
> | name | 352094b2-28d1-4eec-abd1-25be70d0c8b9 |
> | region_name | RegionOne |
> | sdn_enabled | False |
> | security_feature | spectre_meltdown_v1 |
> | service_project_name | services |
> | software_version | 19.09 |
> | system_mode | simplex |
> | system_type | All-in-one |
> | timezone | America/Buenos_Aires |
> | updated_at | 2019-09-16T17:19:59.886864+00:00 |
> | uuid | d464f593-3ef8-417d-a5f7-ce31edda5240 |
> | vswitch_type | ovs-dpdk |
> +----------------------+--------------------------------------+
>
>
>
> *Using this Build*
>
>
>
> ###
>
> ### StarlingX
>
> ### Built from master
>
> ###
>
>
>
> OS="centos"
>
> SW_VERSION="19.09"
>
> BUILD_TARGET="Host Installer"
>
> BUILD_TYPE="Formal"
>
> BUILD_ID="20190915T230000Z"
>
>
>
> JOB="STX_build_master_master"
>
> BUILD_BY="starlingx.build at cengn.ca"
>
> BUILD_NUMBER="251"
>
> BUILD_HOST="starlingx_mirror"
>
> BUILD_DATE="2019-09-15 23:00:00 +0000"
>
> But I get this error in a lost of build that i had downloaded.
>
>
>
> Any idea?
>
>
>
> Thanks,
>
> Mariano
>
>
>
>
>
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.starlingx.io/pipermail/starlingx-discuss/attachments/20190916/0a782b61/attachment-0001.html>
More information about the Starlingx-discuss
mailing list