Browse code

do not stop tgt when we stop cinder

tgt should remain up after we stop cinder, it shouldn't go down with
it, as that prevents servers with volumes from functioning when the
control plane is down.

Change-Id: Iefbc8d06eb677740956b89e157e8c9e176a0564e

Sean Dague authored on 2015/04/16 23:55:11
Showing 1 changed files
... ...
@@ -476,14 +476,6 @@ function stop_cinder {
476 476
     for serv in c-api c-bak c-sch c-vol; do
477 477
         stop_process $serv
478 478
     done
479
-
480
-    if is_service_enabled c-vol; then
481
-        if is_ubuntu; then
482
-            stop_service tgt
483
-        else
484
-            stop_service tgtd
485
-        fi
486
-    fi
487 479
 }
488 480
 
489 481
 # create_volume_types() - Create Cinder's configured volume types