[blivet:f21-branch 00/14] #1147087 related patches

mulhern amulhern at redhat.com
Mon Sep 29 17:22:47 UTC 2014

All but the last are cherry-picks from master.

When I posted the last patch for master/f2-branch,
I thought that the error that was seen was due to
the switch to pyudev. But, since it's in f21-branch that can not be the
case. Nonetheless, uncanonicalized UUIDs are somehow getting in, so the
best step is to canonicalize them on access from udev, which is what the last 
patch does.

The last patch is for both master and f21-branch.

mulhern (14):
  Add a docstring to mdraid.mdexamine
  Factor canonicalize_UUID() into separate method.
  Be more robust in the face of possible changes to mdadm's UUIDs.
  Extend mdadm() to capture output
  Add a method to extract information about an mdraid array
  Refactor mdraid tests.
  Split mdadd into separate functions.
  Break once metadata value is found.
  Fix mdnominate error message.
  Use long messages for unittest errors.
  Still attempt to destroy even if remove failed.
  Add a test for mddetail on containers.
  Add a test for activation.
  Canonicalize MD_UUID* values in udev.py (#1147087)

 blivet/devicelibs/mdraid.py                      | 125 +++++++++---
 blivet/devices.py                                |   2 +-
 blivet/udev.py                                   |   5 +-
 blivet/util.py                                   |  20 ++
 tests/devicelibs_test/mdraid_interrogate_test.py | 240 +++++++++++++++++++++++
 tests/devicelibs_test/mdraid_test.py             | 201 ++++++++++---------
 6 files changed, 464 insertions(+), 129 deletions(-)
 create mode 100755 tests/devicelibs_test/mdraid_interrogate_test.py


More information about the anaconda-patches mailing list