Remove check for nova-volumes API
The osapi_volume API in Nova has been gone forever, so we don't need to check for that anymore. Change-Id: I7303d3f434fc27a4a1a127e455a7d3b88f588537
This commit is contained in:
parent
8e64c478eb
commit
16edbe4356
@ -411,11 +411,7 @@ function create_cinder_cache_dir {
|
|||||||
}
|
}
|
||||||
|
|
||||||
# init_cinder() - Initialize database and volume group
|
# init_cinder() - Initialize database and volume group
|
||||||
# Uses global ``NOVA_ENABLED_APIS``
|
|
||||||
function init_cinder {
|
function init_cinder {
|
||||||
# Force nova volumes off
|
|
||||||
NOVA_ENABLED_APIS=$(echo $NOVA_ENABLED_APIS | sed "s/osapi_volume,//")
|
|
||||||
|
|
||||||
if is_service_enabled $DATABASE_BACKENDS; then
|
if is_service_enabled $DATABASE_BACKENDS; then
|
||||||
# (Re)create cinder database
|
# (Re)create cinder database
|
||||||
recreate_database cinder
|
recreate_database cinder
|
||||||
|
Loading…
x
Reference in New Issue
Block a user