On 08/02/11 - 09:37:06AM, James Labocki wrote:
Are the image building methods that aeolus uses documented anywhere?
I recently discovered that one restriction of using Aeolus with Red Hat Enterprise
Virtualization (RHEV) as a provider is that the image builder service requires the use of
Hardware-assisted virtualization (HVM). I realized this when running Aeolus in a virtual
machine in order to make Aeolus fault tolerant. When executing `aeolus-image build
--target rhevm --template template.tpl ` I saw the following error in the
libvirtError: unknown OS type hvm
I was told that RHEV requires KVM to build images. I would like to know what build
methods are supported or plan to be supported for each type of provider.
The reason that this restriction is in place is that when we do full "local"
builds of an operating system, we do it using the guest installer. That is,
we launch a virtual machine and then use the native installer (Anaconda,
Windows installer, etc) to do the install.
We currently support local builds for EC2 (Linux only), RHEV-M, and VMware.
There is another type of build that we call "snapshot" builds. In these types
of builds, you start with an existing image in the cloud, make changes to it,
and then snapshot it to get the final image you want. This has obvious
advantages in that you don't have to upload all those bits, you can always
start from "golden" templates, etc. It also means that we don't run the OS
installer, so no KVM is required.
We currently support snapshot builds for EC2 and Rackspace (and I *think* that
is all for right now).
We certainly could consider trying to do snapshot style builds for RHEV-M and
VMware. I don't know if it is currently on the roadmap, but feel free to open
a RFE Bugzilla requesting it.