Bug 1214634 - Error: g-bd-crypto-error-quark: Failed to activate device: Operation not permitted (0)
Summary: Error: g-bd-crypto-error-quark: Failed to activate device: Operation not perm...
Keywords:
Status: CLOSED DUPLICATE of bug 1217438
Alias: None
Product: Fedora
Classification: Fedora
Component: python-blivet
Version: 22
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: David Lehman
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:150623d1fffd7aede383de28d72...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-04-23 09:33 UTC by Jens Tingleff
Modified: 2015-04-30 11:39 UTC (History)
8 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2015-04-30 11:39:20 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: anaconda-tb (2.04 MB, text/plain)
2015-04-23 09:33 UTC, Jens Tingleff
no flags Details
File: anaconda.log (52.50 KB, text/plain)
2015-04-23 09:33 UTC, Jens Tingleff
no flags Details
File: environ (669 bytes, text/plain)
2015-04-23 09:33 UTC, Jens Tingleff
no flags Details
File: journalctl (863.52 KB, text/plain)
2015-04-23 09:33 UTC, Jens Tingleff
no flags Details
File: lsblk_output (7.52 KB, text/plain)
2015-04-23 09:33 UTC, Jens Tingleff
no flags Details
File: nmcli_dev_list (1.45 KB, text/plain)
2015-04-23 09:33 UTC, Jens Tingleff
no flags Details
File: os_info (463 bytes, text/plain)
2015-04-23 09:33 UTC, Jens Tingleff
no flags Details
File: program.log (209.85 KB, text/plain)
2015-04-23 09:33 UTC, Jens Tingleff
no flags Details
File: storage.log (839.84 KB, text/plain)
2015-04-23 09:33 UTC, Jens Tingleff
no flags Details
File: ifcfg.log (9.24 KB, text/plain)
2015-04-23 09:33 UTC, Jens Tingleff
no flags Details

Description Jens Tingleff 2015-04-23 09:33:07 UTC
Description of problem:
Crashed after failure to open existing LUKS encrypted partition in LVM volume given known bad password.

Installation from Fedora 22 B3 64 bt live burnt onto a DVD. Initial dry-run installation (not mounting the LUKS partition) worked fine. Attempt to include LUKS encrypted partition but giving bad password and clicking "Unlock" hangs installer. 


Version-Release number of selected component:
anaconda-core-22.20.9-1.fc22.x86_64

The following was filed automatically by anaconda:
anaconda 22.20.9-1 exception report
Traceback (most recent call first):
  File "/usr/lib64/python2.7/site-packages/gi/overrides/BlockDev.py", line 71, in crypto_luks_open
    return _crypto_luks_open(device, name, passphrase, key_file)
  File "/usr/lib/python2.7/site-packages/blivet/formats/luks.py", line 187, in setup
    key_file=self._key_file)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes/custom.py", line 2660, in on_unlock_clicked
    device.format.setup()
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/utils.py", line 242, in _run_once_one_arg
    self._func(*args, **kwargs)
Error: g-bd-crypto-error-quark: Failed to activate device: Operation not permitted (0)

Additional info:
cmdline:        /usr/bin/python2  /sbin/anaconda --liveinst --method=livecd:///dev/mapper/live-base
cmdline_file:   BOOT_IMAGE=vmlinuz0 initrd=initrd0.img root=live:CDLABEL=Fedora-Live-WS-x86_64-22_B-3 rootfstype=auto ro rd.live.image quiet  rhgb rd.luks=0 rd.md=0 rd.dm=0 
executable:     /sbin/anaconda
hashmarkername: anaconda
kernel:         4.0.0-0.rc5.git4.1.fc22.x86_64
other involved packages: libblockdev-0.9-1.fc22.x86_64, python-blivet-1.0.7-1.fc22.noarch, anaconda-gui-22.20.9-1.fc22.x86_64
product:        Fedora
release:        Fedora release 22 (Twenty Two)
type:           anaconda
version:        22

Comment 1 Jens Tingleff 2015-04-23 09:33:17 UTC
Created attachment 1017835 [details]
File: anaconda-tb

Comment 2 Jens Tingleff 2015-04-23 09:33:18 UTC
Created attachment 1017836 [details]
File: anaconda.log

Comment 3 Jens Tingleff 2015-04-23 09:33:20 UTC
Created attachment 1017837 [details]
File: environ

Comment 4 Jens Tingleff 2015-04-23 09:33:24 UTC
Created attachment 1017838 [details]
File: journalctl

Comment 5 Jens Tingleff 2015-04-23 09:33:25 UTC
Created attachment 1017839 [details]
File: lsblk_output

Comment 6 Jens Tingleff 2015-04-23 09:33:27 UTC
Created attachment 1017840 [details]
File: nmcli_dev_list

Comment 7 Jens Tingleff 2015-04-23 09:33:28 UTC
Created attachment 1017841 [details]
File: os_info

Comment 8 Jens Tingleff 2015-04-23 09:33:30 UTC
Created attachment 1017842 [details]
File: program.log

Comment 9 Jens Tingleff 2015-04-23 09:33:41 UTC
Created attachment 1017843 [details]
File: storage.log

Comment 10 Jens Tingleff 2015-04-23 09:33:42 UTC
Created attachment 1017844 [details]
File: ifcfg.log

Comment 11 Jens Tingleff 2015-04-23 10:05:08 UTC
I checked, and the installation does run correctly if the password is correct. So, this is an error handling bug (but since it's no fun to have the installer crash, it's still a bug, IMHO)

Comment 12 Vratislav Podzimek 2015-04-30 11:39:20 UTC
This has in the meantime changed into a different traceback tracked in the bug #1217438. Closing this bug report as a duplicate.

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


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