Comment 43 for bug 1498163

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

Reviewed: https://review.openstack.org/229973
Committed: https://git.openstack.org/cgit/openstack/glance/commit/?id=15e34b54a5ad59d9aeb0284cc31453eb43b60cf1
Submitter: Jenkins
Branch: stable/kilo

commit 15e34b54a5ad59d9aeb0284cc31453eb43b60cf1
Author: Mike Fedosin <email address hidden>
Date: Thu Oct 1 18:28:48 2015 +0300

    Catch NotAuthenticated exception in import task

    If glance uses registry as data_api then it's possible
    that token may expire during image import task and Glance
    will have NotUauthenticated exception.

    This code adds a correct handling of this exception and
    allows Glance to remove stale chunks from store.

    Partial-Bug: #1498163

    Change-Id: Ia6e1fe0d27b13b920ee7e728feb5305dec77e066
    (cherry picked from ebdf076cc9bd5d9239cdc96c6e7cecc72f852bbb)