Comment 5 for bug 1446186

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-web (stable/6.0)

Reviewed: https://review.openstack.org/179103
Committed: https://git.openstack.org/cgit/stackforge/fuel-web/commit/?id=a268337c7f33c76bf7fc15a07d56819daef2c174
Submitter: Jenkins
Branch: stable/6.0

commit a268337c7f33c76bf7fc15a07d56819daef2c174
Author: Alexander Gordeev <email address hidden>
Date: Thu Apr 23 14:37:00 2015 +0300

    [IBP] Fix ValueError while parsing: mdadm --detail

    Backport from 6.1

    fuel-agent doesn't expect header from 'mdadm --detail' output where
    'State' is not present.

    fuel-agent should expect 2 types of headers:
    " Number Major Minor RaidDevice State\n" (already supported)
    " Number Major Minor RaidDevice\n" - addressed by this patch.

    This patch is required to let fuel-agent consume both types of headers.

    Additionally fuel-agent will start to log 'mdadm --detail' output to ease
    troubleshooting.

    Change-Id: Ie20db2c14bdc5669566a140a34d63d28c6115d11
    Closes-Bug: #1446186
    (cherry picked from commit 5283060fdef4e3125cefe1e4f2b2c24cc1698a7c)