OK thanks, looks like there might be a bug here so have created

https://bugs.launchpad.net/cinder/+bug/1817802


Thanks,
Sam



On 26 Feb 2019, at 8:37 pm, Gorka Eguileor <geguileo@redhat.com> wrote:

On 26/02, Sam Morrison wrote:
Hi,
Just wondering if extra_capabilities should be available in backend_state
to be able to be used by scheduler filters?

I can't seem to use my custom capabilities within the capabilities filter.

Thanks,
Sam

Hi Sam,

As far as I know this is supported.

The volume manager is sending this information to the scheduler and the
capabilities filter should be able to match the extra specs from the
volume type to the extra capabilities you have set in the configuration
of the cinder volume service using available operations: =, <in>, <is>,
etc.

Cheers,
Gorka.