patches to support fancier kstest setups

Chris Lumens clumens at redhat.com
Fri May 29 17:58:01 UTC 2015


The following three patches to anaconda and three patches to lorax allow us to
set up tests that have much fancier disk setups.  This can be as simple as
multiple disks, or as complicated as disks that are preinitialized with some
formatting.

This requires passing extra arguments to virt-install that LMC shouldn't
support.  It already has enough arguments.  Instead I have broken some code out
of LMC into extra pylorax modules and then made an LMC-like program so we still
get all the nice timeout and traceback detection.  I don't think there's more
code that can be shared between LMC and my own program without making it all
more complicated than it needs to be.

This has the extra added bonus of meaning we can just do "autopart" in our
tests unless we want something else.  I've gone ahead and made that change.

It also requires that you create the disks ahead of time.  I've made that change
as well, and moved all the common code into its own file so everyone doesn't
have to remember it every time.

Support for fancy networking is not yet present, but should at least be possible
now.  I simply don't yet know what will be required or how to do it.

- Chris


More information about the anaconda-patches mailing list