Bug 1285270 - [RFE] Running VM should be based on cirros / Fedora Cloud image
Summary: [RFE] Running VM should be based on cirros / Fedora Cloud image
Keywords:
Status: CLOSED DEFERRED
Alias: None
Product: ovirt-system-tests
Classification: Community
Component: RFEs
Version: 0.4
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: ---
Assignee: David Caro
QA Contact: Pavel Stehlik
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-11-25 10:30 UTC by Yaniv Kaul
Modified: 2016-06-26 23:51 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-01-27 19:13:51 UTC
oVirt Team: ---
Embargoed:


Attachments (Terms of Use)

Description Yaniv Kaul 2015-11-25 10:30:04 UTC
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.

Comment 1 David Caro 2015-11-25 10:48:41 UTC
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)

Comment 2 Yaniv Kaul 2015-11-25 10:55:05 UTC
(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?

Comment 3 David Caro 2015-11-25 10:59:13 UTC
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

Comment 4 David Caro 2016-01-27 19:13:51 UTC
Moved to https://github.com/lago-project/lago/issues/49


Note You need to log in before you can comment on or make changes to this bug.