volume manage api should return 400 for invalid or non-existing volume-type
Bug #1632727 reported by
Dinesh Bhor
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cinder |
Fix Released
|
Low
|
Dinesh Bhor |
Bug Description
If you pass non-existing volume-type to the volume manage API, then it returns 404 HTTPNotFound error.
According to api guidelines [1] it should return 400 HTTPBadRequest.
[1] https:/
Command:
$ cinder manage ubuntu@
ERROR: Volume type with name lvmdriver-1111 could not be found. (HTTP 404) (Request-ID: req-ef585ce0-
Changed in cinder: | |
assignee: | nobody → Dinesh Bhor (dinesh-bhor) |
Changed in masakari: | |
assignee: | nobody → Dinesh Bhor (dinesh-bhor) |
Changed in cinder: | |
importance: | Undecided → Low |
status: | New → Confirmed |
no longer affects: | masakari |
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/386410
Review: https:/