Description of problem: 1. Resize an LV. 2. Click on Undo. Version-Release number of selected component: blivet-gui-0.2.7 Additional info: reporter: libreport-2.5.1 blivet-gui.log: cmdline: /bin/python2 blivet-gui executable: blivet-gui hashmarkername: blivet-gui kernel: 4.0.3-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 "/media/Projekty/blivet-gui/blivetgui/blivetgui.py", line 581, in actions_undo self.blivet_utils.blivet_cancel_actions(removed_actions) File "/media/Projekty/blivet-gui/blivetgui/utils.py", line 1202, in blivet_cancel_actions self.storage.devicetree.cancelAction(action) File "/usr/lib/python2.7/site-packages/blivet/devicetree.py", line 516, in cancelAction action.cancel() File "/usr/lib/python2.7/site-packages/blivet/deviceaction.py", line 778, in cancel self.device.format.targetSize = self.origSize File "/usr/lib/python2.7/site-packages/blivet/formats/fs.py", line 204, in _setTargetSize raise ValueError("requested size %s must fall between minimum size %s and maximum size %s" % (newsize, self.minSize, self.maxSize)) ValueError: requested size 0 B must fall between minimum size 186 MiB and maximum size 16 TiB
Created attachment 1030384 [details] File: backtrace
Created attachment 1030385 [details] File: blivet-gui-tb
Created attachment 1030386 [details] File: blivet.log
Created attachment 1030387 [details] File: description
Created attachment 1030388 [details] File: environ
Created attachment 1030389 [details] File: program.log
Happens when cancelling ActionResizeFormat. Same problem with newest (rawhide) version of blivet. Steps to reproduce with blivet: >>> import blivet; b=blivet.Blivet(); b.reset() >>> b.reset() >>> sda1 = b.devicetree.getDeviceByName("sda1") >>> sda1.format.updateSizeInfo() >>> ac = blivet.deviceaction.ActionResizeFormat(sda1, blivet.size.Size("500 MiB")) >>> b.devicetree.registerAction(ac) >>> b.devicetree.cancelAction(ac)
python-blivet-1.0.10-1.fc22 has been submitted as an update for Fedora 22. https://admin.fedoraproject.org/updates/python-blivet-1.0.10-1.fc22
Package python-blivet-1.0.10-1.fc22: * should fix your issue, * was pushed to the Fedora 22 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing python-blivet-1.0.10-1.fc22' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2015-10386/python-blivet-1.0.10-1.fc22 then log in and leave karma (feedback).
python-blivet-1.0.10-1.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report.