Openstack api could return not found for unknown extensions

Bug #869153 reported by Stanislaw Pitucha
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Undecided
Stanislaw Pitucha
Diablo
Fix Released
Undecided
Unassigned

Bug Description

Uncaptured exceptions are raised when someone tries to access an unknown openstack api exception. This should probably be http 404 for consistency with standards.

Revision history for this message
Stanislaw Pitucha (stanislaw-pitucha) wrote :
Changed in nova:
status: New → In Progress
Revision history for this message
Openstack Gerrit (openstack-gerrit) wrote : A change has been merged to openstack/nova

Reviewed: https://review.openstack.org/803
Committed: http://github.com/openstack/nova/commit/2915e6ba054b1f4100f788603358ea5b2b8220d5
Submitter: Jenkins
Branch: master

 status fixcommitted
 done

commit 2915e6ba054b1f4100f788603358ea5b2b8220d5
Author: Ahmad Hassan <email address hidden>
Date: Wed Oct 5 17:02:45 2011 +0100

    Make sure unknown extensions return 404

    At the moment, if an extension doens't exist and we call a show method
    with wrong id then the exception is not captured. There is a need to
    return NOTFOUND exception.
    Fixes bug 869153.

    Change-Id: Ie0b2c2e87c5a61f6db74bb10a4740add2ab8ea27

Changed in nova:
status: In Progress → Fix Committed
Revision history for this message
Openstack Gerrit (openstack-gerrit) wrote : Fix merged to nova (stable/diablo)

Reviewed: https://review.openstack.org/1083
Committed: http://github.com/openstack/nova/commit/0ca35753f5f5a506162fde679ae7719d5d22f8e0
Submitter: Jenkins
Branch: stable/diablo

 status fixcommitted
 done

commit 0ca35753f5f5a506162fde679ae7719d5d22f8e0
Author: Ahmad Hassan <email address hidden>
Date: Wed Oct 5 17:02:45 2011 +0100

    Make sure unknown extensions return 404

    At the moment, if an extension doens't exist and we call a show method
    with wrong id then the exception is not captured. There is a need to
    return NOTFOUND exception.
    Fixes bug 869153.

    (cherry picked from commit 2915e6ba054b1f4100f788603358ea5b2b8220d5)

    Change-Id: Ia20acf28389ca91308b62388e1e0d2fe4c227047

Thierry Carrez (ttx)
Changed in nova:
milestone: none → essex-1
Thierry Carrez (ttx)
Changed in nova:
status: Fix Committed → Fix Released
Revision history for this message
Martin Pitt (pitti) wrote : Please test proposed package

Hello Stanislaw, or anyone else affected,

Accepted nova into oneiric-proposed, the package will build now and be available in a few hours. Please test and give feedback here. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance!

tags: added: verification-needed
Mark McLoughlin (markmc)
Changed in nova:
assignee: nobody → Stanislaw Pitucha (stanislaw-pitucha)
Thierry Carrez (ttx)
Changed in nova:
milestone: essex-1 → 2012.1
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.