Bug 1034324 - AttributeError: 'DeviceFormat' object has no attribute 'peStart'
Summary: AttributeError: 'DeviceFormat' object has no attribute 'peStart'
Keywords:
Status: CLOSED DUPLICATE of bug 1043763
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: anaconda
Version: 7.0
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Anaconda Maintenance Team
QA Contact: Release Test Team
URL:
Whiteboard: abrt_hash:891b7873f36993f313334e92a5a...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-11-25 15:38 UTC by Martin Kyral
Modified: 2014-01-15 19:26 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-01-15 19:26:55 UTC
Target Upstream Version:


Attachments (Terms of Use)
File: anaconda-tb (675.93 KB, text/plain)
2013-11-25 15:38 UTC, Martin Kyral
no flags Details
File: anaconda.log (47.66 KB, text/plain)
2013-11-25 15:38 UTC, Martin Kyral
no flags Details
File: environ (405 bytes, text/plain)
2013-11-25 15:38 UTC, Martin Kyral
no flags Details
File: lsblk_output (1.83 KB, text/plain)
2013-11-25 15:38 UTC, Martin Kyral
no flags Details
File: nmcli_dev_list (455 bytes, text/plain)
2013-11-25 15:38 UTC, Martin Kyral
no flags Details
File: os_info (397 bytes, text/plain)
2013-11-25 15:38 UTC, Martin Kyral
no flags Details
File: program.log (25.91 KB, text/plain)
2013-11-25 15:38 UTC, Martin Kyral
no flags Details
File: storage.log (137.04 KB, text/plain)
2013-11-25 15:39 UTC, Martin Kyral
no flags Details
File: syslog (60.67 KB, text/plain)
2013-11-25 15:39 UTC, Martin Kyral
no flags Details
File: ifcfg.log (2.66 KB, text/plain)
2013-11-25 15:39 UTC, Martin Kyral
no flags Details
File: packaging.log (255.82 KB, text/plain)
2013-11-25 15:39 UTC, Martin Kyral
no flags Details

Description Martin Kyral 2013-11-25 15:38:27 UTC
Description of problem:
1) have disk filled with some (shrinkable) partition
2) shrink the partition
3) create a partition for the RHEL7 installation in the freed space
4) in 'INSTALLATION DESTINATION', deselect the disk
5) re-enter 'INSTALLATION DESTINATION', select the disk and go to manual partitioning
6) try to use the partition (listed under "Unknown")
7) crash once the partition is clicked

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/devicefactory.py", line 417, in <lambda>
    containers.sort(key=lambda c: getattr(c, "freeSpace", c.size),
  File "/usr/lib/python2.7/site-packages/blivet/devicefactory.py", line 418, in get_container
    reverse=True)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes/custom.py", line 1225, in _save_right_side
    container = factory.get_container()
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes/custom.py", line 2383, in _save_current_selector
    self._save_right_side(self._current_selector)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes/custom.py", line 2463, in on_page_clicked
    self._save_current_selector()
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes/lib/accordion.py", line 146, in _onExpanded
    cb(obj.get_child())
AttributeError: 'DeviceFormat' object has no attribute 'peStart'

Additional info:
cmdline:        /usr/bin/python  /sbin/anaconda
cmdline_file:   initrd=/distrotrees/65107/initrd method=http://download-01.eng.brq.redhat.com/pub/rhel/rel-eng/RHEL-7.0-20131115.2/compose/Everything/x86_64/os/ repo=http://download-01.eng.brq.redhat.com/pub/rhel/rel-eng/RHEL-7.0-20131115.2/compose/Everything/x86_64/os/  BOOT_IMAGE=/distrotrees/65107/kernel 
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 Martin Kyral 2013-11-25 15:38:34 UTC
Created attachment 828735 [details]
File: anaconda-tb

Comment 2 Martin Kyral 2013-11-25 15:38:40 UTC
Created attachment 828736 [details]
File: anaconda.log

Comment 3 Martin Kyral 2013-11-25 15:38:44 UTC
Created attachment 828737 [details]
File: environ

Comment 4 Martin Kyral 2013-11-25 15:38:47 UTC
Created attachment 828738 [details]
File: lsblk_output

Comment 5 Martin Kyral 2013-11-25 15:38:51 UTC
Created attachment 828739 [details]
File: nmcli_dev_list

Comment 6 Martin Kyral 2013-11-25 15:38:54 UTC
Created attachment 828740 [details]
File: os_info

Comment 7 Martin Kyral 2013-11-25 15:38:58 UTC
Created attachment 828741 [details]
File: program.log

Comment 8 Martin Kyral 2013-11-25 15:39:01 UTC
Created attachment 828742 [details]
File: storage.log

Comment 9 Martin Kyral 2013-11-25 15:39:07 UTC
Created attachment 828743 [details]
File: syslog

Comment 10 Martin Kyral 2013-11-25 15:39:11 UTC
Created attachment 828744 [details]
File: ifcfg.log

Comment 11 Martin Kyral 2013-11-25 15:39:15 UTC
Created attachment 828745 [details]
File: packaging.log

Comment 13 David Cantrell 2013-12-13 18:34:15 UTC
Are you resizing and creating the new destination partition before running anaconda or using the storage UI code in the installer?

Comment 14 Martin Kyral 2013-12-16 08:59:52 UTC
All the actions are performed from Anaconda, using Anaconda tools. It seems to me that the steps 1 and 2 are not necessary.

Attaching a screenshot so it is clearer how the disk layout look like.

Comment 16 David Cantrell 2014-01-15 19:26:55 UTC

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


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