initialize and terminate connection should check "connector" in request

Bug #1253944 reported by huangtianhua on 2013-11-22
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cinder
Undecided
Avishay Traeger

Bug Description

Initialize and terminate connection should check whether "connector" is in request body.
It throws 500 error. We should catch the KeyError and transfer it to 400(HTTPBadRequest) instead of.

Changed in cinder:
assignee: nobody → huangtianhua (huangtianhua)

Fix proposed to branch: master
Review: https://review.openstack.org/57869

Changed in cinder:
status: New → In Progress
Changed in cinder:
assignee: huangtianhua (huangtianhua) → Avishay Traeger (avishay-il)

Reviewed: https://review.openstack.org/57869
Committed: http://github.com/openstack/cinder/commit/60f5b775eb1306c2460a73940ef709ed62eae4e2
Submitter: Jenkins
Branch: master

commit 60f5b775eb1306c2460a73940ef709ed62eae4e2
Author: huangtianhua <email address hidden>
Date: Fri Nov 22 17:02:32 2013 +0800

    Initialize and terminate connection raise 500 err

    Initialize and terminate connection should check whether "connector" is
    in request body. It throws 500 error if "connector" is not present. We
    should catch the KeyError and transfer it to 400 (HTTPBadRequest)
    instead of.

    Closes-Bug: #1253944
    Change-Id: If38419592701c8a14df52f94fd46ed0fc7a17e04

Changed in cinder:
status: In Progress → Fix Committed
Thierry Carrez (ttx) on 2013-12-04
Changed in cinder:
milestone: none → icehouse-1
status: Fix Committed → Fix Released
Thierry Carrez (ttx) on 2014-04-17
Changed in cinder:
milestone: icehouse-1 → 2014.1
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers