Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(Backport 52150) mdadm_raid: Optionally ignore errors on examine. #55001

Merged
merged 4 commits into from
Nov 14, 2019

Conversation

aplanas
Copy link
Contributor

@aplanas aplanas commented Oct 14, 2019

What does this PR do?

During the RAID creation, the code examine each device to decide
if belongs to an already present array or not. The first time that
the RAID is created, is expected that examine will fail.

This patch add an optional parameter to examine, to ignore the fail
in the logs. Also calls examine with this parameter during the RAID
creation.

Tests written?

Yes

(backport #52150, already merged in develop)

During the RAID creation, the code examine each device to decide
if belongs to an already present array or not. The first time that
the RAID is created, is expected that examine will fail.

This patch add an optional parameter to examine, to ignore the fail
in the logs. Also calls examine with this parameter during the RAID
creation.

(cherry picked from commit bfd8b11)
@DmitryKuzmenko DmitryKuzmenko requested a review from a team as a code owner November 6, 2019 08:10
@ghost ghost requested a review from dwoz November 6, 2019 08:10
@dwoz dwoz merged commit cf57c21 into saltstack:master Nov 14, 2019
@aplanas aplanas deleted the backport_52150 branch April 7, 2020 16:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants