# Create flavor to take space from volumes

Hi Everyone,

I have many flavors in my openstack cloud. These flavors have GB assigned and when i launch a VMs with one of this flavors. The space of Root Disk or Ephemeral Disk, is taken from the compute free space. I would like to create a flavor where it takes the space directly from my volumes where i have a lot of space.

For instance, if i have 80gb of root space into my compute and 20TB of volumes, when i launch the VM it take space from the 80GB.

The way i had to do to solve this was put 0GB in every flavor and manually assign the volume when i create the VM which is no a very good practice

Any suggestions ?

edit retag close merge delete

Sort by » oldest newest most voted

Flavors define ephemeral storage, not block storage. On the other hand, block storage is limited by quota, and users can be billed for it just like they can be billed for flavors.

Try running nova boot --block-device source=image,id=*imageid*,dest=volume without providing a specific volume.

more

Hi, Thanks for response.

Absolutely, what i was looking for, is not definitively implemented yet. A fact, is a spec started in newton openstack to develop. Here is the link i found.

https://specs.openstack.org/openstack/nova-specs/specs/newton/approved/flavor-root-disk-none.html (https://specs.openstack.org/openstack...)

Thanks

more