Bug 1269646

Summary: blivet.errors.LUKSError: luks device not configured
Product: [Fedora] Fedora Reporter: woky <nechtom>
Component: python-blivetAssignee: Vojtech Trefny <vtrefny>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 23CC: anaconda-maint-list, bcl, blivet-maint-list, dlehman, g.kaviyarasu, jonathan, vanmeeuwen+fedora, vpodzime, vtrefny
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:cb40b2f1c494ad61f1290c587d667b610f2f497d23cde2c2f22c324915a9f12d
Fixed In Version: anaconda-24.4-1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-10-15 07:57:29 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: dnf.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 woky 2015-10-07 20:16:16 UTC
Description of problem:
Started the installation. Proceeded to the INSTALLATION SUMMARY screen. Following entries on the screen then took very long time to process (activate):

INSTALLATION SOURCE
SOFTWARE SELECTION
INSTALLATION DESTINATION

See the "disk space caching is enabled" in attached dmesg. I could hear the disks comprising my btrfs RAID1 (mounted via /dev/sdc). It sounded like the installator was traversing all files in it. I wonder why. Finally, the red label saying something like "No storage found" appeared under the INSTALLATION DESTIONATION entry. I opened the entry, selected my SSD disk (encrypted via LUKS), clicked Done, clicked Cancel, deselected the SSD disk and then clicked Done. Red label now said "No disks selected" and after a little while the error occurred. The filesystem doesn't have any subvolumes.

The INSTALLATION SOURCE entry became active just after INSTALLATION DESTIONATION became active. It shouldn't depend on existing filesystems, should it?

Version-Release number of selected component:
anaconda-23.19.4-1

The following was filed automatically by anaconda:
anaconda 23.19.4-1 exception report
Traceback (most recent call first):
  File "/tmp/updates/blivet/formats/luks.py", line 183, in _preSetup
    raise LUKSError("luks device not configured")
  File "/tmp/updates/blivet/formats/__init__.py", line 480, in setup
    if not self._preSetup(**kwargs):
  File "/tmp/updates/blivet/populator.py", line 847, in handleUdevLUKSFormat
    device.format.setup()
  File "/tmp/updates/blivet/populator.py", line 1470, in handleUdevDeviceFormat
    self.handleUdevLUKSFormat(info, device)
  File "/tmp/updates/blivet/populator.py", line 764, in addUdevDevice
    self.handleUdevDeviceFormat(info, device)
  File "/tmp/updates/blivet/populator.py", line 1695, in _populate
    self.addUdevDevice(dev)
  File "/tmp/updates/blivet/populator.py", line 1623, in populate
    self._populate()
  File "/tmp/updates/blivet/devicetree.py", line 554, in populate
    self._populator.populate(cleanupOnly=cleanupOnly)
  File "/tmp/updates/blivet/blivet.py", line 279, in reset
    self.devicetree.populate(cleanupOnly=cleanupOnly)
  File "/usr/lib64/python3.4/site-packages/pyanaconda/ui/gui/spokes/storage.py", line 361, in _doExecute
    self.storage.reset()
  File "/usr/lib64/python3.4/threading.py", line 868, in run
    self._target(*self._args, **self._kwargs)
  File "/usr/lib64/python3.4/site-packages/pyanaconda/threads.py", line 253, in run
    threading.Thread.run(self, *args, **kwargs)
blivet.errors.LUKSError: luks device not configured

Additional info:
addons:         com_redhat_kdump
cmdline:        /usr/bin/python3  /sbin/anaconda
cmdline_file:   BOOT_IMAGE=/images/pxeboot/vmlinuz inst.stage2=hd:LABEL=Fedora-WS-23_B-x86_64 rd.live.check quiet updates=https://vtrefny.fedorapeople.org/img/btrfs.img
dnf.rpm.log:    Oct 07 19:56:17 INFO --- logging initialized ---
executable:     /sbin/anaconda
hashmarkername: anaconda
kernel:         4.2.0-300.fc23.x86_64
product:        Fedora
release:        Cannot get release name.
type:           anaconda
version:        23

Comment 1 woky 2015-10-07 20:16:22 UTC
Created attachment 1080805 [details]
File: anaconda-tb

Comment 2 woky 2015-10-07 20:16:24 UTC
Created attachment 1080806 [details]
File: anaconda.log

Comment 3 woky 2015-10-07 20:16:26 UTC
Created attachment 1080807 [details]
File: dnf.log

Comment 4 woky 2015-10-07 20:16:27 UTC
Created attachment 1080808 [details]
File: environ

Comment 5 woky 2015-10-07 20:16:29 UTC
Created attachment 1080809 [details]
File: lsblk_output

Comment 6 woky 2015-10-07 20:16:30 UTC
Created attachment 1080810 [details]
File: nmcli_dev_list

Comment 7 woky 2015-10-07 20:16:32 UTC
Created attachment 1080811 [details]
File: os_info

Comment 8 woky 2015-10-07 20:16:34 UTC
Created attachment 1080812 [details]
File: program.log

Comment 9 woky 2015-10-07 20:16:37 UTC
Created attachment 1080813 [details]
File: storage.log

Comment 10 woky 2015-10-07 20:16:40 UTC
Created attachment 1080814 [details]
File: syslog

Comment 11 woky 2015-10-07 20:16:41 UTC
Created attachment 1080815 [details]
File: ifcfg.log

Comment 12 woky 2015-10-07 20:16:43 UTC
Created attachment 1080816 [details]
File: packaging.log

Comment 13 Vojtech Trefny 2015-10-14 08:42:43 UTC
Pull request: https://github.com/rhinstaller/blivet/pull/246

updates.img: https://vtrefny.fedorapeople.org/img/luks.img