Red Hat Bugzilla – Bug 1285270
[RFE] Running VM should be based on cirros / Fedora Cloud image
Last modified: 2016-06-26 19:51:20 EDT
Description of problem:
CirrOS (https://launchpad.net/cirros) provides all the bits we need to launch a VM with Cloud-Init support (which we can actually login to as well).
We may need to look at guest agent support for it, though.
It is also VERY small, making it consumable, we can put it on Glance, the export domain, etc.
there's already a cirros image in the git repo (7Mb) used for the lago functional tests, but yes, the guest agent does not work properly there so it's only used for the basic functional ones (start/stop/shell and a couple more).
You want to use it as base image for the second level vms? (lago starts the vdsm hosts, and inside those, the second level vms to test the vm creation and migration in ovirt)
(In reply to David Caro from comment #1)
> You want to use it as base image for the second level vms? (lago starts the
> vdsm hosts, and inside those, the second level vms to test the vm creation
> and migration in ovirt)
Right - that was the idea behind it. Looks like, as there's no packages manager even, it'd be quite a challenge not only to port but also to install the guest agent there. I guess the better solution is Fedora's cloud image (https://getfedora.org/cloud/download/) - quite bigger, but completely operational for our needs (and fully supported upstream).
I therefore rephrased the request - we should have both, use cirros for whatever doesn't involve any guest work, and Fedora for the rest. Or we can settle on a single one - Fedora cloud image?
That's exactly what we are doing for the lago functional tests (the ones that run when you change lago code). We use the cirros for basic functional (run on each patch, is quite fast) and fedora cloud for the full functional tests.
We can do something similar for the ovirt-system-tests yes
Moved to https://github.com/lago-project/lago/issues/49