[cinder] prevent change volume type from different AZ

Gorka Eguileor geguileo at redhat.com
Wed Aug 9 12:04:29 UTC 2023


On 08/08, Nguyễn Hữu Khôi wrote:
> Hello guys.
> I have 2 AZ and 1 volume backend on each AZ.
>
> My goal is when 1 volume was created from the AZ then user cannot change
> it to another volume type on a different AZ.
>
> Thank you.
>
> Nguyen Huu Khoi

Hi,

If you only have 2 volume types, then you can just disable the retype
operation using policies and they won't be able to use the operation to
move from one AZ to the other.

I believe there is no other way to limit that.

Cheers,
Gorka.


[1]: https://docs.openstack.org/cinder/queens/configuration/block-storage/policy.html#




More information about the openstack-discuss mailing list