Bug 1225352
| Summary: | [abrt] blivet-gui: ValueError: requested size 0 B must fall between minimum size 186 MiB and maximum size 16 TiB | ||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Vojtech Trefny <vtrefny> | ||||||||||||||
| Component: | python-blivet | Assignee: | Vojtech Trefny <vtrefny> | ||||||||||||||
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||||||||||
| Severity: | unspecified | Docs Contact: | |||||||||||||||
| Priority: | unspecified | ||||||||||||||||
| Version: | 22 | CC: | amulhern, anaconda-maint-list, bcl, dlehman, vpodzime, vtrefny | ||||||||||||||
| Target Milestone: | --- | ||||||||||||||||
| Target Release: | --- | ||||||||||||||||
| Hardware: | x86_64 | ||||||||||||||||
| OS: | Unspecified | ||||||||||||||||
| URL: | https://retrace.fedoraproject.org/faf/reports/bthash/aca98441170d9afc2b7096d1637b3100368deaa1 | ||||||||||||||||
| Whiteboard: | abrt_hash:0530a6dcfa15c260ba0e4a93510951b4a34ea411eb119a56f37a5e9d1f7458f1 | ||||||||||||||||
| Fixed In Version: | python-blivet-1.0.10-1.fc22 | Doc Type: | Bug Fix | ||||||||||||||
| Doc Text: | Story Points: | --- | |||||||||||||||
| Clone Of: | Environment: | ||||||||||||||||
| Last Closed: | 2015-06-24 16:07:07 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: |
|
||||||||||||||||
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. |
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