Use Castellan's backend option instead of api_class
This is a mostely complete solution. Ideally we could use the stevedore entry point name 'barbican' instead of the full class name for cinder, but I87926d6c95ac82b6f74c263c7441614f80348c1e needs to merge first. Change-Id: I32ed528f585e790bc771473504ab7e4bfeb63de9
This commit is contained in:
parent
6da6b0a0aa
commit
cc5858c9ae
@ -69,14 +69,14 @@ fi
|
||||
# Set the correct config options in Nova, Cinder and Glance
|
||||
function configure_core_services {
|
||||
if is_service_enabled n-cpu; then
|
||||
iniset $NOVA_CONF key_manager api_class 'castellan.key_manager.barbican_key_manager.BarbicanKeyManager'
|
||||
iniset $NOVA_CONF key_manager backend 'barbican'
|
||||
fi
|
||||
|
||||
if is_service_enabled c-vol; then
|
||||
iniset $CINDER_CONF key_manager api_class 'castellan.key_manager.barbican_key_manager.BarbicanKeyManager'
|
||||
iniset $CINDER_CONF key_manager backend 'castellan.key_manager.barbican_key_manager.BarbicanKeyManager'
|
||||
fi
|
||||
|
||||
if is_service_enabled g-api; then
|
||||
iniset $GLANCE_API_CONF key_manager api_class 'castellan.key_manager.barbican_key_manager.BarbicanKeyManager'
|
||||
iniset $GLANCE_API_CONF key_manager backend 'barbican'
|
||||
fi
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user