Create VM image from an ISO containing installation
Hi all,
I use OpenStack release Grizzly with libvirk/KVM virt driver.
I try to create an image from an ISO containing installation.
The ISO is publish on Glance library with DISK_FORMAT set to 'iso'.
I try different methods:
1/ I boot a VM from the ISO image with flavor 'm1.tiny' (no 'root disk' and no 'ephemeral disk'). The VM start with 'root disk' as the ISO image and start the ISO installer but no empty disk are available (normal because 'root disk' and 'ephemeral disk' are null). So I tried to attach a volume to that VM but it fails with that output error [1] on the compute.
2/ I define a flavor 'test' with a root and an ephemeral disk both set to 20Go and I start again a VM from the ISO image with that 'test' flavor. The VM start with 'root disk' as the ISO image resized [2] to 20Go. I can make the installation on the ephemeral disk. When it finishes, I try to create a snapshot to publish the new installed image but Nova snapshots only the disk image (which is the ISO installer image).
3/ So I try again with the precedent configuration (in 2/). And I try to attach a volume to that VM but it fails with that output error [3] on the compute (not the same error in 1/).
How can I run ISO installer to publish a new VM template?
[1] http://paste.openstack.org/show/36704/
[2] http://paste.openstack.org/show/36705/
[3] http://paste.openstack.org/show/36706/
Regards,
Édouard.