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
diff --git a/lib/cinder b/lib/cinder
index 49db410..c8291a2 100644
--- a/lib/cinder
+++ b/lib/cinder
@@ -361,6 +361,7 @@
screen_it c-api "cd $CINDER_DIR && $CINDER_BIN_DIR/cinder-api --config-file $CINDER_CONF"
screen_it c-vol "cd $CINDER_DIR && $CINDER_BIN_DIR/cinder-volume --config-file $CINDER_CONF"
screen_it c-sch "cd $CINDER_DIR && $CINDER_BIN_DIR/cinder-scheduler --config-file $CINDER_CONF"
+ screen_it c-bak "cd $CINDER_DIR && $CINDER_BIN_DIR/cinder-backup --config-file $CINDER_CONF"
# Start proxies if enabled
if is_service_enabled c-api && is_service_enabled tls-proxy; then
@@ -371,7 +372,7 @@
# stop_cinder() - Stop running processes
function stop_cinder() {
# Kill the cinder screen windows
- for serv in c-api c-sch c-vol; do
+ for serv in c-api c-bak c-sch c-vol; do
screen -S $SCREEN_NAME -p $serv -X kill
done