Browse code

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

Matt Riedemann authored on 2016/07/08 03:43:39
Showing 1 changed files
... ...
@@ -411,11 +411,7 @@ function create_cinder_cache_dir {
411 411
 }
412 412
 
413 413
 # init_cinder() - Initialize database and volume group
414
-# Uses global ``NOVA_ENABLED_APIS``
415 414
 function init_cinder {
416
-    # Force nova volumes off
417
-    NOVA_ENABLED_APIS=$(echo $NOVA_ENABLED_APIS | sed "s/osapi_volume,//")
418
-
419 415
     if is_service_enabled $DATABASE_BACKENDS; then
420 416
         # (Re)create cinder database
421 417
         recreate_database cinder