| provision_state | active
"PowerState": "On",
Пробую руками:
redfishtool -u ADMIN -p my_pw -r ipmi.my_server.tech.local -d '{"ResetType": "ForceRestart"}' raw POST
https://ipmi.my_server.tech.local/redfish/v1/Systems/1/Actions/ComputerSystem.Reset{
"Success": {
"code": "Base.v1_4_0.Success",
"Message": "Successfully Completed Request."
}
}
"PowerState": "On"
В консоли вижу перезагрузку.
А теперь пробую ребилд.
ironic --ironic-api latest node-set-provision-state my_server rebuild
Сначала редфиш долго тупит и вообще на запросы не отвечает, секунд тридцать:
redfishtool: raw: Error getting response
Потом:
"PowerState": "Off"
В логах conductor:
DEBUG sushy.connector [req-b6215b6a-99bd-44aa-9d54-00d4b73db37c 2fcafa3e60ce4308a06a94f65968cd10 e0381007ae7a4fb2843942ca3f111352 - - -] HTTP request: POST
https://ipmi.my_server.tech.local/redfish/v1/Systems/1/Actions/ComputerSystem.Reset; headers: None; body: {'ResetType': 'ForceRestart'}; session arguments: {}; _op /usr/local/lib/python2.7/dist-packages/sushy/connector.py:79
2019-06-04 14:11:55.587 8991 DEBUG sushy.connector [req-b6215b6a-99bd-44aa-9d54-00d4b73db37c 2fcafa3e60ce4308a06a94f65968cd10 e0381007ae7a4fb2843942ca3f111352 - - -] HTTP response for POST
https://ipmi.my_server.tech.local/redfish/v1/Systems/1/Actions/ComputerSystem.Reset: status code: 200 _op /usr/local/lib/python2.7/dist-packages/sushy/connector.py:106