Define key_manager/api_class to a cass full path

https://review.openstack.org/#/c/505752 has switched to use
key_manager.backend which is set by default to 'barbican'.
However, until fix in cinder [1] is merged, cinder expects it
to be a full class path. Castellan uses key_manager/api_class
to resolve key_manager.backend so, setting this parameter to
an existing class will fix jobs until [1] is merged.

A similar workaround has been pushed to p-o-i in [2]

[1] https://review.openstack.org/#/c/468252/
[2] https://review.openstack.org/#/c/507567/

Change-Id: I71755a9f5fb29116167c552988284903a850dfd8
This commit is contained in:
Alfredo Moralejo 2017-09-29 18:55:22 +02:00
parent cea866b785
commit f72ccac503
1 changed files with 1 additions and 0 deletions

View File

@ -37,6 +37,7 @@ class packstack::cinder ()
nova_catalog_admin_info => 'compute:nova:adminURL',
service_workers => hiera('CONFIG_SERVICE_WORKERS'),
default_volume_type => $default_volume_type,
keymgr_api_class => 'castellan.key_manager.barbican_key_manager.BarbicanKeyManager',
}
class { '::cinder::scheduler': }