一、ISSUE链接
二、背景
机柜管理场景需支持电源开关机功能,当前电源复位方法不支持开关机设置,需要新增参数取值,同时开关机失败无相关错误引擎,需新增对应错误引擎接口信息。
三、决策点
1、资源协作接口新增电源开关机参数取值
2、新增电源上下电失败动作错误引擎PSUResetOperationNotAllowed
四、详细描述
一、 资源协作接口新增电源开关机参数取值
path:/bmc/kepler/Systems/:SystemId/PowerMgmt/OnePower/:Id
interface:bmc.kepler.Systems.PowerMgmt.OnePower
| 方法名称 | 变化类型 | 请求签名 | 响应签名 | 读写&权限 | 接口说明 | 接口约束 |
|---|---|---|---|---|---|---|
| Reset | 新增参数取值 | s | 无 | PowerMgmt | 复位电源请求:ResetType:复位类型(ForceRestart、ForceOff,ForceOn,On,PowerCycle)响应:NA | 无 |
Reset的取值为:ForceOff:强制关机、ForceOn:强制开机、ForceRestart:强制重启、PowerCycle:硬重启,其中ForceOff、ForceRestart、PowerCycle均会导致设置的电源无输出功率,需要考虑供电冗余,防止掉电,其余无影响。
二、新增电源上下电失败动作错误引擎PSUResetOperationNotAllowed
| 错误引擎标识 | 变化类型 | 错误描述 | 错误信息 | 参数类型 | 处理建议 | 严重程度 | HTTPCode | IPMICode | SNMPCode |
|---|---|---|---|---|---|---|---|---|---|
| PSUResetOperationNotAllowed | 新增 | PSU reset failed. The current status does not support the reset operation. | The current power supply working mode does not support this setting. | 无 | Set the power supply working mode to Sharing mode. | Warning | 405 | 0xFF | 5 |
五、评审结论
1、同意资源协作接口bmc.kepler.Systems.PowerMgmt.OnePower新增电源开关机参数取值,取值包括:ForceOff,ForceOn,ForceRestart,On,PowerCycle,具体如下:
path:/bmc/kepler/Systems/:SystemId/PowerMgmt/OnePower/:Id
interface:bmc.kepler.Systems.PowerMgmt.OnePower
变化类型:新增方法取值范围
| 方法名称 | 变化类型 | 请求签名 | 响应签名 | 读写&权限 | 接口说明 | 接口约束 |
|---|---|---|---|---|---|---|
| Reset | 新增参数取值 | s | 无 | PowerMgmt | 复位电源请求:ResetType:复位类型(ForceRestart、ForceOff,ForceOn,On,PowerCycle)响应:NA | 无 |
遗留问题及确认结论:
问题:结合redfish标准规范和电源能力,确认电源ResetType的取值范围
结论:经与电源部确认,并结合redfish标准规范,为保证方法可扩展性与规范性,电源ResetType的取值仅使用:ForceOff,ForceOn,ForceRestart,On,PowerCycle,其中ForceOff、ForceRestart、PowerCycle均会导致设置的电源无输出功率,需要考虑供电冗余,防止掉电,其余无影响。
2、同意新增电源上下电识别动作错误引擎PSUResetOperationNotAllowed,具体如下:
| 错误引擎标识 | 变化类型 | 错误描述 | 错误信息 | 参数类型 | 处理建议 | 严重程度 | HTTPCode | IPMICode | SNMPCode |
|---|---|---|---|---|---|---|---|---|---|
| PSUResetOperationNotAllowed | 新增 | PSU reset failed. The current status does not support the reset operation. | The current power supply working mode does not support this setting. | 无 | Set the power supply working mode to Sharing mode. | Warning | 405 | 0xFF | 5 |
遗留问题及确认结论
问题:处理建议中需将电源设置为Sharing模式,该字段是否支持动态参数,若支持则使用动态参数进行配置
结论:经确认,处理建议中无法使用动态参数