Uncaught ManagedObjectNotFoundError exception leads to 500 error

Bug #1736679 reported by Abhishek Kekane
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cursive
Fix Released
Undecided
Abhishek Kekane

Bug Description

ManagedObjectNotFoundError which is raised from a several places of castellan library (for example castellan/key_manager/barbican_key_manager.py) is not caught in signature_utils.py

For more reference please check glance bug https://bugs.launchpad.net/glance/+bug/1736332

Changed in cursive:
assignee: nobody → Abhishek Kekane (abhishek-kekane)
description: updated
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to cursive (master)

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

Changed in cursive:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to cursive (master)

Reviewed: https://review.openstack.org/526016
Committed: https://git.openstack.org/cgit/openstack/cursive/commit/?id=74ca49cab6109a7267d0cbdda6ef7ef667a04e88
Submitter: Zuul
Branch: master

commit 74ca49cab6109a7267d0cbdda6ef7ef667a04e88
Author: Abhishek Kekane <email address hidden>
Date: Wed Dec 6 10:03:05 2017 +0000

    Uncaught ManagedObjectNotFoundError exception leads to 500 error

    ManagedObjectNotFoundError which is raised from a several places of
    castellan library
    (for example castellan/key_manager/barbican_key_manager.py) is not
    caught in signature_utils.py.

    Caught ManagedObjectNotFoundError and raised SignatureVerificationError
    to avoid 500 error response.

    Change-Id: Ia8310f8cc9604d11cc4a25617b55a1b61436cd71
    Closes-Bug: #1736679

Changed in cursive:
status: In Progress → Fix Released
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.