Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.

Bug 568408

Summary: DMError: dm device does not exist
Product: [Fedora] Fedora Reporter: Adam Williamson <awilliam>
Component: anacondaAssignee: David Lehman <dlehman>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: medium    
Version: 13CC: jonathan, vanmeeuwen+fedora
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard: anaconda_trace_hash:00aaa6d6d29b3d668022a00115e5a92ed2662232eaf22f09101c1eb71d22e1f6
Fixed In Version: anaconda-13.32-1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-02-27 01:21:00 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:
Bug Depends On:    
Bug Blocks: 538273    
Attachments:
Description Flags
Attached traceback automatically from anaconda. none

Description Adam Williamson 2010-02-25 16:48:07 UTC
The following was filed automatically by anaconda:
anaconda 13.31 exception report
Traceback (most recent call first):
  File "/usr/lib/anaconda/storage/devicelibs/dm.py", line 64, in dm_node_from_name
    raise DMError("dm device does not exist")
  File "/usr/lib/anaconda/storage/devicelibs/swap.py", line 106, in swapstatus
    alt_dev = "/dev/%s" % dm.dm_node_from_name(device.split("/")[-1])
  File "/usr/lib/anaconda/storage/formats/swap.py", line 120, in status
    return self.exists and swap.swapstatus(self.device)
  File "/usr/lib/anaconda/storage/__init__.py", line 1763, in mtab
    if not device.format.status:
  File "/usr/lib/anaconda/storage/__init__.py", line 1156, in mtab
    return self.fsset.mtab()
  File "/usr/lib/anaconda/livecd.py", line 372, in doPostInstall
    f.write(anaconda.storage.mtab)
  File "/usr/lib/anaconda/backend.py", line 297, in doPostInstall
    anaconda.backend.doPostInstall(anaconda)
  File "/usr/lib/anaconda/dispatch.py", line 205, in moveStep
    rc = stepFunc(self.anaconda)
  File "/usr/lib/anaconda/dispatch.py", line 126, in gotoNext
    self.moveStep()
  File "/usr/lib/anaconda/gui.py", line 1313, in nextClicked
    self.anaconda.dispatch.gotoNext()
  File "/usr/lib/anaconda/iw/progress_gui.py", line 79, in renderCallback
    self.intf.icw.nextClicked()
  File "/usr/lib/anaconda/gui.py", line 1334, in handleRenderCallback
    self.currentWindow.renderCallback()
DMError: dm device does not exist

Comment 1 Adam Williamson 2010-02-25 16:48:11 UTC
Created attachment 396328 [details]
Attached traceback automatically from anaconda.

Comment 2 Adam Williamson 2010-02-25 16:51:02 UTC
this comes at the end of the live install process (after 'making post-install changes to file systems' or whatever it's called), when using dlehman's swap.py fix for https://bugzilla.redhat.com/show_bug.cgi?id=567840 .

Comment 3 David Lehman 2010-02-25 19:04:41 UTC
Patch for 567840 revised to prevent this failure as well.

Comment 4 Adam Williamson 2010-02-27 01:21:00 UTC
confirmed, works in alpha rc4.