Bug 1224729

Summary: [abrt] blivet-gui: ValueError: new size will not yield an aligned partition
Product: [Fedora] Fedora Reporter: Sascha Zantis <sascha.zantis>
Component: blivet-guiAssignee: Vojtech Trefny <vtrefny>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 22CC: vtrefny
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/e461114c1457b41fdf5a87d99d317fb80d99dc52
Whiteboard: abrt_hash:4f07437de4f67485e96805c44723fec370f73c9241cf293f90cdc31c71f1f95c
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-05-26 08:00:53 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
File: backtrace
none
File: blivet-gui-tb
none
File: blivet.log
none
File: description
none
File: environ
none
File: program.log none

Description Sascha Zantis 2015-05-25 13:05:03 UTC
Description of problem:
I tried to resize an ext4 partition on a 3tb external usb disk.
I ran su -c "blivet-gui", clicked "edit" on the partition, entered the new size and clicked "ok" or whatever the name of the button is.

Version-Release number of selected component:
blivet-gui-0.2.4-1.fc22.noarch

Additional info:
reporter:       libreport-2.5.1
blivet-gui.log: 
cmdline:        /usr/bin/python  /usr/bin/blivet-gui
executable:     /usr/bin/blivet-gui
hashmarkername: blivet-gui
kernel:         4.0.4-300.fc22.x86_64
other involved packages: python-blivet-1.0.9-1.fc22.noarch
product:        Fedora
release:        Fedora release 22 (Twenty Two)
type:           Python
version:        22

Truncated backtrace:
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/blivetgui/blivetgui.py", line 278, in edit_device
    self._raise_exception(result.exception, result.traceback)
  File "/usr/lib/python2.7/site-packages/blivetgui/blivetgui.py", line 236, in _raise_exception
    raise six.reraise(type(exception), exception, traceback)
  File "/usr/lib/python2.7/site-packages/blivetgui/utils.py", line 551, in edit_partition_device
    self.storage.devicetree.registerAction(ac)
  File "/usr/lib/python2.7/site-packages/blivet/devicetree.py", line 493, in registerAction
    action.apply()
  File "/usr/lib/python2.7/site-packages/blivet/deviceaction.py", line 452, in apply
    self.device.targetSize = self._targetSize
  File "/usr/lib/python2.7/site-packages/blivet/devices/storage.py", line 275, in <lambda>
    lambda s, v: s._setTargetSize(v),
  File "/usr/lib/python2.7/site-packages/blivet/devices/partition.py", line 260, in _setTargetSize
    raise ValueError("new size will not yield an aligned partition")
ValueError: new size will not yield an aligned partition

Comment 1 Sascha Zantis 2015-05-25 13:05:06 UTC
Created attachment 1029450 [details]
File: backtrace

Comment 2 Sascha Zantis 2015-05-25 13:05:09 UTC
Created attachment 1029452 [details]
File: blivet-gui-tb

Comment 3 Sascha Zantis 2015-05-25 13:05:12 UTC
Created attachment 1029453 [details]
File: blivet.log

Comment 4 Sascha Zantis 2015-05-25 13:05:13 UTC
Created attachment 1029454 [details]
File: description

Comment 5 Sascha Zantis 2015-05-25 13:05:15 UTC
Created attachment 1029455 [details]
File: environ

Comment 6 Sascha Zantis 2015-05-25 13:05:16 UTC
Created attachment 1029456 [details]
File: program.log

Comment 7 Vojtech Trefny 2015-05-26 08:00:53 UTC

*** This bug has been marked as a duplicate of bug 1207798 ***