Bug 1180783

Summary: GeometryException: must specify PedGeometry or (device, start, length) or (device, start, end) or (device, start, length, end)
Product: [Fedora] Fedora Reporter: Guillaume G <guillaumefg>
Component: anacondaAssignee: Anaconda Maintenance Team <anaconda-maint-list>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 21CC: anaconda-maint-list, g.kaviyarasu, jonathan, vanmeeuwen+fedora
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:cd6ca56df1d0a4a87832d5bed428cd3b30abe0e837de2a92cf8199116671ce6e
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-01-13 02:13:48 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: anaconda-tb
none
File: anaconda.log
none
File: environ
none
File: journalctl
none
File: lsblk_output
none
File: nmcli_dev_list
none
File: os_info
none
File: program.log
none
File: storage.log
none
File: ifcfg.log none

Description Guillaume G 2015-01-10 02:36:54 UTC
Description of problem:
Installing from a live usb onto an empty partition that used to contain F19. After I select the volume to install to and click 'Done', this error occurs. Both automatic and 'let me choose' partitioning modes result in a similar crash. 

Version-Release number of selected component:
anaconda-core-21.48.21-1.fc21.x86_64

The following was filed automatically by anaconda:
anaconda 21.48.21-1 exception report
Traceback (most recent call first):
  File "/usr/lib64/python2.7/site-packages/parted/geometry.py", line 63, in __init__
    raise parted.GeometryException, "must specify PedGeometry or (device, start, length) or (device, start, end) or (device, start, length, end)"
  File "/usr/lib64/python2.7/site-packages/parted/decorators.py", line 41, in new
    ret = fn(*args, **kwds)
  File "/usr/lib/python2.7/site-packages/blivet/partitioning.py", line 1738, in getDiskChunks
    end=disk.format.endAlignment.alignDown(f, f.end))
  File "/usr/lib/python2.7/site-packages/blivet/partitioning.py", line 1110, in allocatePartitions
    temp_parts, freespace)
  File "/usr/lib/python2.7/site-packages/blivet/partitioning.py", line 882, in doPartitioning
    allocatePartitions(storage, disks, partitions, free)
  File "/usr/lib/python2.7/site-packages/blivet/partitioning.py", line 393, in doAutoPartition
    doPartitioning(storage)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/kickstart.py", line 333, in execute
    doAutoPartition(storage, ksdata, min_luks_entropy=MIN_CREATE_ENTROPY)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/kickstart.py", line 2009, in doKickstartStorage
    ksdata.autopart.execute(storage, ksdata, instClass)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes/storage.py", line 313, in _doExecute
    doKickstartStorage(self.storage, self.data, self.instclass)
  File "/usr/lib64/python2.7/threading.py", line 766, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/threads.py", line 227, in run
    threading.Thread.run(self, *args, **kwargs)
GeometryException: must specify PedGeometry or (device, start, length) or (device, start, end) or (device, start, length, end)

Additional info:
cmdline:        /usr/bin/python  /sbin/anaconda --liveinst --method=livecd:///dev/mapper/live-base
cmdline_file:   BOOT_IMAGE=vmlinuz0 initrd=initrd0.img root=live:CDLABEL=Fedora-Live-WS-x86_64-21-5 rootfstype=auto ro rd.live.image quiet  rhgb rd.luks=0 rd.md=0 rd.dm=0 
executable:     /sbin/anaconda
hashmarkername: anaconda
kernel:         3.17.4-301.fc21.x86_64
other involved packages: anaconda-gui-21.48.21-1.fc21.x86_64, python-blivet-0.61.13-1.fc21.noarch, pyparted-3.9.5-2.fc21.x86_64, python-libs-2.7.8-7.fc21.x86_64
product:        Fedora"
release:        Fedora release 21 (Twenty One)
type:           anaconda
version:        Fedora

Comment 1 Guillaume G 2015-01-10 02:36:58 UTC
Created attachment 978437 [details]
File: anaconda-tb

Comment 2 Guillaume G 2015-01-10 02:36:59 UTC
Created attachment 978438 [details]
File: anaconda.log

Comment 3 Guillaume G 2015-01-10 02:37:00 UTC
Created attachment 978439 [details]
File: environ

Comment 4 Guillaume G 2015-01-10 02:37:02 UTC
Created attachment 978440 [details]
File: journalctl

Comment 5 Guillaume G 2015-01-10 02:37:02 UTC
Created attachment 978441 [details]
File: lsblk_output

Comment 6 Guillaume G 2015-01-10 02:37:03 UTC
Created attachment 978442 [details]
File: nmcli_dev_list

Comment 7 Guillaume G 2015-01-10 02:37:04 UTC
Created attachment 978443 [details]
File: os_info

Comment 8 Guillaume G 2015-01-10 02:37:05 UTC
Created attachment 978444 [details]
File: program.log

Comment 9 Guillaume G 2015-01-10 02:37:07 UTC
Created attachment 978445 [details]
File: storage.log

Comment 10 Guillaume G 2015-01-10 02:37:07 UTC
Created attachment 978446 [details]
File: ifcfg.log

Comment 11 Guillaume G 2015-01-10 20:14:28 UTC
I ended up finding a workaround: basically, I installed another distro (specifically Ubuntu 12.04), allowing it to partition the empty space on my drive accordingly. After that, I was able to use anaconda to mount/install fedora over those partitions without issue.

Comment 12 Brian Lane 2015-01-13 02:13:48 UTC

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