Skip to content

Rainier:Power cap value is getting set incorrectly via IPMI when large value is provided #3644

Open
@yadlapati

Description

@yadlapati

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

======================

  1. Reboot BMC
  2. Perform GET operation via Redfish

vidya.kalasappanavar@VidyaKalasappanavars-MacBook-Pro ~ % curl -k -H "X-Auth-Token: $bmc_token" -H "Content-Type: application/octet-stream" -X GET https://${bmc_ip}/redfish/v1/Chassis/chassis/EnvironmentMetrics

{

  "@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

  }

}%

  1. 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    ReadyForDevStories ready for development workbugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions