salt.module.mdadm.create fails on debian, probably others #15532
Labels
Bug
broken, incorrect, or confusing behavior
Core
relates to code central or existential to Salt
info-needed
waiting for more info
P3
Priority 3
severity-medium
3rd level, incorrect or bad functionality, confusing and lacks a work around
Milestone
Due to mdadm's insistence on prompting to continue after displaying the following warning:
when creating any array even when specifying the
--force
flag the creation of arrays with mdadm will always fail unless the metadata version is explicitly set with the--metadata
flag. The default behavior is to choose default metadata version, which is 1.2, on most recent platforms as of this writing. Ifmdadm
is called with--metadata=default
the warning and continue prompt are not displayed. However making this the default behavior makes it impossible to then pass a different value to themetadata
flag when calling the module.So, IMHO, the
metadata
flag of mdadm should be promoted to a named option of this module that defaults to the valuedefault
.The text was updated successfully, but these errors were encountered: