Bug 1032380

Summary: AttributeError: 'DiskLabel' object has no attribute 'peStart'
Product: [Fedora] Fedora Reporter: Andrei Neagoe <anne>
Component: python-blivetAssignee: David Lehman <dlehman>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 19CC: advasile, amulhern, anaconda-maint-list, anne, bcl, dlehman, g.kaviyarasu, jonathan, vanmeeuwen+fedora
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:453a299083eccbf89d6794facbb331641bcfd954b192e01b48cd8960d3844c87
Fixed In Version: python-blivet-0.23.7-1.fc20 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1052442 (view as bug list) Environment:
Last Closed: 2013-11-29 13:56:09 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:
Bug Depends On:    
Bug Blocks: 1052442    
Attachments:
Description Flags
File: anaconda.log
none
File: environ
none
File: lsblk_output
none
File: nmcli_dev_list
none
File: os_info
none
File: program.log
none
File: storage.log
none
File: syslog
none
File: ifcfg.log
none
File: packaging.log none

Description Andrei Neagoe 2013-11-20 04:40:16 UTC
Description of problem:
When trying to reinstall a fedora 17 box with fedora 19, this issue is triggered if two (or more) disks are present and at least one of them is an LVM member directly (ie no partitioning involved). In order to successfully reinstall one is required to remove all VGs prior to installation or in the kickstart itself. It could also be that using different volume names during install would also work but we haven't tested.

Version-Release number of selected component:
anaconda-19.30.13-1

The following was filed automatically by anaconda:
anaconda 19.30.13-1 exception report
Traceback (most recent call first):
  File "/usr/lib/python2.7/site-packages/blivet/devices.py", line 2368, in size
    size += max(0, self.align(pv.size - pv.format.peStart))
  File "/usr/lib/python2.7/site-packages/blivet/devices.py", line 2385, in freeSpace
    log.debug("%s size is %dMB" % (self.name, self.size))
  File "/usr/lib/python2.7/site-packages/blivet/partitioning.py", line 1926, in growLVM
    total_free = vg.freeSpace
  File "/usr/lib64/python2.7/site-packages/pyanaconda/kickstart.py", line 639, in execute
    growLVM(storage)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/kickstart.py", line 1648, in doKickstartStorage
    ksdata.logvol.execute(storage, ksdata, instClass)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/tui/spokes/storage.py", line 253, in execute
    doKickstartStorage(self.storage, self.data, self.instclass)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/tui/hubs/summary.py", line 49, in setup
    spoke.execute()
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/tui/__init__.py", line 165, in setup
    obj.setup(self.ENVIRONMENT)
  File "/sbin/anaconda", line 1086, in <module>
    anaconda._intf.setup(ksdata)
AttributeError: 'DiskLabel' object has no attribute 'peStart'

Additional info:
cmdline:        /usr/bin/python  /sbin/anaconda
cmdline_file:   BOOT_IMAGE=/vmlinuz_cobbler mpath BOOTIF=00:21:5e:c9:09:80 blacklist=nouveau nomodeset=null sshd=1 biosdevname=0 text kssendmac vga=771 net.ifnames=0 ks=http://cobbler-prod.trading.imc.intra/cblr/svc/op/ks/system/satinmoth.trading.imc.intra linksleep=20 nicdelay=10
executable:     /sbin/anaconda
hashmarkername: anaconda
kernel:         3.9.5-301.fc19.x86_64
product:        Fedora
release:        Cannot get release name.
type:           anaconda
version:        19

Comment 1 Andrei Neagoe 2013-11-20 04:40:21 UTC
Created attachment 826415 [details]
File: anaconda-tb

Comment 2 Andrei Neagoe 2013-11-20 04:40:24 UTC
Created attachment 826416 [details]
File: anaconda.log

Comment 3 Andrei Neagoe 2013-11-20 04:40:28 UTC
Created attachment 826417 [details]
File: environ

Comment 4 Andrei Neagoe 2013-11-20 04:40:31 UTC
Created attachment 826418 [details]
File: ks.cfg

Comment 5 Andrei Neagoe 2013-11-20 04:40:34 UTC
Created attachment 826419 [details]
File: lsblk_output

Comment 6 Andrei Neagoe 2013-11-20 04:40:37 UTC
Created attachment 826420 [details]
File: nmcli_dev_list

Comment 7 Andrei Neagoe 2013-11-20 04:40:40 UTC
Created attachment 826421 [details]
File: os_info

Comment 8 Andrei Neagoe 2013-11-20 04:40:43 UTC
Created attachment 826422 [details]
File: program.log

Comment 9 Andrei Neagoe 2013-11-20 04:40:46 UTC
Created attachment 826423 [details]
File: storage.log

Comment 10 Andrei Neagoe 2013-11-20 04:40:49 UTC
Created attachment 826424 [details]
File: syslog

Comment 11 Andrei Neagoe 2013-11-20 04:40:52 UTC
Created attachment 826425 [details]
File: ifcfg.log

Comment 12 Andrei Neagoe 2013-11-20 04:40:55 UTC
Created attachment 826426 [details]
File: packaging.log

Comment 13 Fedora Update System 2013-11-26 02:35:08 UTC
python-blivet-0.23.6-1.fc20, anaconda-20.25.11-1.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/FEDORA-2013-21928/python-blivet-0.23.6-1.fc20,anaconda-20.25.11-1.fc20

Comment 14 Fedora Update System 2013-11-26 17:57:19 UTC
Package python-blivet-0.23.6-1.fc20, anaconda-20.25.11-1.fc20, pykickstart-1.99.48-1.fc20:
* should fix your issue,
* was pushed to the Fedora 20 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing python-blivet-0.23.6-1.fc20 anaconda-20.25.11-1.fc20 pykickstart-1.99.48-1.fc20'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-21928/pykickstart-1.99.48-1.fc20,python-blivet-0.23.6-1.fc20,anaconda-20.25.11-1.fc20
then log in and leave karma (feedback).

Comment 15 Fedora Update System 2013-11-29 13:56:09 UTC
python-blivet-0.23.7-1.fc20, anaconda-20.25.12-1.fc20, pykickstart-1.99.48-1.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.