Bug 1032704

Summary: AttributeError: 'DiskLabel' object has no attribute 'peStart'
Product: Red Hat Enterprise Linux 7 Reporter: Peter Kotvan <pkotvan>
Component: anacondaAssignee: Anaconda Maintenance Team <anaconda-maint-list>
Status: CLOSED WORKSFORME QA Contact: Release Test Team <release-test-team>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.0   
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:13a39133a346fa10c3f0bd5756887c16094bcd0aebc4ba06c0871df6fba6f4a7
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-12-16 19:32:31 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
File: anaconda-tb
none
File: anaconda.log
none
File: environ
none
File: ks.cfg
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 Peter Kotvan 2013-11-20 15:39:20 UTC
Description of problem:
On system with two hard disks tried to install with kickstart (install / to logical volume on raw device)

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

The following was filed automatically by anaconda:
anaconda 19.31.34-1 exception report
Traceback (most recent call first):
  File "/usr/lib/python2.7/site-packages/blivet/devices.py", line 2410, in size
    size += max(0, self.align(pv.size - pv.format.peStart))
  File "/usr/lib/python2.7/site-packages/blivet/devices.py", line 514, in __str__
    s = "%s %dMB %s" % (exist, self.size, super(StorageDevice, self).__str__())
  File "/usr/lib/python2.7/site-packages/blivet/devicetree.py", line 2107, in getDeviceByName
    log_method_return(self, str(found))
  File "/usr/lib64/python2.7/site-packages/pyanaconda/kickstart.py", line 709, in execute
    vg = devicetree.getDeviceByName(vgname)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/kickstart.py", line 673, in execute
    l.execute(storage, ksdata, instClass)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/kickstart.py", line 1735, in doKickstartStorage
    ksdata.logvol.execute(storage, ksdata, instClass)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes/storage.py", line 402, in _doExecute
    doKickstartStorage(self.storage, self.data, self.instclass)
  File "/usr/lib64/python2.7/threading.py", line 764, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/threads.py", line 168, in run
    threading.Thread.run(self, *args, **kwargs)
AttributeError: 'DiskLabel' object has no attribute 'peStart'

Additional info:
cmdline:        /usr/bin/python  /sbin/anaconda
cmdline_file:   initrd=initrd.img inst.stage2=hd:LABEL=RHEL-7.0\x20x86_64 quiet ks=http://file.brq.redhat.com/~pkotvan/ks/raw-lvm BOOT_IMAGE=vmlinuz 
executable:     /sbin/anaconda
hashmarkername: anaconda
kernel:         3.10.0-50.el7.x86_64
product:        Red Hat Enterprise Linux
release:        Red Hat Enterprise Linux Server release 7.0 Beta (Maipo)
type:           anaconda
version:        7.0

Comment 1 Peter Kotvan 2013-11-20 15:39:24 UTC
Created attachment 826712 [details]
File: anaconda-tb

Comment 2 Peter Kotvan 2013-11-20 15:39:32 UTC
Created attachment 826713 [details]
File: anaconda.log

Comment 3 Peter Kotvan 2013-11-20 15:39:39 UTC
Created attachment 826714 [details]
File: environ

Comment 4 Peter Kotvan 2013-11-20 15:39:47 UTC
Created attachment 826715 [details]
File: ks.cfg

Comment 5 Peter Kotvan 2013-11-20 15:39:50 UTC
Created attachment 826716 [details]
File: lsblk_output

Comment 6 Peter Kotvan 2013-11-20 15:39:54 UTC
Created attachment 826717 [details]
File: nmcli_dev_list

Comment 7 Peter Kotvan 2013-11-20 15:39:58 UTC
Created attachment 826718 [details]
File: os_info

Comment 8 Peter Kotvan 2013-11-20 15:40:02 UTC
Created attachment 826719 [details]
File: program.log

Comment 9 Peter Kotvan 2013-11-20 15:40:05 UTC
Created attachment 826720 [details]
File: storage.log

Comment 10 Peter Kotvan 2013-11-20 15:40:09 UTC
Created attachment 826721 [details]
File: syslog

Comment 11 Peter Kotvan 2013-11-20 15:40:12 UTC
Created attachment 826722 [details]
File: ifcfg.log

Comment 12 Peter Kotvan 2013-11-20 15:40:16 UTC
Created attachment 826723 [details]
File: packaging.log

Comment 14 David Cantrell 2013-12-16 19:32:31 UTC
Unable to reproduce this problem on RHEL 7.0 Beta.