Comment 5 for bug 1858390

Revision history for this message
Chiinting-Huang (tad3420077) wrote :

Hi Chen,

Following is my result

[sysadmin@controller-0 ~(keystone_admin)]$ system host-memory-modify controller-0 0 -1G 100
+-------------------------------------+--------------------------------------+
| Property | Value |
+-------------------------------------+--------------------------------------+
| Memory: Usable Total (MiB) | 0 |
| Platform (MiB) | 7000 |
| Available (MiB) | 0 |
| Huge Pages Configured | True |
| vSwitch Huge Pages: Size (MiB) | 1024 |
| Total | 0 |
| Available | 0 |
| Required | None |
| Application Pages (4K): Total | None |
| Application Huge Pages (2M): Total | 0 |
| Available | 0 |
| Application Huge Pages (1G): Total | 0 |
| Total Pending | 100 |
| Available | 0 |
| uuid | ba4eb100-03aa-4c8d-a54d-5871b0bf7b58 |
| ihost_uuid | 62ee2379-1d54-4f44-b0b0-75ad83fa145b |
| inode_uuid | 86e377c6-f421-4e0a-8c6a-59a2ec3085d4 |
| created_at | 2020-01-07T03:50:38.070310+00:00 |
| updated_at | 2020-01-07T05:33:07.200999+00:00 |
+-------------------------------------+--------------------------------------+
[sysadmin@controller-0 ~(keystone_admin)]$ system host-memory-modify controller-0 1 -1G 100
+-------------------------------------+--------------------------------------+
| Property | Value |
+-------------------------------------+--------------------------------------+
| Memory: Usable Total (MiB) | 0 |
| Platform (MiB) | 1000 |
| Available (MiB) | 0 |
| Huge Pages Configured | True |
| vSwitch Huge Pages: Size (MiB) | 1024 |
| Total | 0 |
| Available | 0 |
| Required | None |
| Application Pages (4K): Total | None |
| Application Huge Pages (2M): Total | 0 |
| Available | 0 |
| Application Huge Pages (1G): Total | 0 |
| Total Pending | 100 |
| Available | 0 |
| uuid | a6a48f19-aa6a-4bbc-86a5-8ebfa534a2fc |
| ihost_uuid | 62ee2379-1d54-4f44-b0b0-75ad83fa145b |
| inode_uuid | 44373052-19dc-40a6-9931-bc8d046c9a97 |
| created_at | 2020-01-07T03:50:38.114011+00:00 |
| updated_at | 2020-01-07T05:33:07.233309+00:00 |
+-------------------------------------+--------------------------------------+

[sysadmin@controller-0 ~(keystone_admin)]$ system host-memory-list controller-0
+-----------+---------+------------+---------+----------------+--------+--------+--------+-------+--------+--------+--------+----------+--------+--------+----------+-----------+
| processor | mem_tot | mem_platfo | mem_ava | hugepages(hp)_ | vs_hp_ | vs_hp_ | vs_hp_ | vs_hp | app_to | app_hp | app_hp | app_hp_p | app_hp | app_hp | app_hp_p | app_hp_us |
| | al(MiB) | rm(MiB) | il(MiB) | configured | size(M | total | avail | _reqd | tal_4K | _total | _avail | ending_2 | _total | _avail | ending_1 | e_1G |
| | | | | | iB) | | | | | _2M | _2M | M | _1G | _1G | G | |
+-----------+---------+------------+---------+----------------+--------+--------+--------+-------+--------+--------+--------+----------+--------+--------+----------+-----------+
| 0 | 0 | 7000 | 0 | True | 1024 | 0 | 0 | None | None | 0 | 0 | None | 0 | 0 | 100 | True |
| 1 | 0 | 1000 | 0 | True | 1024 | 0 | 0 | None | None | 0 | 0 | None | 0 | 0 | 100 | True |
+-----------+---------+------------+---------+----------------+--------+--------+--------+-------+--------+--------+--------+----------+--------+--------+----------+-----------+