Bug 1099703 - failure to associate active luks device with backing device
Summary: failure to associate active luks device with backing device
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: python-blivet
Version: 22
Hardware: x86_64
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Vratislav Podzimek
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-05-21 03:15 UTC by Stephen P. Schaefer
Modified: 2016-07-19 11:32 UTC (History)
8 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2016-07-19 11:32:42 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
From attempted anaconda install involving an encrypted partition. (3.45 KB, text/x-log)
2014-05-21 03:15 UTC, Stephen P. Schaefer
no flags Details
Kickstart %pre script which make LUKS partition available (11.91 KB, text/plain)
2014-05-21 03:18 UTC, Stephen P. Schaefer
no flags Details
Storage log showing presense of VG (114.53 KB, text/plain)
2014-05-21 03:22 UTC, Stephen P. Schaefer
no flags Details
gzip'd storage.state file (1.67 KB, application/octet-stream)
2014-05-21 03:24 UTC, Stephen P. Schaefer
no flags Details
Kickstart file (7.19 KB, text/plain)
2014-05-21 03:36 UTC, Stephen P. Schaefer
no flags Details

Description Stephen P. Schaefer 2014-05-21 03:15:58 UTC
Created attachment 897792 [details]
From attempted anaconda install involving an encrypted partition.

Description of problem:

Kickstart directed install fails with

No preexisting VG with the name "vg_thyrsuslaptop" was found

...yet the logs are full of mentions of the volume group and its logical volumes, the directory /dev/vg_thyrsuslaptop contains the logical volume names, the device mapper mapper components are all present, "vgdisplay" shows the volume available.  The physical volume is LUKS.

Version-Release number of selected component (if applicable):

Fedora 20 x86_64 install version

How reproducible:

always

Steps to Reproduce:
1. sda1 - /boot partition (to be overwritten)
2. sda2 - LUKS partition
3. decrypted LUKS as physical volume for lvm2

Actual results:

After prompting for the LUKS password, activates VG and makes LV available to shell, but anaconda doesn't recognize it.

Expected results:

Install onto lv_root and lv_swap, configure lv_home to be mounted.

Additional info:

Will attach log files from /tmp.  Results are from a virtual machine closely emulating my production laptop; configs managed by cobbler.  The virtual machine would allow shenanigans to get this to work, but which wouldn't address the actual object, which is the hardware laptop I'd like to update.

Comment 1 Stephen P. Schaefer 2014-05-21 03:18:41 UTC
Created attachment 897793 [details]
Kickstart %pre script which make LUKS partition available

Comment 2 Stephen P. Schaefer 2014-05-21 03:22:02 UTC
Created attachment 897794 [details]
Storage log showing presense of VG

Comment 3 Stephen P. Schaefer 2014-05-21 03:24:17 UTC
Created attachment 897795 [details]
gzip'd storage.state file

Comment 4 Stephen P. Schaefer 2014-05-21 03:36:58 UTC
Created attachment 897796 [details]
Kickstart file

Comment 5 David Lehman 2014-05-21 17:23:57 UTC
The only way to make this work currently is to specify the passphrase in the kickstart config as part of the partition command for the encrypted PV(s).

I will take a look at adding the ability to associate an active luks device with its backing device.

Comment 6 Jaroslav Reznik 2015-03-03 17:01:43 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 22 development cycle.
Changing version to '22'.

More information and reason for this action is here:
https://fedoraproject.org/wiki/Fedora_Program_Management/HouseKeeping/Fedora22

Comment 7 Fedora End Of Life 2016-07-19 11:32:42 UTC
Fedora 22 changed to end-of-life (EOL) status on 2016-07-19. Fedora 22 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.


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