diff --git a/glance/store/__init__.py b/glance/store/__init__.py index b16fc5badd..fa80b15236 100644 --- a/glance/store/__init__.py +++ b/glance/store/__init__.py @@ -658,9 +658,9 @@ def get_data(self): return data except Exception as e: - LOG.warn(_('Get image %(id)s data from %(loc)s ' - 'failed: %(err)s.') % {'id': self.image.image_id, - 'loc': loc, 'err': e}) + LOG.warn(_('Get image %(id)s data failed: ' + '%(err)s.') % {'id': self.image.image_id, + 'err': e}) err = e # tried all locations LOG.error(_('Glance tried all locations to get data for image %s '