[PATCH] Add a basic test for ostree-based installs.

Vratislav Podzimek vpodzime at redhat.com
Wed Jul 9 07:01:33 UTC 2014


On Tue, 2014-07-08 at 17:26 -0700, Brian C. Lane wrote:
> On Tue, Jul 08, 2014 at 09:32:00AM -0400, Chris Lumens wrote:
> > > 1) if I understand it correctly, the $status is set in the way that the
> > > last livemedia-creator run wins it. Shouldn't the value be combined from
> > > all the test runs or shouldn't the test just fail with the first
> > > lviemedia-creator fail?
> > 
> > If one fails, the whole test case fails.  However, there's value in
> > running all of them because they are independent events and it's useful
> > to know whether just one has a problem or what.
> > 
> > > 2) would it make sense to use xargs and run multiple livemedia-creators
> > > in parallel?
> > 
> > Yeah maybe, though I think the resource management (RAM and vcpus) is
> > going to get tough.  Also, I don't know if lmc can handle being run
> > multiple times.
> 
> lmc should work fine with multiple instances, it creates unique tempdirs
> so it shouldn't stomp on itself. Except for the log files (which I just
> realized) but passing a unique --logfile path should overcome that. Pass
> it the /path/name.log of the primary logfile and the others will be
> written alongside it.
> 
> virt-install access to the iso from multiple VMs may be a problem, I've
> run into it complaining that the iso is in use by another VM when I've
> tried running lmc while a normal virt-install is also running. There
> should be a way around that since access is read only.
I think you need to tell qemu that the medium should be shared.
However, I'm not sure virt-install allows you to do so.

-- 
Vratislav Podzimek

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




More information about the anaconda-patches mailing list