Ask Your Question
2

Can I create a flavour with no local ephermal storage?

asked 2013-08-12 07:18:18 -0500

Stenstad gravatar image

I want to set up a OpenStack solution where the compute nodes doesn't use local storage at all (except for OS and local applications), and where all storage is automatically allocated as Ceph RBD volumes. Is there any support of this out of the box in OpenStack?

The main reason for not using local storage at all, is to be able to do live-migrations on the guests, so that I can evict VMs for maintenance.

I know that I can set up a volume in Cinder, mark it as bootable, and spin up an instance using that volume. But I want the flavor to allocate ephermal storage for the glance-image automatically.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2013-08-12 21:17:43 -0500

Try using the nova flavor-create command to create new flavors.

nova flavor-create [--ephemeral <ephemeral>] [--swap <swap>] \ [--rxtx-factor <factor>] [--is-public <is-public>] <name> <id> <ram> <disk> <vcpus>

where:
--ephemeral <ephemeral> (optional) is the ephemeral space size in GB (the default is 0).
--swap <swap> (optional) is the swap size in MB (the default is 0).
--rxtx-factor <factor> is the RX/TX factor (the default is 1).
--is-public <is-public> makes the flavor accessible to the public (the default is true).
<name> is the name of the new flavor.
<id> is the unique integer ID for the new flavor.
<ram> is the memory size in MB.
<disk> is the disk size in GB.
<vcpus> is the number of vCPUs.
edit flag offensive delete link more

Comments

This is just the output of nova flavor-create, and doesn't really answer my question.

Stenstad gravatar imageStenstad ( 2013-08-13 01:23:19 -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: 2013-08-12 07:18:18 -0500

Seen: 265 times

Last updated: Aug 12 '13