commit 5be26e13ade3f33b98f551940ca39b25a5790c80
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.
Reviewed: https:/ /review. openstack. org/229971 /git.openstack. org/cgit/ openstack/ glance/ commit/ ?id=5be26e13ade 3f33b98f551940c a39b25a5790c80
Committed: https:/
Submitter: Jenkins
Branch: master
commit 5be26e13ade3f33 b98f551940ca39b 25a5790c80
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: Ia6e1fe0d27b13b 920ee7e728feb53 05dec77e066