Support to allow only boot from cinder volumes

Radosław Piliszek radoslaw.piliszek at gmail.com
Sun Apr 3 09:47:31 UTC 2022


On Sat, 2 Apr 2022 at 16:00, Laurent Dumont <laurentfdumont at gmail.com> wrote:
>
> Hey folks,

Hi Laurent,

> I am trying to see if there are any ways to instruct Openstack to prevent the usage of local storage/ephemeral disks.
>
> There are cases where :
>
> I don't want the added complexity of Ceph.
> I don't want the added hassle of using local volumes/nfs/shared storage on the computes directly.
>
> In an ideal world, creating a VM would mean that you always have a boot-from-volume with the volume being in your chosen backend.
>
> I've seen this spec : https://blueprints.launchpad.net/nova/+spec/flavor-root-disk-none
>
> But it doesn't seem to have survived the Ocata cycle.
>
> Any thoughts?

You can set the root and ephemeral disk sizes to 0 which means the
flavor is not usable without a volume.
This way you are forced to use Cinder and what it offers.

-yoctozepto



More information about the openstack-discuss mailing list