Horizon 'app_hp_use_1G' column set as 'True' after setting to use 2M hugepages

Bug #2045676 reported by Fabrizio Perez
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
StarlingX
Fix Released
Low
Fabrizio Perez

Bug Description

Brief Description
-----------------
After changing the host huge pages from 1G to 2M, verified that the app_hp_use_1G remains True.

According to StarlingX doc, the column app_hp_use_1G, indicates if apps are using 1GiB huge pages. If the value is false, they are using 2MiB pages.

Severity
--------

<Minor: System/Feature is usable with minor issue>

Steps to Reproduce
------------------

    Access StarlingX GUI
    Go to Host Inventory -> Select a host and click on Lock Host and wait for it to finish, click on the Host name.
    With the Host page open, go to the Memory tab and click on Update Metadata
    Change the host to use 2M huge page instead of 1G.
    After the change, Unlock the Host
    Then access the CLI and type system host-memory-list <host>
    it will show app_hp_use_1G with the value True

Expected Behavior
------------------
app_hp_use_1G set as False

Actual Behavior
----------------
app_hp_use_1G set as True

Reproducibility
---------------
It is 100% Reproducible

System Configuration
--------------------
Standard

Branch/Pull Time/Commit
-----------------------

Last Pass
---------
Did this test scenario pass previously? If so, please indicate the load/pull time info of the last pass.
Use this section to also indicate if this is a new test scenario.

Timestamp/Logs

--------------
[sysadmin@controller-0 ~(keystone_admin)]$ system host-memory-list compute-1
+-----------+---------+------------+---------+----------------+--------+--------+--------+-------+----------+-------------+--------+--------+----------------+-----------------+-----------------+-------------------+---------------+
| processor | mem_tot | mem_platfo | mem_ava | hugepages(hp)_ | vs_hp_ | vs_hp_ | vs_hp_ | vs_hp | app_tota | app_hp_as_p | app_hp | app_hp | app_hp_pending | app_hp_total_1G | app_hp_avail_1G | app_hp_pending_1G | app_hp_use_1G |
| | al(MiB) | rm(MiB) | il(MiB) | configured | size(M | total | avail | _reqd | l_4K | ercentage | _total | _avail | _2M | | | | |
| | | | | | iB) | | | | | | _2M | _2M | | | | | |
+-----------+---------+------------+---------+----------------+--------+--------+--------+-------+----------+-------------+--------+--------+----------------+-----------------+-----------------+-------------------+---------------+
| 0 | 8457 | 7000 | 7433 | True | 1024 | 1 | 0 | None | 1902848 | False | 0 | 0 | None | 0 | 0 | None | True |
| 1 | 15079 | 1000 | 14055 | True | 1024 | 1 | 0 | None | 3598080 | False | 0 | 0 | None | 0 | 0 | None | True |
+-----------+---------+------------+---------+----------------+--------+--------+--------+-------+----------+-------------+--------+--------+----------------+-----------------+-----------------+-------------------+---------------+

Test Activity
-------------
Feature Testing

Workaround
----------
Describe workaround if available

Changed in starlingx:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to config (master)

Reviewed: https://review.opendev.org/c/starlingx/config/+/902611
Committed: https://opendev.org/starlingx/config/commit/047726123a6d85360699a9da68cff2fb1eff4ef5
Submitter: "Zuul (22348)"
Branch: master

commit 047726123a6d85360699a9da68cff2fb1eff4ef5
Author: fperez <email address hidden>
Date: Tue Dec 5 02:07:06 2023 -0300

    Modify Memory Field Names

    Some field names have been modified in this commit to clarify the
    information displayed when running "host-memory-list" and
    "host-memory-show". The reason is that certain fields, including
    those being modified, refer to huge pages in general without any
    distinction (vSwitch or application)

    Test plan:
    PASS: Modify names and values in a worker system and verify that
          the information is displayed correctly.

    Closes-Bug: 2045676

    Change-Id: I530c28b421807397af783fa3944d1dfd82bd0b27
    Signed-off-by: fperez <email address hidden>

Changed in starlingx:
status: In Progress → Fix Released
Ghada Khalil (gkhalil)
Changed in starlingx:
importance: Undecided → Low
tags: added: stx.9.0 stx.config
Changed in starlingx:
assignee: nobody → Fabrizio Perez (fperezwindriver)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.