cinder os-force_detach action api 202 accepted even if required "connector" parameter is not passed in request body
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cinder |
Fix Released
|
Low
|
luqitao |
Bug Description
In case of "lvm" backend if user does not passed "connector" parameter in the request body of "os-force_detach" action api then it returns the 202 accepted but as per the api-ref document [1] "connector" is the mandatory parameter, so in this case it should return 400 BadRequest.
Input:
curl -g -i -X POST http://
OutPut:
HTTP/1.1 202 Accepted
Content-Type: text/html; charset=UTF-8
Content-Length: 0
X-Openstack-
Date: Fri, 02 Sep 2016 09:12:54 GMT
[1] http://
Changed in cinder: | |
assignee: | nobody → Bhagyashri Shewale (bhagyashri-shewale) |
Changed in cinder: | |
importance: | Undecided → Low |
tags: | added: bugsmash |
Changed in cinder: | |
assignee: | Bhagyashri Shewale (bhagyashri-shewale) → luqitao (qtlu) |
This bug has been fixed in master branch