Bug 1090360 - blivet.reset() deactivates MD RAIDs
Summary: blivet.reset() deactivates MD RAIDs
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: python-blivet
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
urgent
Target Milestone: ---
Assignee: David Lehman
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-04-23 07:38 UTC by Jan Safranek
Modified: 2014-04-28 13:43 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2014-04-28 13:43:11 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
reproducer (just initialzies blivet instance...) (766 bytes, text/x-python)
2014-04-23 07:38 UTC, Jan Safranek
no flags Details
blivet log (246.22 KB, text/plain)
2014-04-23 07:39 UTC, Jan Safranek
no flags Details
correct blivet log (246.22 KB, text/plain)
2014-04-23 07:43 UTC, Jan Safranek
no flags Details
correct blivet log (104.79 KB, text/plain)
2014-04-23 07:47 UTC, Jan Safranek
no flags Details

Description Jan Safranek 2014-04-23 07:38:54 UTC
Created attachment 888789 [details]
reproducer (just initialzies blivet instance...)

blivet.reset() deactivates my MD RAIDs.

Version-Release number of selected component (if applicable):
python-blivet-0.49-1.fc21.noarch

How reproducible:
always

Steps to Reproduce:
1. mdadm -C /dev/md/test -l 1 -n 2 /dev/sdc{1,2}
2. initialize blivet
3. ls /dev/md*

Actual results:
no /dev/md127 (a.k.a. /dev/md/test

Expected results:
/dev/md127 survives

Additional info:
From blivet log:
INFO:blivet: scanning md127 (/devices/virtual/block/md127)...
INFO:blivet: md127 is an md device
ERROR:blivet: failed to scan md array test
INFO:program: Running... mdadm --stop /dev/md/test
INFO:program: mdadm: stopped /dev/md/test

[full log attached]

Comment 1 Jan Safranek 2014-04-23 07:39:27 UTC
Created attachment 888790 [details]
blivet log

Comment 2 Jan Safranek 2014-04-23 07:43:51 UTC
Created attachment 888791 [details]
correct blivet log

Sorry, I attached wrong log, this is the right one.

Comment 3 Jan Safranek 2014-04-23 07:47:06 UTC
Created attachment 888793 [details]
correct blivet log

Third attempt to attach proper log...

Comment 4 Jan Safranek 2014-04-23 08:02:23 UTC
The last working version is python-blivet-0.45. python-blivet-0.46 and newer starts stopping MD RAIDs.

Comment 5 David Lehman 2014-04-23 13:39:42 UTC
I think the patches I posted for review yesterday will resolve this.

(https://lists.fedorahosted.org/pipermail/anaconda-patches/2014-April/010392.html)

Comment 6 Jan Safranek 2014-04-28 13:43:11 UTC
Fixed in python-blivet-0.50-1


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