CPU usage不刷新

问题描述

WEB上的CPU占用率一直显示93%,在host_agent记录的TotalCPUUsage始终没有刷新

~ ~ # busctl --user introspect bmc.kepler.host_agent /bmc/kepler/Systems/1/Sms/1/ComputerSystem/Systems/1/Summary
NAME                                TYPE      SIGNATURE RESULT/VALUE                             FLAGS
bmc.kepler.sms                      interface -         -                                        -
._40odata_2Econtext                 property  v         s "/redfish/v1/$metadata#ComputerSystem… -
._40odata_2Eid                      property  v         s "/bmc/kepler/Systems/1/Sms/1/Computer… -
._40odata_2Etype                    property  v         s "#ComputerSystem.v1_1_0.OemSummary"    -
bmc.kepler.sms.redfish              interface -         -                                        -
.Id                                 property  v         s "Summary"                              -
.Name                               property  v         s "Summary"                              -
.Storage                            property  v         av 4 s "{\"Usage\":33,\"OSDriveName\":\… -
._40odata_2Econtext                 property  v         s "/redfish/v1/$metadata#ComputerSystem… -
._40odata_2Eid                      property  v         s "/bmc/kepler/Systems/1/Sms/1/Computer… -
._40odata_2Etype                    property  v         s "#ComputerSystem.v1_1_0.OemSummary"    -
bmc.kepler.sms.redfish.Drives       interface -         -                                        -
.HDDPchMaxTempCelsius               property  v         s "null"                                 -
.HDDPchTopTempCelsiusList           property  v         ai 0                                     -
.M2PchMaxTempCelsius                property  v         s "null"                                 -
.NvmeMaxTempCelsius                 property  v         s "null"                                 -
.SSDPchMaxTempCelsius               property  v         s "null"                                 -
.SSDPchTopTempCelsiusList           property  v         ai 0                                     -
bmc.kepler.sms.redfish.Memory       interface -         -                                        -
.MemUsage                           property  v         d 29.91                                  -
.SystemMemoryBuffersGiB             property  v         d 0.03                                   -
.SystemMemoryCachedGiB              property  v         d 0.28                                   -
.TotalPhysicalMemoryGiB             property  v         s "null"                                 -
.TotalSystemMemoryGiB               property  v         d 251.62                                 -
.UsedSystemMemoryGiB                property  v         d 75.25                                  -
bmc.kepler.sms.redfish.Processor    interface -         -                                        -
.List                               property  v         ai 0                                     -
.TotalCPUUsage                      property  v         d 92.32                                  -
.iBMACPUUsage                       property  v         ai 0                                     -
bmc.kepler.sms.redfish.Swap         interface -         -                                        -
.SwapCapacityGiB                    property  v         x 4                                      -
.SwapUsage                          property  v         x 0                                      -
.UsedSwapCapacityGiB                property  v         x 0                                      -
org.freedesktop.DBus.Introspectable interface -         -                                        -
.Introspect                         method    -         s                                        -
org.freedesktop.DBus.ObjectManager  interface -         -                                        -
.GetManagedObjects                  method    -         a{oa{sa{sv}}}                            -
org.freedesktop.DBus.Peer           interface -         -                                        -
.GetMachineId                       method    -         s                                        -
.Ping                               method    -         -                                        -
org.freedesktop.DBus.Properties     interface -         -                                        -
.Get                                method    ss        v                                        -
.GetAll                             method    s         a{sv}                                    -
.Set                                method    ssv       -                                        -
.PropertiesChanged                  signal    sa{sv}as  -                                        -

iBMA启动了CPU信息的采集任务

2026-05-15 06:40:30,571 INFO MainProcess[2941] LeakyBucket.py[start 127] CPU: started timer <Timer(Thread-17, started 281472610988320)>, interval 100.
2026-05-15 06:40:30,572 INFO MainProcess[2941] LeakyBucket.py[start 127] MEM: started timer <Timer(Thread-18, started 281473004794144)>, interval 100.

veth网口通讯是正常的

[root@localhost ~]# ifconfig veth
veth: flags=67<UP,BROADCAST,RUNNING>  mtu 1500
        inet6 fe80::9e7d:a3ff:fe28:6ff9  prefixlen 64  scopeid 0x20<link>
        ether 9c:7d:a3:28:6f:f9  txqueuelen 128  (Ethernet)
        RX packets 118485  bytes 21338874 (20.3 MiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 111445  bytes 29270308 (27.9 MiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

可以查看一下bma是否正常工作

BMA是正常的

这种可以先在北向排查一下对应的后端资源树接口有没有值,再进一步缩小范围看下是bma到rackmount组件的哪个位置。