Merge "Trivial - Follow Up: No Retry on Disk Space Error"

This commit is contained in:
Zuul
2025年01月20日 23:48:49 +00:00
committed by Gerrit Code Review

View File

@@ -698,13 +698,13 @@ def _download_image(image_info):
except OSError as e:
if e.errno == errno.ENOSPC:
msg = ('Unable to write image to {}. Error: {}'
).format(image_location, str(e))
).format(image_location, e)
raise errors.ImageDownloadOutofSpaceError(
image_info['id'], msg)
raise
except errors.ImageDownloadOutofSpaceError:
raise
except Exception as e:
if isinstance(e, errors.ImageDownloadOutofSpaceError):
raise
msg = 'Unable to write image to {}. Error: {}'.format(
image_location, str(e))
raise errors.ImageDownloadError(image_info['id'], msg)
Reference in New Issue
openstack/ironic-python-agent
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.

The note is not visible to the blocked user.