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 1121963 - CryptoError: luks_format failed for '/dev/md0'
Summary: CryptoError: luks_format failed for '/dev/md0'
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: anaconda
Version: 6.6
Hardware: x86_64
OS: Unspecified
high
high
Target Milestone: rc
: ---
Assignee: Anaconda Maintenance Team
QA Contact: Release Test Team
URL:
Whiteboard: abrt_hash:c2149a74ab37127368ce2229082...
Depends On:
Blocks: 1083985
TreeView+ depends on / blocked
 
Reported: 2014-07-22 08:58 UTC by Alexander Todorov
Modified: 2014-07-22 13:39 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-07-22 13:39:39 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
File: environ (1.04 KB, text/plain)
2014-07-22 08:58 UTC, Alexander Todorov
no flags Details
File: type (9 bytes, text/plain)
2014-07-22 08:58 UTC, Alexander Todorov
no flags Details
File: exnFileName (23 bytes, text/plain)
2014-07-22 08:58 UTC, Alexander Todorov
no flags Details
File: anaconda-tb-8ArM4j (358.97 KB, text/plain)
2014-07-22 08:59 UTC, Alexander Todorov
no flags Details
File: product (24 bytes, text/plain)
2014-07-22 08:59 UTC, Alexander Todorov
no flags Details
File: last_occurrence (10 bytes, text/plain)
2014-07-22 08:59 UTC, Alexander Todorov
no flags Details
File: hashmarkername (8 bytes, text/plain)
2014-07-22 08:59 UTC, Alexander Todorov
no flags Details
File: version (3 bytes, text/plain)
2014-07-22 08:59 UTC, Alexander Todorov
no flags Details
File: release (24 bytes, text/plain)
2014-07-22 08:59 UTC, Alexander Todorov
no flags Details

Description Alexander Todorov 2014-07-22 08:58:55 UTC
Version-Release number of selected component:
anaconda-13.21.224

Additional info:
libreport version: 2.0.9
cmdline:        /usr/bin/python  /usr/bin/anaconda
kernel:         2.6.32-491.el6.x86_64

description:
:The following was filed automatically by anaconda:
:anaconda 13.21.224 exception report
:Traceback (most recent call first):
:  File "/usr/lib/anaconda/storage/devicelibs/crypto.py", line 97, in luks_format
:    raise CryptoError("luks_format failed for '%s'" % device)
:  File "/usr/lib/anaconda/storage/formats/luks.py", line 209, in create
:    key_size=self.key_size)
:  File "/usr/lib/anaconda/storage/deviceaction.py", line 290, in execute
:    options=self.device.formatArgs)
:  File "/usr/lib/anaconda/storage/devicetree.py", line 721, in processActions
:    action.execute(intf=self.intf)
:  File "/usr/lib/anaconda/storage/__init__.py", line 356, in doIt
:    self.devicetree.processActions()
:  File "/usr/lib/anaconda/packages.py", line 110, in turnOnFilesystems
:    anaconda.id.storage.doIt()
:  File "/usr/lib/anaconda/dispatch.py", line 210, in moveStep
:    rc = stepFunc(self.anaconda)
:  File "/usr/lib/anaconda/dispatch.py", line 126, in gotoNext
:    self.moveStep()
:  File "/usr/lib/anaconda/dispatch.py", line 233, in currentStep
:    self.gotoNext()
:  File "/usr/lib/anaconda/gui.py", line 1403, in setScreen
:    (step, anaconda) = self.anaconda.dispatch.currentStep()
:  File "/usr/lib/anaconda/gui.py", line 1596, in setup_window
:    self.setScreen()
:  File "/usr/lib/anaconda/gui.py", line 1609, in run
:    self.setup_window()
:  File "/usr/lib/anaconda/gui.py", line 1303, in run
:    self.icw.run ()
:  File "/usr/bin/anaconda", line 1131, in <module>
:    anaconda.intf.run(anaconda)
:CryptoError: luks_format failed for '/dev/md0'

Comment 1 Alexander Todorov 2014-07-22 08:58:56 UTC
Created attachment 919833 [details]
File: environ

Comment 2 Alexander Todorov 2014-07-22 08:58:57 UTC
Created attachment 919834 [details]
File: type

Comment 3 Alexander Todorov 2014-07-22 08:58:58 UTC
Created attachment 919835 [details]
File: exnFileName

Comment 4 Alexander Todorov 2014-07-22 08:59:00 UTC
Created attachment 919836 [details]
File: anaconda-tb-8ArM4j

Comment 5 Alexander Todorov 2014-07-22 08:59:01 UTC
Created attachment 919837 [details]
File: product

Comment 6 Alexander Todorov 2014-07-22 08:59:01 UTC
Created attachment 919838 [details]
File: last_occurrence

Comment 7 Alexander Todorov 2014-07-22 08:59:02 UTC
Created attachment 919839 [details]
File: hashmarkername

Comment 8 Alexander Todorov 2014-07-22 08:59:03 UTC
Created attachment 919840 [details]
File: version

Comment 9 Alexander Todorov 2014-07-22 08:59:03 UTC
Created attachment 919841 [details]
File: release

Comment 11 Alexander Todorov 2014-07-22 09:03:14 UTC
ks.cfg to reproduce:

bootloader --location=mbr
clearpart --all --initlabel 
part /boot --fstype="ext4" --size=200
part swap --size=1000
part raid.01 --grow --size=2048
part raid.02 --grow --size=2048
part raid.03 --grow --size=2048
raid / --device=0 --fstype="ext4" --level=RAID5 --encrypted  --cipher="aes-cbc-essiv:sa256" --passphrase="mypassword" raid.01 raid.02 raid.03


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