Comment 3 for bug 1504184

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

Reviewed: https://review.openstack.org/235841
Committed: https://git.openstack.org/cgit/openstack/glance/commit/?id=5734d7c16f3a41c250249f538f70634ad521207e
Submitter: Jenkins
Branch: master

commit 5734d7c16f3a41c250249f538f70634ad521207e
Author: Martin Tsvetanov <email address hidden>
Date: Fri Oct 16 10:28:01 2015 +0000

    Fixed registry invalid token exception handling

    When the registry has an error validating the token that the api
    has sent it a 500 is returned rather than 401. This fix catches the
    NotAuthenticated exception and throws an HTTPUnauthorized instead.

    Change-Id: I405cd98346e2df06c02e37bfdf903a54a29f7b19
    Closes-bug:1504184