Ask Your Question
0

Flavor's disk is too small for requested image

asked 2016-04-11 00:10:50 -0600

syko gravatar image

updated 2016-04-11 00:11:58 -0600

Hi,

I first created a nova instance from centos 6 cloud image and gave it disk space 80GB. I set it up for distribution and installed the applications. Now I am going to distribute this image and launch lots of instances.

However it turns out that each VM do not need such a huge (80GB) persistent disk space. Some ephemeral disk space would be enough.

So I want to shrink the disk size requirement (size of root fs?) for the image so that it can fit into the smaller sized flavors. When I tried to run the image over a small flavor, it gives me the following error message.

2016-04-11 13:34:13.448 8737 ERROR nova.compute.manager [instance: 81b2d41b-4878-475b-9b46-021f00908056] BuildAbortException: Build of instance 81b2d41b-4878-475b-9b46-021f00908056 aborted: Flavor's disk is too small for requested image. Flavor disk is 17179869184 bytes, image is 85899345920 bytes.

How can I resolve this issue?

thanks for your helps

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2016-04-11 01:11:39 -0600

pjb gravatar image

You Can edit each flavor/image details :

1) GO to Dashboard and log in as the admin user
2) Select "Admin", then "Flavors"
3) Edit "Flavors."

Else if you wan to edit the image details:

1) GO to Dashboard and log in as the admin user
2) Select "Admin", then "images"
3) Select "edit image" for your image
4) Change the "Minimum Disk (GB)" value

Hope this solves your issue.

edit flag offensive delete link more

Comments

@pjb Before I modify 'Minimum Disk (GB)' attribute of the image, I couldn't even launch an instance. I modified 'Minimum Disk (GB)' into 16GB which should enough. Now when I launch an instance with the image, it fails to boot up leaving the same error log messages. The image size didn't shrink.

syko gravatar imagesyko ( 2016-04-11 03:00:38 -0600 )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: 2016-04-11 00:10:50 -0600

Seen: 2,244 times

Last updated: Apr 11 '16