Is it possible to tie nova compute AZ to cinder AZ?

asked 2020-02-21 05:40:32 -0500

tony.pearce gravatar image

I have 2 x compute nodes that I am testing. Each one has its own cinder backend. In cinder I have created the 2x backends and set: backend 1: backend_availability_zone = test-cluster1

backend 2: backend_availability_zone = test-cluster2

In nova I have 2 x (availability zones) which are named the same as above in cinder. When I launch an instance I am getting an error that the backend AZ is not found.

What is missing from the above to achieve this?

edit retag flag offensive close merge delete


Can you share the precise command for launching your instance and the precise error message?

Bernd Bausch gravatar imageBernd Bausch ( 2020-02-21 05:57:41 -0500 )edit

Hi - nice to speak with you again :) I am using Horizon and the error is that no AZ is defined (because I have default_availability_zone = No-storage-zone-specified in cinder.conf). In Horizon I am only selecting the nova AZ. In Cinder I have "scheduler_default_filters = AvailabilityZoneFilter"

tony.pearce gravatar imagetony.pearce ( 2020-02-21 06:22:57 -0500 )edit

...and that cinder default filters is already the default

tony.pearce gravatar imagetony.pearce ( 2020-02-21 06:23:21 -0500 )edit

in horizon, i am just going and setting name of instance, network, flavour etc. I am not setting any metadata on instance create.

tony.pearce gravatar imagetony.pearce ( 2020-02-21 06:24:36 -0500 )edit