Bug 1250890 - [abrt] blivet-gui: _ped.PartitionException: Can't have overlapping partitions. Traceback (most recent call last): File "/usr/lib/python3.4/site-packages/blivetgui/blivet_utils.py", line 672, in edit_partition_device self.storage.devicetree.regist...
Summary: [abrt] blivet-gui: _ped.PartitionException: Can't have overlapping partitions...
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: python-blivet
Version: rawhide
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Vojtech Trefny
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:51ab55f0d725def931b049e3ae2...
: 1230171 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-08-06 08:56 UTC by Vojtech Trefny
Modified: 2015-08-27 17:58 UTC (History)
5 users (show)

Fixed In Version: 23.19.1-1.fc23
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-08-27 17:58:45 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (1.36 KB, text/plain)
2015-08-06 08:56 UTC, Vojtech Trefny
no flags Details
File: blivet-gui-com.log (19.46 KB, text/plain)
2015-08-06 08:56 UTC, Vojtech Trefny
no flags Details
File: blivet-gui-tb (179.26 KB, text/plain)
2015-08-06 08:56 UTC, Vojtech Trefny
no flags Details
File: blivet.log (132.50 KB, text/plain)
2015-08-06 08:56 UTC, Vojtech Trefny
no flags Details
File: description (1.44 KB, text/plain)
2015-08-06 08:56 UTC, Vojtech Trefny
no flags Details
File: environ (3.22 KB, text/plain)
2015-08-06 08:56 UTC, Vojtech Trefny
no flags Details
File: program.log (24.68 KB, text/plain)
2015-08-06 08:56 UTC, Vojtech Trefny
no flags Details

Description Vojtech Trefny 2015-08-06 08:56:30 UTC
Description of problem:
Steps to reproduce:
1. Create a extended partition and leave some free space after it.
2. Create a logical partition using all free space available in the extended partition.
3. Try to resize (grow) the logical partition.
4. blivet-gui will try to use the free space outside the extended partition without resizing it.

Version-Release number of selected component:
blivet-gui-0.3.5-1.fc24.noarch

Additional info:
reporter:       libreport-2.6.2
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 24 (Rawhide)
type:           Python
version:        Rawhide

Truncated backtrace:
Traceback (most recent call last):
  File "/usr/lib/python3.4/site-packages/blivetgui/blivetgui.py", line 307, in edit_device
    self._reraise_exception(result.exception, result.traceback)
  File "/usr/lib/python3.4/site-packages/blivetgui/blivetgui.py", line 235, in _reraise_exception
    raise type(exception)(str(exception) + "\n" + traceback)
_ped.PartitionException: Can't have overlapping partitions.
Traceback (most recent call last):
  File "/usr/lib/python3.4/site-packages/blivetgui/blivet_utils.py", line 672, in edit_partition_device
    self.storage.devicetree.registerAction(ac)
  File "/usr/lib/python3.4/site-packages/blivet/devicetree.py", line 323, in registerAction
    action.apply()
  File "/usr/lib/python3.4/site-packages/blivet/deviceaction.py", line 453, in apply
    self.device.targetSize = self._targetSize
  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 273, in _setTargetSize
    start=geometry.start, end=geometry.end)
  File "/usr/lib64/python3.4/site-packages/parted/decorators.py", line 42, in new
    ret = fn(*args, **kwds)
  File "/usr/lib64/python3.4/site-packages/parted/disk.py", line 319, in setPartitionGeometry
    start, end)
_ped.PartitionException: Can't have overlapping partitions.

Comment 1 Vojtech Trefny 2015-08-06 08:56:33 UTC
Created attachment 1059800 [details]
File: backtrace

Comment 2 Vojtech Trefny 2015-08-06 08:56:35 UTC
Created attachment 1059801 [details]
File: blivet-gui-com.log

Comment 3 Vojtech Trefny 2015-08-06 08:56:38 UTC
Created attachment 1059802 [details]
File: blivet-gui-tb

Comment 4 Vojtech Trefny 2015-08-06 08:56:40 UTC
Created attachment 1059803 [details]
File: blivet.log

Comment 5 Vojtech Trefny 2015-08-06 08:56:41 UTC
Created attachment 1059804 [details]
File: description

Comment 6 Vojtech Trefny 2015-08-06 08:56:42 UTC
Created attachment 1059805 [details]
File: environ

Comment 7 Vojtech Trefny 2015-08-06 08:56:44 UTC
Created attachment 1059806 [details]
File: program.log

Comment 8 Vojtech Trefny 2015-08-06 09:02:38 UTC
>>> vdd2.size
Size('1.51 GiB')
>>> vdd5.format.updateSizeInfo()
>>> vdd5.maxSize
Size('3.93 GiB')

(vdd2 -- extended partition, vdd5 -- logical partition)

Comment 9 Vojtech Trefny 2015-08-07 10:21:14 UTC
*** Bug 1230171 has been marked as a duplicate of this bug. ***

Comment 10 Fedora Update System 2015-08-22 16:25:32 UTC
anaconda-23.19.1-1.fc23, python-blivet-1.12.1-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-13831

Comment 11 Fedora Update System 2015-08-27 17:58:29 UTC
anaconda-23.19.1-1.fc23, python-blivet-1.12.1-1.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.