[blivet:rhel7/master] Make partitioning error message more friendly (#1020388)
mulhern
amulhern at redhat.com
Thu Feb 20 17:11:00 UTC 2014
Resolves: rhbz#1020388
Automatic partitioning is complicated and may fail for a number of reasons
besides an absolute lack of space. This message is supposed to be soothing
yet useful.
---
blivet/partitioning.py | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/blivet/partitioning.py b/blivet/partitioning.py
index 0076411..605f09f 100644
--- a/blivet/partitioning.py
+++ b/blivet/partitioning.py
@@ -1077,7 +1077,11 @@ def allocatePartitions(storage, disks, partitions, freespace):
break
if free is None:
- raise PartitioningError(_("unable to allocate a large enough partition"))
+ raise PartitioningError(
+ _("Unable to allocate requested partition scheme. "
+ "Consider reducing the size of any already allocated "
+ "partitions. If you are installing to disks of different "
+ "sizes, consider placing the larger disks first."))
_disk = use_disk
disklabel = _disk.format
--
1.8.3.1
More information about the anaconda-patches
mailing list