Bug 490198
| Summary: | F10: preupgrade: anaconda failure to upgrade F10 to Rawhide with LUKS/LVM partition | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Eric Maryniak <e.maryniak> | ||||||
| Component: | anaconda | Assignee: | Anaconda Maintenance Team <anaconda-maint-list> | ||||||
| Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||
| Severity: | medium | Docs Contact: | |||||||
| Priority: | low | ||||||||
| Version: | 10 | CC: | anaconda-maint-list, dlehman, jamie+rhbugz, pjones, rmaximo, vanmeeuwen+fedora | ||||||
| Target Milestone: | --- | ||||||||
| Target Release: | --- | ||||||||
| Hardware: | i686 | ||||||||
| OS: | Linux | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2009-03-13 22:44:30 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
Eric Maryniak
2009-03-13 19:02:53 UTC
I forgot to mention: the dump was '/tmp/anacdump.txt'.
The anaconda messages ("self.__luksDevs[device.format.uuid] = device.format.__passphrase" and "AttributeError: 'LUKS' object has no attribute '_Storage__passphrase'") seem to suggest that there is no passphrase.
This is not the case: there is a passphrase and I very carefully -- and repeatedly -- made sure I typed it in correctly (and saw '*').
I noted, however, that the anaconda cursor remained an hourglass.
Are 'dm' and 'aes' kernel modules loaded correctly?
I have no trouble mounting /dev/sda6 by hand with a rescue cd (e.g. www.sysresccd.org):
# mkdir /sda6
# cryptsetup -v luksOpen /dev/sda6 sda6
... enter passphrase
# ( not necessary but sometimes mentioned: dmsetup mknodes)
# vgscan -v --ignorelockingfailure
# vgchange -a y --ignorelockingfailure
# ls -lrt /dev/dm-*
lrwxrwxrwx 1 root root 11 2009-02-22 13:48 /dev/dm-0 -> mapper/sda6
lrwxrwxrwx 1 root root 14 2009-02-22 13:51 /dev/dm-1 -> mapper/vg0-lv0
lrwxrwxrwx 1 root root 14 2009-02-22 13:51 /dev/dm-2 -> mapper/vg0-lv1
# mount -v -t ext3 /dev/mapper/vg0-lv0 /sda5
... /sda5 is accessible and ok
# umount -v /dev/mapper/vg0-lv0
# vgchange -a n --ignorelockingfailure
# cryptsetup luksClose sda6
# vgdisplay -v
... shows no more vg's/lv's
#_
This should be fixed in anaconda-11.5.0.30-1. Thanks for the bug report. I appear to be having the same problem with anaconda 11.5.0.51, but I am never even prompted for a LUKS passphrase. Attaching anaconda log file. Created attachment 343596 [details]
Preupgrade Anaconda log file
(In reply to comment #3) > I appear to be having the same problem with anaconda 11.5.0.51, but I am never > even prompted for a LUKS passphrase. Attaching anaconda log file. This bug is against F10, not F11. What you are seeing is bug 499321, which should be fixed in rawhide within a day or two. Apologies |