Comment 4 for bug 1243485

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

Reviewed: https://review.openstack.org/53443
Committed: http://github.com/openstack/cinder/commit/4adf35778b3aae3db99a90a1bbb94e668ec7963d
Submitter: Jenkins
Branch: master

commit 4adf35778b3aae3db99a90a1bbb94e668ec7963d
Author: John Griffith <email address hidden>
Date: Wed Oct 23 20:08:30 2013 +0000

    Handle NotFound exceptions in API

    There were a number of calls in the API that
    weren't catching NotFound exceptions. The result is
    unhandled exception traces and errors in the logs on good
    runs in tempest.

    Basicly any negative test that requests a non-existent element
    would result in an unhandled exception. This patch adds try/except
    around the volume_api.getxxx calls in cinder/api/... methods to
    clean this up.

    Closes-bug: #1243485

    Change-Id: I902acc7f4fdbc20fdb1a68697679417694c5533e