Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
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 1170560

Summary: ArithmeticError: Could not align to closest sector
Product: Red Hat Enterprise Linux 7 Reporter: Martin Banas <mbanas>
Component: anacondaAssignee: Anaconda Maintenance Team <anaconda-maint-list>
Status: CLOSED DUPLICATE QA Contact: Release Test Team <release-test-team-automation>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.1CC: mbanas
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:3fb6fbd09df02a7c1e5f052f3c2c1e088d2119242f43c978feb8910b88dfc9e1
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-12-04 10:36:52 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 Martin Banas 2014-12-04 10:33:32 UTC
Version-Release number of selected component:
anaconda-19.31.111-1

The following was filed automatically by anaconda:
anaconda 19.31.111-1 exception report
Traceback (most recent call first):
  File "/usr/lib64/python2.7/site-packages/parted/alignment.py", line 102, in alignNearest
    return self.__alignment.align_nearest(geom.getPedGeometry(), sector)
  File "/usr/lib64/python2.7/site-packages/parted/decorators.py", line 41, in new
    ret = fn(*args, **kwds)
  File "/usr/lib/python2.7/site-packages/blivet/partitioning.py", line 765, in addPartition
    start = disklabel.alignment.alignNearest(free, start)
  File "/usr/lib/python2.7/site-packages/blivet/partitioning.py", line 1151, in allocatePartitions
    _part.req_end_sector)
  File "/usr/lib/python2.7/site-packages/blivet/partitioning.py", line 929, in doPartitioning
    allocatePartitions(storage, disks, partitions, free)
  File "/usr/lib/python2.7/site-packages/blivet/partitioning.py", line 419, in doAutoPartition
    doPartitioning(storage)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes/custom.py", line 2880, in _do_autopart
    doAutoPartition(self.__storage, self.data, min_luks_entropy=crypto.MIN_CREATE_ENTROPY)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes/custom.py", line 2931, in on_create_clicked
    self._do_autopart()
ArithmeticError: Could not align to closest sector

Additional info:
cmdline:        /usr/bin/python  /sbin/anaconda
cmdline_file:   BOOT_IMAGE=/kernel repo=http://download.eng.brq.redhat.com/pub/rhel/rel-eng/RHEL-7.1-20141203.1/compose/Server/x86_64/os/ graphical lang=en_US.UTF-8 keymap=us ip=nbeth:dhcp ifname=nbeth:52:54:00:0b:75:5f
executable:     /sbin/anaconda
hashmarkername: anaconda
kernel:         3.10.0-210.el7.x86_64
product:        Red Hat Enterprise Linux 7"
release:        Red Hat Enterprise Linux Workstation release 7.1 Beta (Maipo)
release_type:   pre-release
type:           anaconda
version:        Red Hat Enterprise Linux Workstation"

Comment 1 Martin Banas 2014-12-04 10:33:37 UTC
Created attachment 964572 [details]
File: anaconda-tb

Comment 2 Martin Banas 2014-12-04 10:33:38 UTC
Created attachment 964573 [details]
File: anaconda.log

Comment 3 Martin Banas 2014-12-04 10:33:39 UTC
Created attachment 964574 [details]
File: environ

Comment 4 Martin Banas 2014-12-04 10:33:40 UTC
Created attachment 964576 [details]
File: lsblk_output

Comment 5 Martin Banas 2014-12-04 10:33:42 UTC
Created attachment 964577 [details]
File: nmcli_dev_list

Comment 6 Martin Banas 2014-12-04 10:33:43 UTC
Created attachment 964578 [details]
File: os_info

Comment 7 Martin Banas 2014-12-04 10:33:45 UTC
Created attachment 964579 [details]
File: program.log

Comment 8 Martin Banas 2014-12-04 10:33:47 UTC
Created attachment 964580 [details]
File: storage.log

Comment 9 Martin Banas 2014-12-04 10:33:48 UTC
Created attachment 964581 [details]
File: syslog

Comment 10 Martin Banas 2014-12-04 10:33:50 UTC
Created attachment 964582 [details]
File: ifcfg.log

Comment 11 Martin Banas 2014-12-04 10:33:52 UTC
Created attachment 964583 [details]
File: packaging.log

Comment 12 Martin Banas 2014-12-04 10:36:52 UTC

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