Centos 6.5 - Havana - InstanceTypeDiskTooSmall

asked 2014-04-04 20:07:56 -0600

theoni gravatar image

updated 2014-04-04 20:10:23 -0600

I am completely new to this, so please forgive my ignorance. I have installed Havana on Centos 6.5 (rdo-release-havana-7.noarch.rpm) with packstack --allinone on a new machine (after format, centos install, yum update -y) with 300GB disk space. Everything is looking good (networking, authentication, horizon etc), but I am not able to launch any instance except for the preinstalled Cirros. I have downloaded various cloud images (i.e. Fedora19 32-bit etc), but whenever I try to launch them, they exit with error as soon as they get to spawning state, and in compute.log I read the following:

InstanceTypeDiskTooSmall: Instance type s disk is too small for the requested image.
ERROR nova.compute.manager Instance failed to spawn
ERROR nova.virt.images virtual size 2147483648 larger than flavor root disk size 1073741824

I have tried to use different flavor or/and define minimum size, but nothing happened, I keep getting "InstanceTypeDiskTooSmall: Instance type' s disk is too small for the requested image".

Please note that I have previously installed Grizzly on the same machine and I had no such problem with any image. Can you please provide me with a known working solution of Havana on Centos (I mean maybe a specific rpm to use)? Thank you.

edit retag flag offensive close merge delete


If you run with debug enabled in /etc/nova/nova.conf, do you see anything else in the logs that seems to be related? Are you using one of the Fedora "cloud" images from here?

larsks gravatar imagelarsks ( 2014-04-04 21:58:51 -0600 )edit

This is one of the images I tried. Thank you for your comment, changing the flavor details resolved my issue.

theoni gravatar imagetheoni ( 2014-04-04 23:00:12 -0600 )edit

3 answers

Sort by ยป oldest newest most voted

answered 2014-04-04 22:29:08 -0600

craigtracey gravatar image

Hi theoni,

The issue here is that the image you are trying to boot is too large for the flavor you have requested. If you click on the 'Flavor' tab in the Horizon UI, you will see that you can change the size of the 'Root Disk' by clicking 'Edit Flavor.'

Similarly, you can manipulate flavors by way of the nova CLI.

In either case, simply updating or creating a flavor with a Root Disk large enough to accommodate your image will resolve the issue.

Hope this helps... Craig

edit flag offensive delete link more


Craig, can't thank you enough. I modified tiny flavor' s root disk size and image has launched. However, I am not sure I get it. Flavor "small" has a default root disk of 20GB, however image was unable to launch. I changed "tiny" flavor disk size to 10GB and the image launched.

theoni gravatar imagetheoni ( 2014-04-04 23:02:54 -0600 )edit

answered 2014-04-05 02:12:05 -0600

c0nsaw gravatar image

As a student user of OpenStack also, I have faced this problem at the start as well, so for the sake of simpleness, I remove all the flavours except the small flavour, using the horizon gui, and then edit the small flavour to 2gb of ram, and 10gb size, this works perfect for playing with standard sized images like fedora or ubuntu :)

edit flag offensive delete link more

answered 2014-04-05 01:00:49 -0600

santosh.rath gravatar image

Hi Santosh, When you lauch vm in gui dashboard . you select appropriate size of root disk on flavor. I had also faced same type issue at the time Vm Launch. You have centos 6.5 iso file then Slect root disk size more than of iso file size . you Select "small" and launch the vm. i hope you got point.

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools


Asked: 2014-04-04 20:07:56 -0600

Seen: 1,068 times

Last updated: Apr 05 '14