neoave / mrack

Multicloud use-case based multihost async provisioner for CIs and testing during development
Apache License 2.0
11 stars 14 forks source link

RFE: Nested/remote provisioning for libvirt and podman #210

Open jakub-vavra-cz opened 1 year ago

jakub-vavra-cz commented 1 year ago

Currently there is support for provisioning containers and using libvirt only locally. I would like to be able to:

  1. Use remote host as a hypervisor.
  2. Use remote host as a podman container host.
  3. Do that with a previously provisioned machine.

My use-case would be to get a VM in supported providers (AWS, OpenStack, libvirt, beaker) and use it as a container host and hypervisor. This would enable running workflows dependent on windows (AD integration testing) also in beaker.

pvoborni commented 1 year ago

This is already possible but bit indirectly. Treat it as 2 jobs, One job gets the host vm and second is executed on the host with the local containers/vms. The only complexity is if you want to combine the 2 methods together as it would require to combine the outputs of both provisioning.

pvoborni commented 1 year ago

We could maybe have a method to do it in single job metadata file - it would need a good design, to do it right.