Initial boot from Ubuntu ISO, reboot from ephemeral disk

asked 2015-01-12 20:03:39 -0600

MMC gravatar image

I am using Openstack Icehouse. I am able to install ISO when the VM is launched, but to reboot after the installation, the VM doesn't boot from disk instead from CDROM again and become always in the installation screen after reboot.

It installs ISO CDROM installation but afterwards it needs to boot from disk. I tried the KVM virtual machine manager and saw it can install ISO from cdrom and boot from HD fine.

Can anyone share a successful experience with ISO installation in icehouse with ephemeral disk?

What additional work we need to do to get it to work if openstack release can not handle ISO installation?


edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2015-01-12 23:34:16 -0600

Attachment of HD in KVM is equivalent to attaching a Openstack Cinder Volume to Instance. 1: Create a cinder Volume of appropriate size say 20 GB. 2: Bootup an instance with Ubuntu ISO file and attach Cinder Volume to it. 3: Ubuntu will detect this volume and you can install Ubuntu on it. 4: After installation is complete, you can delete this VM, create a new VM and boot it up from Cinder Volume NOT through .ISO file.

P.S: you can also install Ubuntu on ephemeral disk as you did, but every time when you boot up, it will boot from .ISO file and you have to click on power icon on top right corner of installation screen and select reboot , now VM will boot from ephemeral disk .

edit flag offensive delete link more


Installing Ubuntu ISO by a VM for another VM to boot up seems to work for one VM. How about every additional VMs? Can we clone that cinder volume to use for the later created VMs? For the ephemeral disk installation, to restart by power icon is still back to the install screen. Appreciate the ideas.

MMC gravatar imageMMC ( 2015-01-13 01:45:45 -0600 )edit

Just upload the cinder volume into glance! Now you will have an image to that volume that you can deploy any time!

capsali gravatar imagecapsali ( 2015-01-14 15:15:44 -0600 )edit

Launch instances by dashboard "boot from image (creates a new volume)" with Ubuntu 12.04 desktop ISO and volume 40GB. During installation, it always pops up a failure to create a swap space message: "The creation of swap space in partition #5 of Virtual disk 1 (vda) failed" and stops. Any ideas?

MMC gravatar imageMMC ( 2015-01-19 19:57:57 -0600 )edit

As suggested Created new Volume and installed Ubuntu OS in that newly created Volume. After that created New VM and attached the Volume with OS. Instance launched sucessfully. But when I give user credentials to login, Waits for 2 minutes & again it comes back to user prompt. Unable to login?

Shiva Palem gravatar imageShiva Palem ( 2016-04-10 10:57:05 -0600 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools



Asked: 2015-01-12 20:03:39 -0600

Seen: 1,771 times

Last updated: Jan 12 '15