Hello,

We’ve proposed adding volume zone to the availability zone profile a while back
but it has been pending review for quite a while now [1] [2].

I added it to the PTG agenda last week to get more traction [3]

Best regards

[1] https://review.opendev.org/c/openstack/octavia/+/906753
[2] https://bugs.launchpad.net/octavia/+bug/2087794
[3] https://etherpad.opendev.org/p/apr2025-ptg-octavia


On 1 Apr 2025, at 02:43, Michael Johnson <johnsomor@gmail.com> wrote:

[You don't often get email from johnsomor@gmail.com. Learn why this is important at https://aka.ms/LearnAboutSenderIdentification ]

Hi Vincent,

You are correct that currently the cinder volume driver for Octavia is
not aware of the Octavia AZs.

The cinder volume driver will always use the cinder availability zone
specified in the Octavia configuration file:
https://eur05.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fopenstack%2Foctavia%2Fblob%2Fmaster%2Foctavia%2Fvolume%2Fdrivers%2Fcinder_driver.py%23L59&data=05%7C02%7Ctobias.urdin%40binero.com%7C032afac033bf4aed883408dd70b64d04%7C89d97f28180f459da0e585855aa63f6c%7C0%7C0%7C638790650474534649%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&sdata=DgLAgfhviVkWf80WmBVwNh1v0vYFDk1RxCwuT2JNMHU%3D&reserved=0

To add this feature to Octavia, you would need to extend the Octavia
availability zone schema to optionally include a cinder AZ in the
Octavia availability zone definition. Then the cinder volume driver
for Octavia will need to be updated to honor this override from the
default in the configuration file.

Michael

On Mon, Mar 31, 2025 at 2:47 AM Vincent Godin <vince.mlist@gmail.com> wrote:

Hello Octavia Team,

We have an Openstack infrastructure with 3 Nova AZ and 3 Cinder AZ. Furthermore, Octavia will use cinder for Amphora disk.
Is there a way to create an Amphora so that the Compute AZ match the Cinder AZ ? As the storage is AZ specific, it's not possible to launch an Amphora on a Compute AZ with a storage on an alternate AZ.

As a client, there is no need to fix where the Amphora will be launched, we just want to be sure that if the Amphora is planned to be launched on a specific AZ, its storage will be selected on the corresponding AZ too !

Vincent