Force Nova to use Cinder Volumes [closed]

asked 2016-11-14 06:15:28 -0500

fekle gravatar image


We are using Open Stack Newton on a simple setup with 2 servers. As our Compute node has 2 raid partitions, one with 170g and one with 1tb, we are using the 170g one as root drive, and the 1TB one as cinder storage using LVM.

We are booting all Instances from an Image, but use the option to auto-create a volume and boot from it. The problem is, while Nova does not use any storage from our 170g root volume, it does provision it - so now we can't boot any more instances, as the 170gb are "full", while in reality not even 10% is used, as we boot from Volumes.

We can solve this problem by setting all flavours to 0gb root disk, creating a volume from an image manually, and then booting from the image.

This, however, gets tedious quickly, and we would love to continue setting the root disk size in flavors, as well as simply create instances from an image with automatic volume creation.

So I would like to ask, is there any way to force Nova to use Cinder for its root disks, instead of the local storage? Meaning to disable local root volumes altogether, and use Cinder for everything.

Thanks in advance!

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by fekle
close date 2017-06-27 06:53:19.294220

1 answer

Sort by ยป oldest newest most voted

answered 2016-11-14 09:58:10 -0500

volenbovsky gravatar image


yeah - setting disk in appropriate flavor to 0 sounds OK as of today.

See blueprint:, to be implemented in Ocata.

For some background/possible code changes (but not merged!) see and related mail chain

edit flag offensive delete link more


Thanks for your reply and insights!

So we will continue like i explained for now, and upgrade to Ocata when it is released next year.

fekle gravatar imagefekle ( 2016-11-16 06:30:08 -0500 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2016-11-14 06:12:24 -0500

Seen: 984 times

Last updated: Nov 14 '16