OpenStack Compute (Nova)

Openstack api could return not found for unknown extensions

Reported by Stanislaw Pitucha on 2011-10-06
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Undecided
Stanislaw Pitucha
Diablo
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.

Changed in nova:
status: New → In Progress

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

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) on 2011-11-09
Changed in nova:
milestone: none → essex-1
Thierry Carrez (ttx) on 2011-11-17
Changed in nova:
status: Fix Committed → Fix Released

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) on 2012-04-03
Changed in nova:
assignee: nobody → Stanislaw Pitucha (stanislaw-pitucha)
Thierry Carrez (ttx) on 2012-04-05
Changed in nova:
milestone: essex-1 → 2012.1
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers