Browse code

Added cinder-backup service (not enabled by default)

cinder-backup service has been added to cinder. This fix adds the
cinder-backup service. To enable this service, c-bak must be added
to ENABLED_SERVICES in the users localrc. To actually perform a
backup the user must enable swift or another service.

Change-Id: If4ef8d78081be572987e7c38c76ff57e82b4f744

Stephen Mulcahy authored on 2013/02/21 20:20:58
Showing 1 changed files
... ...
@@ -361,6 +361,7 @@ function start_cinder() {
361 361
     screen_it c-api "cd $CINDER_DIR && $CINDER_BIN_DIR/cinder-api --config-file $CINDER_CONF"
362 362
     screen_it c-vol "cd $CINDER_DIR && $CINDER_BIN_DIR/cinder-volume --config-file $CINDER_CONF"
363 363
     screen_it c-sch "cd $CINDER_DIR && $CINDER_BIN_DIR/cinder-scheduler --config-file $CINDER_CONF"
364
+    screen_it c-bak "cd $CINDER_DIR && $CINDER_BIN_DIR/cinder-backup --config-file $CINDER_CONF"
364 365
 
365 366
     # Start proxies if enabled
366 367
     if is_service_enabled c-api && is_service_enabled tls-proxy; then
... ...
@@ -371,7 +372,7 @@ function start_cinder() {
371 371
 # stop_cinder() - Stop running processes
372 372
 function stop_cinder() {
373 373
     # Kill the cinder screen windows
374
-    for serv in c-api c-sch c-vol; do
374
+    for serv in c-api c-bak c-sch c-vol; do
375 375
         screen -S $SCREEN_NAME -p $serv -X kill
376 376
     done
377 377