Description of problem: 1. Resize an extended partition 2. Click unfo Version-Release number of selected component: blivet-gui-0.3.3-2.fc23.noarch Additional info: reporter: libreport-2.6.0 blivet-gui.log: cmdline: /bin/python3 /usr/bin/blivet-gui executable: /usr/bin/blivet-gui hashmarkername: blivet-gui kernel: 4.2.0-0.rc0.git4.1.fc23.x86_64 product: Fedora release: Fedora release 23 (Rawhide) type: Python version: Rawhide Truncated backtrace: Traceback (most recent call last): File "/usr/lib/python3.4/site-packages/blivetgui/blivetgui.py", line 629, in actions_undo self.client.remote_call("blivet_cancel_actions", removed_actions) File "/usr/lib/python3.4/site-packages/blivetgui/communication/client.py", line 159, in remote_call raise type(ret.exception)(str(ret.exception) + "\n" + ret.traceback) # pylint: disable=maybe-no-member ValueError: new size will not yield an aligned partition Traceback (most recent call last): File "/usr/lib/python3.4/site-packages/blivetgui/communication/server.py", line 340, in _call_utils_method ret = utils_method(*args) File "/usr/lib/python3.4/site-packages/blivetgui/blivet_utils.py", line 1253, in blivet_cancel_actions self.storage.devicetree.cancelAction(action) File "/usr/lib/python3.4/site-packages/blivet/devicetree.py", line 346, in cancelAction action.cancel() File "/usr/lib/python3.4/site-packages/blivet/deviceaction.py", line 472, in cancel self.device.targetSize = self.origsize File "/usr/lib/python3.4/site-packages/blivet/devices/storage.py", line 234, in <lambda> lambda s, v: s._setTargetSize(v), File "/usr/lib/python3.4/site-packages/blivet/devices/partition.py", line 262, in _setTargetSize raise ValueError("new size will not yield an aligned partition") ValueError: new size will not yield an aligned partition
Created attachment 1064670 [details] File: backtrace
Created attachment 1064671 [details] File: blivet-gui-com.log
Created attachment 1064672 [details] File: blivet-gui-tb
Created attachment 1064673 [details] File: blivet.log
Created attachment 1064674 [details] File: description
Created attachment 1064675 [details] File: environ
Created attachment 1064676 [details] File: program.log
Original problem is that blivet reads currentSize for partitions in /sys and it reports the size as 2 sectors (1 KiB). ---------- $ cat /sys/block/vdf/vdf1/size 2 ---------- ActionResizeDevice then sets the original size (before resizing) of the partition to 1 KiB.
python-blivet-1.12.2-1.fc23 anaconda-23.19.2-1.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2015-15030
anaconda-23.19.2-1.fc23, python-blivet-1.12.2-1.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report.\nIf you want to test the update, you can install it with \n su -c 'yum --enablerepo=updates-testing update anaconda python-blivet'. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2015-15030
anaconda-23.19.2-1.fc23, python-blivet-1.12.2-1.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.