Compare commits

..

1 Commits

Author SHA1 Message Date
Antonin Ruan 1731518127 Direct download for object storage
PCI-32289
2026-03-26 16:03:50 -04:00
+3
View File
@@ -268,6 +268,9 @@ class Controller(object):
LOG.warn("Direct download for %s failed, falling back to "
"download from Glance", image_id)
file_fallback = True
except exc.HTTPForbidden as e:
LOG.warn("Error while direct downloading %s: %s", image_id, e)
raise e
else:
if resp.status_code == codes.no_content:
return None, resp