[blivet:master/rhel7 0/9] #1090009 related patches (v2)

mulhern amulhern at redhat.com
Thu Dec 11 22:29:20 UTC 2014


I couldn't test previous patches on RHEL7 very easily because of the
problem with curl and authentication. When it occurred to me that I 
could test them on master, I found that they achieved nothing. The new
approach is tested on master and appears to work.

The first three patches are only for master. They are efforts that I thought
would solve the problem once and I don't want to waste the work.

The #1090009 labeled patches are all necessary to actually fix the bug.

It would be good to make some separate little class to read useful information
like the array_state from the little files that mdadm likes to stow away.
mddetail sort of does this, but its output is meant to be human readable,
which also means hard to parse. But that is a worry for another day.

mulhern (9):
  Change _matchNames so that it is less restrictive
  Add mddetail2 method.
  Substitute simple value for single element array.
  Change allow_degraded_mdraid flag to allow_imperfect_devices
    (#1090009)
  Make a procedure for reading an array's state from its file (#1090009)
  Use mdraid.new md_array_state() method to get state of md array
    (#1090009)
  Add mdrun method to just start, not assemble, an array. (#1090009)
  Add a method that looks at DEVNAME (#1090009)
  If allowing degraded array, attempt to start it (#1090009)

 blivet/devicelibs/mdraid.py                      | 58 +++++++++++++++++
 blivet/devices/md.py                             | 14 ++--
 blivet/devicetree.py                             | 34 +++++++---
 blivet/flags.py                                  |  4 +-
 blivet/udev.py                                   |  3 +
 tests/devicelibs_test/mdraid_interrogate_test.py | 83 +++++++++++++++++++-----
 6 files changed, 161 insertions(+), 35 deletions(-)

-- 
1.9.3



More information about the anaconda-patches mailing list