Bug 1214415

Summary: LUKSError: luks device not configured
Product: [Fedora] Fedora Reporter: michae1t
Component: anacondaAssignee: Anaconda Maintenance Team <anaconda-maint-list>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 22CC: anaconda-maint-list, g.kaviyarasu, jonathan, vanmeeuwen+fedora
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:9581128f0331a9fe3b1a4f9cf26d1e5b3438db8a4e748c6995f809f72fab4945
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-04-22 19:02:37 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: journalctl
none
File: lsblk_output
none
File: nmcli_dev_list
none
File: os_info
none
File: program.log
none
File: storage.log
none
File: ifcfg.log none

Description michae1t 2015-04-22 16:39:27 UTC
Description of problem:
attempted to recover existing luks-btrfs config... failed after custom partitioning

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/lib/python2.7/site-packages/blivet/formats/luks.py", line 179, in setup
    raise LUKSError("luks device not configured")
  File "/usr/lib/python2.7/site-packages/blivet/devices/storage.py", line 557, in setupParents
    _format.setup()
  File "/usr/lib/python2.7/site-packages/blivet/devices/storage.py", line 414, in _preSetup
    self.setupParents(orig=orig)
  File "/usr/lib/python2.7/site-packages/blivet/devices/storage.py", line 425, in setup
    if not self._preSetup(orig=orig):
  File "/usr/lib/python2.7/site-packages/blivet/devices/storage.py", line 549, in setupParents
    parent.setup(orig=orig)
  File "/usr/lib/python2.7/site-packages/blivet/devices/storage.py", line 414, in _preSetup
    self.setupParents(orig=orig)
  File "/usr/lib/python2.7/site-packages/blivet/devices/storage.py", line 425, in setup
    if not self._preSetup(orig=orig):
  File "/usr/lib/python2.7/site-packages/blivet/devices/btrfs.py", line 534, in setupParents
    self.volume.setup(orig=orig)
  File "/usr/lib/python2.7/site-packages/blivet/devices/btrfs.py", line 76, in _preDestroy
    self.setupParents(orig=True)
  File "/usr/lib/python2.7/site-packages/blivet/devices/storage.py", line 537, in destroy
    self._preDestroy()
  File "/usr/lib/python2.7/site-packages/blivet/deviceaction.py", line 346, in execute
    self.device.destroy()
  File "/usr/lib/python2.7/site-packages/blivet/devicetree.py", line 363, in processActions
    action.execute(callbacks)
  File "/usr/lib/python2.7/site-packages/blivet/blivet.py", line 162, in doIt
    self.devicetree.processActions(callbacks)
  File "/usr/lib/python2.7/site-packages/blivet/osinstall.py", line 1058, in turnOnFilesystems
    storage.doIt(callbacks)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/install.py", line 196, in doInstall
    turnOnFilesystems(storage, mountOnly=flags.flags.dirInstall, callbacks=callbacks_reg)
  File "/usr/lib64/python2.7/threading.py", line 766, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/threads.py", line 244, in run
    threading.Thread.run(self, *args, **kwargs)
LUKSError: luks device not configured

Additional info:
cmdline:        /usr/bin/python2  /sbin/anaconda --liveinst --method=livecd:///dev/mapper/live-base
cmdline_file:   BOOT_IMAGE=/isolinux/vmlinuz0 root=live:LABEL=Fedora-Live-KDE-x86_64-22_B-3 ro rd.live.image quiet rhgb rd.live.check
executable:     /sbin/anaconda
hashmarkername: anaconda
kernel:         4.0.0-0.rc5.git4.1.fc22.x86_64
other involved packages: python-blivet-1.0.7-1.fc22.noarch, python-libs-2.7.9-5.fc22.x86_64
product:        Fedora
release:        Fedora release 22 (Twenty Two)
type:           anaconda
version:        22

Comment 1 michae1t 2015-04-22 16:42:13 UTC
Created attachment 1017511 [details]
File: anaconda-tb

Comment 2 michae1t 2015-04-22 16:42:22 UTC
Created attachment 1017512 [details]
File: anaconda.log

Comment 3 michae1t 2015-04-22 16:42:23 UTC
Created attachment 1017513 [details]
File: environ

Comment 4 michae1t 2015-04-22 16:42:59 UTC
Created attachment 1017514 [details]
File: journalctl

Comment 5 michae1t 2015-04-22 16:43:01 UTC
Created attachment 1017515 [details]
File: lsblk_output

Comment 6 michae1t 2015-04-22 16:43:02 UTC
Created attachment 1017516 [details]
File: nmcli_dev_list

Comment 7 michae1t 2015-04-22 16:43:03 UTC
Created attachment 1017517 [details]
File: os_info

Comment 8 michae1t 2015-04-22 16:43:24 UTC
Created attachment 1017518 [details]
File: program.log

Comment 9 michae1t 2015-04-22 16:44:45 UTC
Created attachment 1017519 [details]
File: storage.log

Comment 10 michae1t 2015-04-22 16:44:47 UTC
Created attachment 1017520 [details]
File: ifcfg.log

Comment 11 michae1t 2015-04-22 18:51:42 UTC
Note: custom partitioning step was barely functional in my case.  Took about 15 minutes of trial and error to get through with the desired partition scheme.  Additionally, Anaconda hangs on entering luks passphrase for 30 seconds to 2 minutes ... sometimes locking up window rendering.  General refresh behaviour upon making updates is unpredictable and jarring with random window elements disappearing or resetting.

Comment 12 David Shea 2015-04-22 19:02:37 UTC

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