背景
用户使用web/cli接口进行BIOS固件导出,在上电状态下,BIOS flash控制权应该在BIOS侧,BMC不应切通道,如果在上电状态下进行BIOS固件导出,会将通道切到BMC侧,该操作有风险,因此在上电状态下,用户调用接口导出固件需要返回失败并显示对应错误信息
关联ISSUE
暂无
整体方案
新增错误引擎用于标识上电状态下不支持导出BIOS固件
评审点
是否新增错误引擎标识上电状态下不支持导出BIOS固件
详细描述
场景1:新增错误引擎ActionFailedByPowerOn
| 项目 | 值 |
|---|---|
| 错误引擎标识 | ActionFailedByPowerOn |
| 变化类型 | 新增 |
| 错误描述 | Operation failed. The current status does not support the operation. |
| 错误消息 | The operation %1 failed because the device is powered on. |
| 参数数量 | 1 |
| 参数类型 | string |
| 处理建议 | Try again after the device is powered off. |
| 严重程度 | Warning |
| HTTPCode | 400 |
| IPMICode | 0xFF |
| SNMPCode | 5 |
| TraceDepth | 0 |
配置:
"ActionFailedByPowerOn": {
"Description": "Operation failed. The current status does not support the operation.",
"Message": "The operation %1 failed because the device is powered on.",
"Severity": "Warning",
"NumberOfArgs": 1,
"ParamTypes": [
"string"
],
"Resolution": "Try again after the device is powered off.",
"HttpStatusCode": 400,
"IpmiCompletionCode": "0xFF",
"SnmpStatusCode": 5,
"TraceDepth": 0
}
评审结论
同意新增错误引擎ActionFailedByPowerOn用于表明上电状态下不支持导出BIOS固件,定义见详细描述
遗留问题
1.确认描述合理
已修改,确认合理