Show/Update/Delete IPSec connection APIs return 500 rather than 404 when resource not found

Bug #1361044 reported by Ma, Tianxiao
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Fix Released
Medium
Ilya Shakhat

Bug Description

Show/Update/Delete IPSec connection APIs return 500 rather than 404 when resource not found.

The following APIs is affected.

GET /v2.0/vpn/ipsec-siteconnections/{connection-id}
PUT /v2.0/vpn/ipsec-siteconnections/{connection-id}
DELETE /v2.0/vpn/ipsec-siteconnections/{connection-id}

Issuing above APIs with incorrect {connection-id} will get a 500 server internal error rather than 404: item not found.

Please check it, thank you!

OS: CentOS 6.5
Openstack: IceHouse

Ma, Tianxiao (matx-r)
description: updated
Changed in neutron:
importance: Undecided → Medium
assignee: nobody → Eugene Nikanorov (enikanorov)
Ilya Shakhat (shakhat)
Changed in neutron:
assignee: Eugene Nikanorov (enikanorov) → Ilya Shakhat (shakhat)
Ilya Shakhat (shakhat)
Changed in neutron:
status: New → Confirmed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to neutron (master)

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

Changed in neutron:
status: Confirmed → In Progress
Kyle Mestery (mestery)
Changed in neutron:
milestone: none → juno-3
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (master)

Reviewed: https://review.openstack.org/116904
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=a2ea7362111e2647477e503a53f650ce847753f7
Submitter: Jenkins
Branch: master

commit a2ea7362111e2647477e503a53f650ce847753f7
Author: Ilya Shakhat <email address hidden>
Date: Tue Aug 26 18:24:20 2014 +0400

    Fixed template of IPsecSiteConnectionNotFound message

    Closes bug 1361044

    Change-Id: I667f066e6187e953d467428e9990fa76adfc365b

Changed in neutron:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in neutron:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in neutron:
milestone: juno-3 → 2014.2
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.