Bug 1147068

Summary: ArithmeticError: Could not align up to sector
Product: Red Hat Enterprise Linux 7 Reporter: Brian Lane <bcl>
Component: python-blivetAssignee: David Lehman <dlehman>
Status: CLOSED ERRATA QA Contact: Release Test Team <release-test-team-automation>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.0CC: mbanas
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:717334c8519eac9cc9671dd6b7e760c07136886ed42480ce55e0b803d67b6433
Fixed In Version: python-blivet-0.61.0.7-1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-03-05 14:07:27 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: 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 Brian Lane 2014-09-26 18:46:35 UTC
Description of problem:
Stage2 on /dev/vda1/LiveOS/squashfs.img

Autopart with reclaim space. Deleted all (reclaim preserved vda1).

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

The following was filed automatically by anaconda:
anaconda 19.31.91-1 exception report
Traceback (most recent call first):
  File "/usr/lib64/python2.7/site-packages/parted/alignment.py", line 87, in alignUp
    return self.__alignment.align_up(geom.getPedGeometry(), sector)
  File "/usr/lib64/python2.7/site-packages/parted/decorators.py", line 41, in new
    ret = fn(*args, **kwds)
  File "/tmp/updates/blivet/partitioning.py", line 1774, in getDiskChunks
    start=disk.format.alignment.alignUp(f, f.start),
  File "/tmp/updates/blivet/partitioning.py", line 1154, in allocatePartitions
    temp_parts, freespace)
  File "/tmp/updates/blivet/partitioning.py", line 926, in doPartitioning
    allocatePartitions(storage, disks, partitions, free)
  File "/tmp/updates/blivet/partitioning.py", line 420, in doAutoPartition
    doPartitioning(storage)
  File "/tmp/updates/pyanaconda/kickstart.py", line 306, in execute
    doAutoPartition(storage, ksdata, min_luks_entropy=MIN_CREATE_ENTROPY)
  File "/tmp/updates/pyanaconda/kickstart.py", line 1862, in doKickstartStorage
    ksdata.autopart.execute(storage, ksdata, instClass)
  File "/tmp/updates/pyanaconda/ui/gui/spokes/storage.py", line 364, 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 "/tmp/updates/pyanaconda/threads.py", line 211, in run
    threading.Thread.run(self, *args, **kwargs)
ArithmeticError: Could not align up to sector

Additional info:
cmdline:        /usr/bin/python  /sbin/anaconda
cmdline_file:   initrd=initrd.img inst.stage2=hd:/dev/vda1:/ updates=http://updates.notae.us/rhel7.1.img BOOT_IMAGE=vmlinuz 
executable:     /sbin/anaconda
hashmarkername: anaconda
kernel:         3.10.0-160.el7.x86_64
product:        Red Hat Enterprise Linux
release:        Red Hat Enterprise Linux ComputeNode release 7.0 (Maipo)
release_type:   pre-release
type:           anaconda
version:        7.0

Comment 1 Brian Lane 2014-09-26 18:46:39 UTC
Created attachment 941686 [details]
File: anaconda-tb

Comment 2 Brian Lane 2014-09-26 18:46:40 UTC
Created attachment 941687 [details]
File: anaconda.log

Comment 3 Brian Lane 2014-09-26 18:46:40 UTC
Created attachment 941688 [details]
File: environ

Comment 4 Brian Lane 2014-09-26 18:46:41 UTC
Created attachment 941689 [details]
File: lsblk_output

Comment 5 Brian Lane 2014-09-26 18:46:41 UTC
Created attachment 941690 [details]
File: nmcli_dev_list

Comment 6 Brian Lane 2014-09-26 18:46:42 UTC
Created attachment 941691 [details]
File: os_info

Comment 7 Brian Lane 2014-09-26 18:46:43 UTC
Created attachment 941692 [details]
File: program.log

Comment 8 Brian Lane 2014-09-26 18:46:44 UTC
Created attachment 941693 [details]
File: storage.log

Comment 9 Brian Lane 2014-09-26 18:46:45 UTC
Created attachment 941694 [details]
File: syslog

Comment 10 Brian Lane 2014-09-26 18:46:46 UTC
Created attachment 941695 [details]
File: ifcfg.log

Comment 11 Brian Lane 2014-09-26 18:46:47 UTC
Created attachment 941696 [details]
File: packaging.log

Comment 14 Martin Banas 2014-12-04 10:36:15 UTC
Hi Brian,
this bug doesn't seem to be fixed, I just hit it again on:
RHEL-7.1-20141203.1:
anaconda-19.31.111-1.el7
python-blivet-0.61.0.18-1.el7

Closing new bug as duplicate of this one and moving this one back to assigned.

Comment 15 Martin Banas 2014-12-04 10:36:52 UTC
*** Bug 1170560 has been marked as a duplicate of this bug. ***

Comment 16 David Lehman 2015-01-05 19:09:39 UTC
The errors are slightly different. 1170560 is actually a duplicate of 1167292. I think this one is fixed, technically.

Comment 19 errata-xmlrpc 2015-03-05 14:07:27 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2015-0313.html