Bug 1230171

Summary: [abrt] blivet-gui: PartitionException: Can't have overlapping partitions.
Product: [Fedora] Fedora Reporter: Vojtech Trefny <vtrefny>
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/a6d4ee7502668bc1bcd4ea2e88f223cd813a5194
Whiteboard: abrt_hash:4c0c4542c34fbc56be139cd6afc966a31644c0b0c62dd0f92fcbb6cd0110a108
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-08-07 10:21:13 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 Vojtech Trefny 2015-06-10 11:59:19 UTC
Description of problem:
1. Create an extended partition and leave free space after it.
2. Create an logical partition using all space available in the extended partition.
3. Resize (grow) the logical partition. (EditDialog will allow you to use the free space after the extened partition.)
4. Fail.

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: pyparted-3.10.3-1.fc22.x86_64, 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 284, in edit_device
    self._raise_exception(result.exception, result.traceback)
  File "/media/Projekty/blivet-gui/blivetgui/blivetgui.py", line 232, in _raise_exception
    raise six.reraise(type(exception), exception, traceback)
  File "/media/Projekty/blivet-gui/blivetgui/utils.py", line 550, in edit_partition_device
    self.storage.devicetree.registerAction(ac)
  File "/usr/lib/python2.7/site-packages/blivet/devicetree.py", line 496, 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 271, in _setTargetSize
    start=geometry.start, end=geometry.end)
  File "/usr/lib64/python2.7/site-packages/parted/decorators.py", line 41, in new
    ret = fn(*args, **kwds)
  File "/usr/lib64/python2.7/site-packages/parted/disk.py", line 311, in setPartitionGeometry
    start, end)
PartitionException: Can't have overlapping partitions.

Comment 1 Vojtech Trefny 2015-06-10 11:59:22 UTC
Created attachment 1037244 [details]
File: backtrace

Comment 2 Vojtech Trefny 2015-06-10 11:59:24 UTC
Created attachment 1037245 [details]
File: blivet-gui-tb

Comment 3 Vojtech Trefny 2015-06-10 11:59:27 UTC
Created attachment 1037246 [details]
File: blivet.log

Comment 4 Vojtech Trefny 2015-06-10 11:59:28 UTC
Created attachment 1037247 [details]
File: description

Comment 5 Vojtech Trefny 2015-06-10 11:59:30 UTC
Created attachment 1037248 [details]
File: environ

Comment 6 Vojtech Trefny 2015-06-10 11:59:32 UTC
Created attachment 1037249 [details]
File: program.log

Comment 7 Vojtech Trefny 2015-08-07 10:21:13 UTC

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