Bug 1111376 - MDRaidError: mddeactivate failed for /dev/md/localhost.localdomain:swap: running mdadm --stop /dev/md/localhost.localdomain:swap failed
Summary: MDRaidError: mddeactivate failed for /dev/md/localhost.localdomain:swap: runn...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: 20
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Anaconda Maintenance Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:69b0d6f454d0fcf9f698f6f4f2f...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-06-19 21:51 UTC by tiapko
Modified: 2014-06-26 18:30 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2014-06-26 18:30:00 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: anaconda-tb (6.43 MB, text/plain)
2014-06-19 21:52 UTC, tiapko
no flags Details
File: anaconda.log (294.07 KB, text/plain)
2014-06-19 21:52 UTC, tiapko
no flags Details
File: environ (518 bytes, text/plain)
2014-06-19 21:52 UTC, tiapko
no flags Details
File: journalctl (2.81 MB, text/plain)
2014-06-19 21:52 UTC, tiapko
no flags Details
File: lsblk_output (4.45 KB, text/plain)
2014-06-19 21:52 UTC, tiapko
no flags Details
File: nmcli_dev_list (4.37 KB, text/plain)
2014-06-19 21:52 UTC, tiapko
no flags Details
File: os_info (375 bytes, text/plain)
2014-06-19 21:52 UTC, tiapko
no flags Details
File: program.log (338.76 KB, text/plain)
2014-06-19 21:52 UTC, tiapko
no flags Details
File: storage.log (3.01 MB, text/plain)
2014-06-19 21:53 UTC, tiapko
no flags Details
File: ifcfg.log (9.93 KB, text/plain)
2014-06-19 21:53 UTC, tiapko
no flags Details

Description tiapko 2014-06-19 21:51:45 UTC
Description of problem:
I just tried to remove any partitions from one hard drive which was part of RAID

Version-Release number of selected component:
anaconda-20.25.15-1.fc20.x86_64

The following was filed automatically by anaconda:
anaconda 20.25.15-1 exception report
Traceback (most recent call first):
  File "/usr/lib/python2.7/site-packages/blivet/devicelibs/mdraid.py", line 222, in mddeactivate
    raise MDRaidError("mddeactivate failed for %s: %s" % (device, msg))
  File "/usr/lib/python2.7/site-packages/blivet/devices.py", line 3399, in teardown
    mdraid.mddeactivate(self.path)
  File "/usr/lib/python2.7/site-packages/blivet/deviceaction.py", line 317, in __init__
    device.teardown()
  File "/usr/lib/python2.7/site-packages/blivet/__init__.py", line 1220, in destroyDevice
    action = ActionDestroyDevice(device)
  File "/usr/lib/python2.7/site-packages/blivet/__init__.py", line 759, in recursiveRemove
    self.destroyDevice(leaf)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes/lib/resize.py", line 397, in _scheduleActions
    self.storage.recursiveRemove(device)
MDRaidError: mddeactivate failed for /dev/md/localhost.localdomain:swap: running mdadm --stop /dev/md/localhost.localdomain:swap failed

Additional info:
cmdline:        /usr/bin/python  /sbin/anaconda --liveinst --method=livecd:///dev/mapper/live-base
cmdline_file:   initrd=initrd0.img root=live:CDLABEL=LIVE rootfstype=vfat ro rd.live.image quiet  rhgb rd.luks=0 rd.md=0 rd.dm=0  BOOT_IMAGE=vmlinuz0 
executable:     /sbin/anaconda
hashmarkername: anaconda
kernel:         3.11.10-301.fc20.x86_64
other involved packages: python-blivet-0.23.9-1.fc20.noarch
product:        Fedora
release:        Fedora release 20 (Heisenbug)
type:           anaconda
version:        20

Comment 1 tiapko 2014-06-19 21:52:17 UTC
Created attachment 910562 [details]
File: anaconda-tb

Comment 2 tiapko 2014-06-19 21:52:21 UTC
Created attachment 910563 [details]
File: anaconda.log

Comment 3 tiapko 2014-06-19 21:52:24 UTC
Created attachment 910564 [details]
File: environ

Comment 4 tiapko 2014-06-19 21:52:39 UTC
Created attachment 910565 [details]
File: journalctl

Comment 5 tiapko 2014-06-19 21:52:41 UTC
Created attachment 910566 [details]
File: lsblk_output

Comment 6 tiapko 2014-06-19 21:52:43 UTC
Created attachment 910567 [details]
File: nmcli_dev_list

Comment 7 tiapko 2014-06-19 21:52:45 UTC
Created attachment 910568 [details]
File: os_info

Comment 8 tiapko 2014-06-19 21:52:48 UTC
Created attachment 910569 [details]
File: program.log

Comment 9 tiapko 2014-06-19 21:53:03 UTC
Created attachment 910570 [details]
File: storage.log

Comment 10 tiapko 2014-06-19 21:53:06 UTC
Created attachment 910571 [details]
File: ifcfg.log

Comment 11 Brian Lane 2014-06-26 18:30:00 UTC
17:22:44,633 INFO program: Running... mdadm --stop /dev/md/localhost.localdomain:swap
17:22:44,643 INFO program: mdadm: Cannot get exclusive access to /dev/md/localhost.localdomain:swap:Perhaps a running process, mounted filesystem or active volume group?

Something else is currently using that device -- probably swap. You could try running swapoff /dev/md/localhost.localdomain:swap before starting anaconda and see what happens.


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