cablelabs/snaps-boot

Run CI on AWS using nested VMs

Closed this issue · 3 comments

For testing snaps-boot we can test this by using nested VMs.

  • create a big VM on AWS (Using AWS apis)

  • Create two nested VMs within the initial VM (ansible / cli / libvirt)

  • Install snaps-boot on one of those VMs (ansible / cli / libvirt)

  • Boot the ipxe image on the other VM (ansible / cli / libvirt)

This is an example of running nested VMs. We don't need all of the networking stuff.
https://opensourceforu.com/2017/07/run-openstack-on-aws/

Ansible has some tasks (i.e. 'virt' & 'virt_net') that could be quite useful here. Please also see the patter being used by snaps-kubernetes.

16.04 CI works with nested VM on AWS:
http://snapsci.cablelabs.com:8080/job/snaps-boot/22/

Next step is make 18.04 to work in CI.

18.04 based CI now works.