Ask Your Question

Create VM image from an ISO containing installation

asked 2013-04-30 07:03:02 -0600

Doude gravatar image

updated 2013-04-30 07:06:47 -0600

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?



edit retag flag offensive close merge delete

1 answer

Sort by » oldest newest most voted

answered 2013-05-15 03:59:47 -0600

fifieldt gravatar image


Unfortunately it isn't published yet, but the documentation team is working on a "VM Image Guide". If you can handle the formatting, a section on manually creating images using an ISO is available here:,unified

edit flag offensive delete link more



Thanks for the link. I think this new guide "VM Image Guide" is inspired by the pages of the OpenStack Compute Administration Manual.

Doude gravatar imageDoude ( 2013-05-20 05:20:43 -0600 )edit

But it's not what I'm looking for. I'd like to use the OpenStack cloud resources to boot and generate my own image. So I need to boot my ISO installer from OpenStack and then use the attached disks to installed the system.

Doude gravatar imageDoude ( 2013-05-20 05:21:49 -0600 )edit

When it's finish, I can generate/upload this new image to Glance to use it after.

Doude gravatar imageDoude ( 2013-05-20 05:21:53 -0600 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2013-04-30 07:03:02 -0600

Seen: 4,364 times

Last updated: May 20 '13