summaryrefslogtreecommitdiff
path: root/releasenotes/notes/raise-bad-request-exception-on-validating-inspection-failure-57d7fd2999cf4ecf.yaml
Commit message (Collapse)AuthorAgeFilesLines
* [reno] Clarify fix for inspect validation failuresRuby Loo2017-07-101-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 errorGalyna Zholtkevych2017-07-071-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