Bug 700534 - CryptoError: luks_open failed for /dev/sda6 (luks-f53a529d-ba8f-4b0e-8086-51173423905e)
Summary: CryptoError: luks_open failed for /dev/sda6 (luks-f53a529d-ba8f-4b0e-8086-511...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: 15
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: David Lehman
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: anaconda_trace_hash:6591778f19441a451...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-04-28 15:40 UTC by Philipp Dörfler
Modified: 2012-08-07 16:08 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-08-07 16:08:52 UTC
Type: ---


Attachments (Terms of Use)
Attached traceback automatically from anaconda. (1.63 MB, text/plain)
2011-04-28 15:41 UTC, Philipp Dörfler
no flags Details
Content of /var/log/messages right after anaconda's crash (163.07 KB, text/plain)
2011-04-28 16:54 UTC, Philipp Dörfler
no flags Details
Video recording of how to reproduce the bug (3.96 MB, video/mp4)
2011-04-29 12:34 UTC, Philipp Dörfler
no flags Details

Description Philipp Dörfler 2011-04-28 15:40:19 UTC
The following was filed automatically by anaconda:
anaconda 15.27 exception report
Traceback (most recent call first):
  File "/usr/lib64/python2.7/site-packages/pyanaconda/storage/devicelibs/crypto.py", line 114, in luks_open
    raise CryptoError("luks_open failed for %s (%s)" % (device, name))
  File "/usr/lib64/python2.7/site-packages/pyanaconda/storage/formats/luks.py", line 171, in setup
    key_file=self._key_file)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/storage/devices.py", line 802, in setupParents
    _format.setup()
  File "/usr/lib64/python2.7/site-packages/pyanaconda/storage/devices.py", line 660, in _preSetup
    self.setupParents(orig=orig)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/storage/devices.py", line 671, in setup
    if not self._preSetup(orig=orig):
  File "/usr/lib64/python2.7/site-packages/pyanaconda/livecd.py", line 149, in doInstall
    rootDevice.setup()
  File "/usr/lib64/python2.7/site-packages/pyanaconda/backend.py", line 208, in doInstall
    return anaconda.backend.doInstall(anaconda)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/dispatch.py", line 211, in moveStep
    rc = stepFunc(self.anaconda)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/dispatch.py", line 130, in gotoNext
    self.moveStep()
  File "/usr/lib64/python2.7/site-packages/pyanaconda/gui.py", line 1257, in nextClicked
    self.anaconda.dispatch.gotoNext()
  File "/usr/lib64/python2.7/site-packages/pyanaconda/iw/progress_gui.py", line 79, in renderCallback
    self.intf.icw.nextClicked()
  File "/usr/lib64/python2.7/site-packages/pyanaconda/gui.py", line 1278, in handleRenderCallback
    self.currentWindow.renderCallback()
CryptoError: luks_open failed for /dev/sda6 (luks-f53a529d-ba8f-4b0e-8086-51173423905e)

Comment 1 Philipp Dörfler 2011-04-28 15:41:10 UTC
Created attachment 495581 [details]
Attached traceback automatically from anaconda.

Comment 2 Brian Lane 2011-04-28 16:17:23 UTC
Could you attach /var/log/messages as well?

Comment 3 Philipp Dörfler 2011-04-28 16:54:59 UTC
Created attachment 495603 [details]
Content of /var/log/messages right after anaconda's crash

I've attached the contents of /var/log/messages.
Note however that in the meantime I've rebooted the machine so the previously attached dump and the now attached log file may not match.
Please let me know whether this is critical, I'll then try to attach a matching pair of debug stuff.

How to reproduce: Insert the Fedora 15 Beta Live DvD, let grub boot with default options (after the 10 seconds being passed by), then within Gnome3 chose "Install to Hard Drive", select keyboard, timezone, root pasword and so on...

formatting the partitions seems to be done correctly. At least when trying the install again, anaconda then asks for the password in order to decrypt the partitions.

The whole install works until anaconda begins to copy the live image to the hard drive. It then fails with the previously attached traceback.

Hope this helps
~ Philipp

Comment 4 Philipp Dörfler 2011-04-29 09:37:00 UTC
I'd like to install F15-Beta via the Installer DvD instead of the live medium in order to get a working system. Please reply whether you still need the current environment for debugging. I'd then wait for your bug analysis to be finished. On the other hand, the outcome of an crypted install by the installer dvd may yield additional hints for debugging. Dunno...

Thank you ^.~
~ Philipp

Comment 5 Philipp Dörfler 2011-04-29 09:39:09 UTC
On a sidenote: anaconda asks for the password in order to decrypt /dev/sda7 (which is the swap partition, anaconda obviously managed to encrypt properly). "/", which is /dev/sda6 doesn't seem to have been properly encrypted.

Comment 6 Philipp Dörfler 2011-04-29 12:34:04 UTC
Created attachment 495768 [details]
Video recording of how to reproduce the bug

Comment 7 Philipp Dörfler 2011-05-01 11:02:49 UTC
Meanwhile I've installed F15-Beta via the installer DvD. It worked flawlessly and there was a notable difference to the live installer: In the live installer I wasn't asked about the package selection. The installer DVD did ask me.
I don't know whether that's normal behavior, as I don't use the live installer that often .

Comment 8 Chris Lumens 2011-05-02 13:32:55 UTC
Right - there's no package selection in the live installer.  It just blasts the entire contents of the live DVD onto your hard drive.

Comment 9 Philipp Dörfler 2011-05-02 16:31:21 UTC
One never stops learning... thanks for clarification. Did I overlook it or is this behavior not mentioned in the installer? In case it isn't, wouldn't it be advisable to display a hint at the beginning of the installer? I don't know whether it's just me, but I'm a bit surprised by this behavior. I probably would have chosen the installer DvD if I had been aware of this, dunno...

Comment 10 Fedora End Of Life 2012-08-07 16:08:54 UTC
This message is a notice that Fedora 15 is now at end of life. Fedora
has stopped maintaining and issuing updates for Fedora 15. It is
Fedora's policy to close all bug reports from releases that are no
longer maintained. At this time, all open bugs with a Fedora 'version'
of '15' have been closed as WONTFIX.

(Please note: Our normal process is to give advanced warning of this
occurring, but we forgot to do that. A thousand apologies.)

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, feel free to reopen
this bug and simply change the 'version' to a later Fedora version.

Bug Reporter: Thank you for reporting this issue and we are sorry that
we were unable to fix it before Fedora 15 reached end of life. If you
would still like to see this bug fixed and are able to reproduce it
against a later version of Fedora, you are encouraged to click on
"Clone This Bug" (top right of this page) and open it against that
version of Fedora.

Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.

The process we are following is described here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping


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