RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1052442 - AttributeError: 'DiskLabel' object has no attribute 'peStart'
Summary: AttributeError: 'DiskLabel' object has no attribute 'peStart'
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: python-blivet
Version: 7.0
Hardware: All
OS: Linux
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: David Lehman
QA Contact: Release Test Team
URL:
Whiteboard: abrt_hash:453a299083eccbf89d6794facbb...
Depends On: 1032380
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-01-13 20:17 UTC by David Lehman
Modified: 2021-09-03 14:10 UTC (History)
7 users (show)

Fixed In Version: python-blivet-0.18.18-1
Doc Type: Bug Fix
Doc Text:
Clone Of: 1032380
Environment:
Last Closed: 2014-06-13 13:05:18 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description David Lehman 2014-01-13 20:17:29 UTC
+++ This bug was initially created as a clone of Bug #1032380 +++

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

--- Additional comment from Fedora Update System on 2013-11-29 08:56:09 EST ---

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.

Comment 1 David Lehman 2014-01-13 20:19:25 UTC
Unpartitioned disks with whole-disk formatting are not cleared adequately as part of handling for 'clearpart' command. Fixed on master.

Comment 3 Ladislav Jozsa 2014-01-31 12:38:40 UTC
I managed to reproduce the bug after some effort and I can confirm it is fixed as of anaconda-19.31.51-1.el7.

Comment 4 Ludek Smid 2014-06-13 13:05:18 UTC
This request was resolved in Red Hat Enterprise Linux 7.0.

Contact your manager or support representative in case you have further questions about the request.


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