Merge "Hint at sector sizes when reporting an invalid written image"

This commit is contained in:
Zuul
2025年07月25日 07:10:23 +00:00
committed by Gerrit Code Review

View File

@@ -843,7 +843,8 @@ def _validate_partitioning(device):
except (processutils.UnknownArgumentError,
processutils.ProcessExecutionError, OSError) as e:
msg = ("Unable to find a valid partition table on the disk after "
f"writing the image. The image may be corrupted. Error: {e}")
"writing the image. The image may be corrupted or it uses a "
f"different sector size than the device. Error: {e}")
raise errors.DeploymentError(msg)
# Check if there is at least one partition in the partition table after
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.