Bug 519031

Summary: RuntimeError: device is already mapped
Product: [Fedora] Fedora Reporter: Frank Murphy <frankly3d>
Component: anacondaAssignee: Anaconda Maintenance Team <anaconda-maint-list>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: rawhideCC: anaconda-maint-list, vanmeeuwen+fedora
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard: anaconda_trace_hash:cc73975620e8af49978a8ddf12470c1ce1ffb30b83691d732f4028179ce0de15
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-08-25 19:37:38 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
Attached traceback automatically from anaconda. none

Description Frank Murphy 2009-08-24 16:40:08 UTC
The following was filed automatically by anaconda:
anaconda 12.16-1.fc12 exception report
Traceback (most recent call first):
  File "/usr/lib/anaconda/storage/devicetree.py", line 69, in getLUKSPassphrase
    raise RuntimeError("device is already mapped")
  File "/usr/lib/anaconda/storage/devicetree.py", line 1350, in handleUdevLUKSFormat
    self.__passphrase)
  File "/usr/lib/anaconda/storage/devicetree.py", line 1650, in handleUdevDeviceFormat
    self.handleUdevLUKSFormat(info, device)
  File "/usr/lib/anaconda/storage/devicetree.py", line 1254, in addUdevDevice
    self.handleUdevDeviceFormat(info, device)
  File "/usr/lib/anaconda/storage/devicetree.py", line 1868, in populate
    self.addUdevDevice(dev)
  File "/usr/lib/anaconda/storage/__init__.py", line 293, in reset
    self.devicetree.populate()
  File "/usr/lib/anaconda/storage/__init__.py", line 74, in storageInitialize
    storage.reset()
  File "/usr/lib/anaconda/dispatch.py", line 204, in moveStep
    rc = stepFunc(self.anaconda)
  File "/usr/lib/anaconda/dispatch.py", line 127, in gotoNext
    self.moveStep()
  File "/usr/lib/anaconda/gui.py", line 1201, in nextClicked
    self.anaconda.dispatch.gotoNext()
RuntimeError: device is already mapped

Comment 1 Frank Murphy 2009-08-24 16:40:25 UTC
Created attachment 358480 [details]
Attached traceback automatically from anaconda.

Comment 2 Frank Murphy 2009-08-24 16:45:52 UTC
home was pre-setup in /dev/sda3

install was to use free space before home
for default partitions.

had just inputted to use Irish keyboard, when exception happened.

Comment 3 Frank Murphy 2009-08-25 07:08:38 UTC
https://www.redhat.com/archives/fedora-list/2009-August/msg02201.html

Portions of this may be relevant?
As I also used gparted to setup the free-space.
Palimpsest Disk Utility, havng refused to allow permission.

Comment 4 Frank Murphy 2009-08-25 09:34:07 UTC
Solved (Hopefully)

When booting from the liveMedia.
As a reflex, I always entered luks p\w when asked.

If this is skipped, just press enter util boot continues.

Partitioning (gparted\Palimpsest) and then install work fine.
Maybe is may be the case for other similar events?

Comment 5 Andy Lindeberg 2009-08-25 13:53:07 UTC
That's not a solution, merely a workaround. Feel free to use it to avoid this problem, of course, but the underlying cause for the traceback should still be fixed.

Comment 6 Chris Lumens 2009-08-25 19:37:38 UTC

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