Bug 817023

Summary: "mdadm --monitor" crashes when resync finishes
Product: [Fedora] Fedora Reporter: Jes Sorensen <Jes.Sorensen>
Component: mdadmAssignee: Jes Sorensen <Jes.Sorensen>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 17CC: agk, dledford, h.reindl, Jes.Sorensen, lukasz.dorau, mbroz
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-06-07 02:48:34 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Jes Sorensen 2012-04-27 13:11:05 UTC
Description of problem:
"mdadm --monitor" crashes when resync finishes.

Version-Release number of selected component (if applicable):
mdadm v3.2.3

How reproducible:
Frequently

Steps to Reproduce:
1. Start mdadm monitor daemon
mdadm --monitor --scan --daemonize -y -m root@localhost --delay=1

2. Create container and redundant array
mdadm -C /dev/md/imsm0 -amd -e imsm -n 4 /dev/sda /dev/sdb /dev/sdc /dev/sdd -R
mdadm -C /dev/md/vol -amd -l5 --chunk 64 --size $[2*1024*1024] -n3 /dev/sda
/dev/sdb /dev/sdc -R -f

3. Wait for end of resync.
4. Check if mdadm monitor is running.

Actual results:
mdadm monitor crashes

Expected results:
mdadm monitor should run in the background and report events by sending emails
and logging to system log.

Additional info:
This bug is fixed by patch in Neil's repo:
commit: 8453f8d0df0111cfd25e984afb7a64153b04bc27
http://neil.brown.name/git?p=mdadm;a=commitdiff;h=8453f8d0df0111cfd25e984afb7a64153b04bc27

Comment 1 Fedora Update System 2012-05-02 10:09:16 UTC
mdadm-3.2.3-9.fc17 has been submitted as an update for Fedora 17.
https://admin.fedoraproject.org/updates/mdadm-3.2.3-9.fc17

Comment 2 Fedora Update System 2012-05-02 10:15:19 UTC
mdadm-3.2.3-9.fc16 has been submitted as an update for Fedora 16.
https://admin.fedoraproject.org/updates/mdadm-3.2.3-9.fc16

Comment 3 Fedora Update System 2012-05-02 10:19:09 UTC
mdadm-3.2.3-9.fc15 has been submitted as an update for Fedora 15.
https://admin.fedoraproject.org/updates/mdadm-3.2.3-9.fc15

Comment 4 Fedora Update System 2012-05-02 20:34:14 UTC
Package mdadm-3.2.3-9.fc17:
* should fix your issue,
* was pushed to the Fedora 17 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing mdadm-3.2.3-9.fc17'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-7105/mdadm-3.2.3-9.fc17
then log in and leave karma (feedback).

Comment 5 Jes Sorensen 2012-05-04 13:16:09 UTC
*** Bug 816527 has been marked as a duplicate of this bug. ***

Comment 6 Fedora Update System 2012-05-10 14:48:37 UTC
mdadm-3.2.4-2.fc17 has been submitted as an update for Fedora 17.
https://admin.fedoraproject.org/updates/mdadm-3.2.4-2.fc17

Comment 7 Fedora Update System 2012-05-10 14:51:14 UTC
mdadm-3.2.4-2.fc16 has been submitted as an update for Fedora 16.
https://admin.fedoraproject.org/updates/mdadm-3.2.4-2.fc16

Comment 8 Fedora Update System 2012-05-10 14:54:00 UTC
mdadm-3.2.4-2.fc15 has been submitted as an update for Fedora 15.
https://admin.fedoraproject.org/updates/mdadm-3.2.4-2.fc15

Comment 9 Fedora Update System 2012-05-15 16:36:04 UTC
mdadm-3.2.4-3.fc17 has been submitted as an update for Fedora 17.
https://admin.fedoraproject.org/updates/mdadm-3.2.4-3.fc17

Comment 10 Fedora Update System 2012-05-15 16:42:28 UTC
mdadm-3.2.4-3.fc16 has been submitted as an update for Fedora 16.
https://admin.fedoraproject.org/updates/mdadm-3.2.4-3.fc16

Comment 11 Fedora Update System 2012-05-15 16:47:10 UTC
mdadm-3.2.4-3.fc15 has been submitted as an update for Fedora 15.
https://admin.fedoraproject.org/updates/mdadm-3.2.4-3.fc15

Comment 12 Fedora Update System 2012-05-21 15:07:54 UTC
mdadm-3.2.5-1.fc17 has been submitted as an update for Fedora 17.
https://admin.fedoraproject.org/updates/mdadm-3.2.5-1.fc17

Comment 13 Fedora Update System 2012-05-21 15:14:08 UTC
mdadm-3.2.5-1.fc16 has been submitted as an update for Fedora 16.
https://admin.fedoraproject.org/updates/mdadm-3.2.5-1.fc16

Comment 14 Fedora Update System 2012-05-21 15:19:44 UTC
mdadm-3.2.5-1.fc15 has been submitted as an update for Fedora 15.
https://admin.fedoraproject.org/updates/mdadm-3.2.5-1.fc15

Comment 15 Fedora Update System 2012-06-07 02:48:34 UTC
mdadm-3.2.5-1.fc15 has been pushed to the Fedora 15 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 16 Fedora Update System 2012-06-07 02:51:48 UTC
mdadm-3.2.5-1.fc16 has been pushed to the Fedora 16 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 17 Fedora Update System 2012-06-26 07:16:05 UTC
mdadm-3.2.5-3.fc17 has been submitted as an update for Fedora 17.
https://admin.fedoraproject.org/updates/mdadm-3.2.5-3.fc17

Comment 18 Fedora Update System 2012-07-11 23:53:59 UTC
mdadm-3.2.5-3.fc17 has been pushed to the Fedora 17 stable repository.  If problems still persist, please make note of it in this bug report.