v2 volume api should return volumenotfound

Bug #1275755 reported by jichenjc
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Undecided
jichenjc

Bug Description

currently, NotFound exception was raised when no volume found in v2 api
this will not be helpful to user especially there is no 'ec2 error code' returned

Tags: api volumes
jichenjc (jichenjc)
Changed in nova:
assignee: nobody → jichencom (jichenjc)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova (master)

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

tags: added: testing
tags: added: gate
tags: removed: gate
Joe Gordon (jogo)
tags: removed: testing
Matt Riedemann (mriedem)
Changed in nova:
status: New → In Progress
tags: added: api volumes
Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

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

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

Reviewed: https://review.openstack.org/79882
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=280af85945d7ce8be60135fd364f22e1e8782b87
Submitter: Jenkins
Branch: master

commit 280af85945d7ce8be60135fd364f22e1e8782b87
Author: jichenjc <email address hidden>
Date: Sun Mar 2 13:34:12 2014 +0800

    Raise more information on V2 API volumes when resource not found

    NotFound exception is caught in volumes.py on v2 api
    and raise HTTPNotFound exception but exception information are
    not well specified. This patch adds more information
    to the raised exception.

    Change-Id: I2bd48503460662fcc648b31ade7156059b370f2b
    Closes-Bug: #1275755

Changed in nova:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in nova:
milestone: none → juno-1
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in nova:
milestone: juno-1 → 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.