patches to support fancier kstest setups

Vratislav Podzimek vpodzime at redhat.com
Mon Jun 1 09:12:42 UTC 2015


On Fri, 2015-05-29 at 13:58 -0400, Chris Lumens wrote:
> 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.
These all look good to me, but I'm sure bcl has more to say about
this. :)

-- 
Vratislav Podzimek

Anaconda Rider | Red Hat, Inc. | Brno - Czech Republic



More information about the anaconda-patches mailing list