Ask Your Question
1

Launch Instance from volume

asked 2014-01-02 15:34:01 -0500

bgyako gravatar image

updated 2014-01-22 15:12:55 -0500

Evgeny gravatar image

Hi Guys,

Trying to launch an instance that boots from a volume using Dashboard. I installed Grizzly following instructions from openstack.org basic install. When launch instance using image only it works fine. I am also able to create volumes with no problems.

Once instance that boots from volume is created successfully, the virtual OS console shows booting from floppy , boot failed. no bootable device.

Screen Shot: image description

Read on some posts that I need to create a bootable volume first, not sure how. In addition, instructions I saw do not advise how to specify specific project.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2014-01-03 08:51:39 -0500

SamYaple gravatar image

It is saying no bootable device because the volume you just created is empty. It is all zeros.

You either need to launch an instance with an image (like a debian installer) and install an OS to the volume, or copy a raw image into that volume outside of Openstack.

edit flag offensive delete link more

Comments

During the instance creation it allows me to select an Image I want to use, does this functionality not work correctly in placing that image into the volume? As far raw image, am I actually just making a copy of .img file into the logical volume or is it more involved?

bgyako gravatar imagebgyako ( 2014-01-06 08:34:59 -0500 )edit

I think you may be confused as to the difference between image and volume. Image would be a CD where volume would be your Harddrive. You can boot off of the "CD" but you still need to install the bootable image to the volume. Essentially you are launching a "LiveCD" when you boot from an image.

SamYaple gravatar imageSamYaple ( 2014-01-06 12:28:17 -0500 )edit

Maybe more clarification is needed. I went through the steps here (http://docs.openstack.org/grizzly/openstack-compute/install/apt/content/uploading-to-glance.html) and added 3 images to the Grizzly installation. No CD is being used at this point.

bgyako gravatar imagebgyako ( 2014-01-06 12:40:31 -0500 )edit

I understand what you are saying. I was trying to make the point that a glance image is read only, all of your changes are ephemeral. It does not get cloned into a volume like you are thinking. You can, however, use a glance image to install an OS onto the volume.

SamYaple gravatar imageSamYaple ( 2014-01-06 12:44:35 -0500 )edit

Oh okay, I just thought that creating an instance and selecting the image and then the volume would automatically install that OS in the volume, the process is slightly deceiving. So with that said, how do I insert the image file I have into that volume?

bgyako gravatar imagebgyako ( 2014-01-06 15:34:17 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2014-01-02 15:34:01 -0500

Seen: 1,339 times

Last updated: Jan 08 '14