Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
yadlapati opened this issue Jul 24, 2024 · 0 comments
Labels
bug Something isn't working ReadyForDev Stories ready for development work

Comments

@yadlapati
Copy link

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.

@yadlapati yadlapati added bug Something isn't working ReadyForDev Stories ready for development work labels Jul 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working ReadyForDev Stories ready for development work
Projects
None yet
Development

No branches or pull requests

1 participant