[Ci-users] Nested virtualization in centos-ci?

Wed Feb 17 13:36:24 UTC 2016
Dominic Cleal <dominic at cleal.org>

On 17/02/16 13:29, Honza Horak wrote:
> Hi, I'm wondering if something like nested virtualization is 
> possible/available/recommended in centos ci.
> My use case is that we would like to have a test for mariadb galera and 
> this test is hard to be written on one machine + ideally we'd like to 
> test real machine to machine workflow.
> Is it something we can do in the jenkins?

I don't think you'd even need nested virt, since the tests run on bare
metal (via Duffy). If you do virtualise, then the hosts that the tests
run on are virt-capable.

You may not even need virtualisation as you can launch multiple hosts
and could configure them to run tests between each other. The
sclo-ci-tests are rather hardcoded for a single host, but this could be
extended either as a one-off or build it into the data in the repo some
more, e.g. a separate run.sh script per host.

Dominic Cleal
dominic at cleal.org