Ask Your Question

Is it possible to use Cinder as the machines drive?

asked 2016-07-20 06:38:11 -0500

centenor gravatar image


We are currently running OpenStack Liberty in a test environment to test out all of the functionality. We have 4 separate servers a controlloler, compute, storage node, and object storage node. One thing I have noticed however is that every VM that is created is using the space in the compute node rather than the storage node. Is it possible to create a VM so that it uses volumes created through Cinder as its drives?

I know that there's an option to attach a volume once the VM is created but i'm curious if there is anything I can do to attach the VM to that volume before creation

I am trying to do all this through the Horizon Dashboard

Thank you!

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2016-07-20 07:16:54 -0500

yes, you can use cinder volume as your primary disk for instances, simply when you create a new instances on horizon you have to select under "Instance Boot Source" -> Boot from Image (Create a new volume), then you could select the image name and the disk size... that's all!

otherwise you can do the same things in two steps: - create a new cinder volume and under Volume source select Image -> then select the image name, type, size and availability zone; - after that you could create a new instance and under "Instance Boot Source" you can select Boot from Volume and then you can select the volume just created.

HTH Amedeo

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2016-07-20 06:38:11 -0500

Seen: 91 times

Last updated: Jul 20 '16