The host attribute max_cpu_mhz_configured is not set on host with multi-subfunctions
Bug #2058476 reported by
Poornima Y N
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
Low
|
Poornima Y N |
Bug Description
Setting max_cpu_
Expectation:
Without host lock/unlock we need to set the max_cpu_
summary: |
- The host attribute max_cpu_mhz_configured is not set + The host attribute max_cpu_mhz_configured is not set on host with + multi-subfunctions |
Changed in starlingx: | |
status: | New → In Progress |
Changed in starlingx: | |
importance: | Undecided → Low |
tags: | added: stx.10.0 stx.config |
Changed in starlingx: | |
assignee: | nobody → Poornima Y N (pyn1) |
To post a comment you must log in.
Reviewed: https:/ /review. opendev. org/c/starlingx /config/ +/913755 /opendev. org/starlingx/ config/ commit/ 7fc11de9eebef60 ef768b33d9183eb 8182d99989
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit 7fc11de9eebef60 ef768b33d9183eb 8182d99989
Author: Poornima Y N <email address hidden>
Date: Wed Mar 20 07:15:52 2024 -0400
Modify Host Personality for attribute max_cpu_ mhz_configured
Max_ cpu_mhz_ personality is the attribute of the host which
can be configured in host where turbo freq is enabled.In case
of host whose role is both controller and worker, the personality
for the attribute was not taken care to include such scenario.
Made the changes in the sysinv conductor to update the host
personalities based on the function that node operates, which
handles the scenario when the host acts as both controller and
worker node.
TEST PLAN: cpu_configurabl e parameter- list --name cpu_max_ freq_min_ percentage parameter- modify platform config cpu_max_ freq_min_ percentage= <> mhz_configured= <value in mhz>
PASS: Build and deploy ISO on Simplex
PASS: Check whether the max cpu freq set on a simplex
Below are the commands:
system host-show <host_id> | grep is_max_
system service-
system service-
system host-update <host_id> max_cpu_
After above commands check whether cpu is set using below command:
sudo turbostat
Closes-Bug: 2058476
Change-Id: I08a5d1400834af ca6a0eeaaa8813a c8d71a9db15
Signed-off-by: Poornima Y N <email address hidden>