Skip to content

FVT1060:Invalid power cap value is set via IPMI. #3639

@yadlapati

Description

@yadlapati

Description

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

Invalid power cap value is set via IPMI.

System details

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

System : bonn008(service/0penBmc0)

BMC fw : fw1060.00-4.33-1060.2410.20240308a (NL1060_033)

Steps to re- create

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

Step1 : Login to system

Step2: Executing the IPMI command to set the power cap value  600 and 500 , Min and Max value is 583 and 3982:

Value 600:

bash-4.2$ ipmitool -I lanplus -C 17 -N 3 -p 623 -U ipmi_admin -H bonn008.aus.stglabs.ibm.com dcmi power set_limit limit 600

Password:

    Current Limit State: Power Limit Active

    Exception actions:   Hard Power Off & Log Event to SEL

    Power Limit:         600 Watts

    Correction time:     0 milliseconds

    Sampling period:     0 seconds

Value 600 is set successfully

Step3:

Value 500:

bash-4.2$ ipmitool -I lanplus -C 17 -N 3 -p 623 -U ipmi_admin -H bonn008.aus.stglabs.ibm.com dcmi power set_limit limit 500

Password:

    Current Limit State: Power Limit Active

    Exception actions:   Hard Power Off & Log Event to SEL

    Power Limit:         500 Watts

    Correction time:     0 milliseconds

    Sampling period:     0 seconds

The Value 500 is below the minimum value ,but its taking the value has 556

Actual behaviour: Able to set a invalid value(below the minimum power cap value ) and with no error response for invalid value its able to set a random value.

Expected Behaviour: Need to get a error for setting a below minimum power cap value .

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