[cinder] prevent change volume type from different AZ
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
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....
Thank you for your guide. I will try it. On Wed, Aug 9, 2023, 7:04 PM Gorka Eguileor <geguileo@redhat.com> wrote:
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....
participants (2)
-
Gorka Eguileor
-
Nguyễn Hữu Khôi