Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [reno] Clarify fix for inspect validation failures | Ruby Loo | 2017-07-10 | 1 | -2/+3 |
| | | | | | | | | | This updates the reno for 3bda561e318e0172d6209f1580340ed9a04a161d to clarify what was being fixed (returning HTTP 400 instead of HTTP 500). Change-Id: I412b650a22af3fdbaa92771c66eb37f3c07b7243 Related-Bug: #1686457 | ||||
* | Raise HTTP 400 rather than 500 error | Galyna Zholtkevych | 2017-07-07 | 1 | -0/+4 |
Currently conductor method inspecting hardware raises HardwareInspectionFailure with 500 Internal Error if driver.power.validate fail (e.g. , ``driver_info`` is not provided or some fields are missing). Since this is an apparent client error, an HTTP error code 400-Bad request is more appropriate. The validation method actually raises this needed error and catching this is not needed anymore. Change-Id: I080dedeac7ce33135fde8c53494e618ccf07c941 Closes-Bug: #1686457 |