Description
Description:
Power cap value is getting set incorrectly via IPMI when large value is provided
System details:
BMC FW:fw1060.10-3-1060.2426.20240701b (NL1060_061)
Steps to re- create
======================
- Reboot BMC
- Perform GET operation via Redfish
vidya.kalasappanavar@VidyaKalasappanavars-MacBook-Pro ~ % curl -k -H "X-Auth-Token:
{
"@odata.id": "/redfish/v1/Chassis/chassis/EnvironmentMetrics",
"@odata.type": "#EnvironmentMetrics.v1_3_0.EnvironmentMetrics",
{
"DataSourceUri": "/redfish/v1/Chassis/chassis/Sensors/fan1_0",
"DeviceName": "Chassis Fan #fan1_0",
"SpeedRPM": 11980.0
},
{
"DataSourceUri": "/redfish/v1/Chassis/chassis/Sensors/fan0_1",
"DeviceName": "Chassis Fan #fan0_1",
"SpeedRPM": 17688.0
},
{
"DataSourceUri": "/redfish/v1/Chassis/chassis/Sensors/fan0_0",
"DeviceName": "Chassis Fan #fan0_0",
"SpeedRPM": 12019.0
}
],
],
"[email protected]": 12,
"Id": "EnvironmentMetrics",
"Name": "Chassis Environment Metrics",
"PowerLimitWatts": {
"AllowableMax": 4294967295,
"AllowableMin": 0,
"ControlMode": "Automatic",
"SetPoint": 1928
}
}%
- Trying to set the power cap value "4294967111" via IPMI .And get command to check the power cap value.
bash-4.4$ ipmitool -I lanplus -C 17 -N 3 -p 623 -U ipmi_admin -P 0penBmc0 -H rain57bmc.aus.stglabs.ibm.com dcmi power set_limit limit 4294967111
Current Limit State: Power Limit Active
Exception actions: Hard Power Off & Log Event to SEL
Power Limit: 65351 Watts
Correction time: 0 milliseconds
Sampling period: 0 seconds
bash-4.4$ ipmitool -I lanplus -C 17 -N 3 -p 623 -U ipmi_admin -P 0penBmc0 -H rain57bmc.aus.stglabs.ibm.com dcmi power get_limit
Current Limit State: Power Limit Active
Exception actions: Hard Power Off & Log Event to SEL
Power Limit: 65351 Watts
Correction time: 0 milliseconds
Sampling period: 0 seconds
Actual behaviour: Unable to set the near to maximum power cap value
Expected Behaviour: Need to set the power cap value via IPMI.