Make all services optionals except keystone
Change-Id: I2cb3c75bdd738a8e19796456f0aed14237ef755e
This commit is contained in:
parent
84f5a7be89
commit
b4caa4d0e6
@ -238,7 +238,10 @@ if [[ "$RUN_BASE" == "True" ]]; then
|
||||
rsync -a $BASE_DEVSTACK_DIR/files/$IMAGE_FNAME $BASE_RELEASE_DIR/images
|
||||
fi
|
||||
done
|
||||
rsync -a $BASE_DEVSTACK_DIR/files/images/ $BASE_RELEASE_DIR/images
|
||||
# NOTE(sileht): If glance is not enabled the directory cannot exists.
|
||||
if [[ -d $BASE_DEVSTACK_DIR/files/images ]] ; then
|
||||
rsync -a $BASE_DEVSTACK_DIR/files/images/ $BASE_RELEASE_DIR/images
|
||||
fi
|
||||
stop $STOP image-cache 20
|
||||
|
||||
# Operation
|
||||
|
@ -1,2 +1,4 @@
|
||||
register_project_for_upgrade glance
|
||||
register_db_to_save glance
|
||||
if is_service_enabled glance; then
|
||||
register_project_for_upgrade glance
|
||||
register_db_to_save glance
|
||||
fi
|
||||
|
@ -1,2 +1,4 @@
|
||||
register_project_for_upgrade nova
|
||||
register_db_to_save nova
|
||||
if is_service_enabled nova; then
|
||||
register_project_for_upgrade nova
|
||||
register_db_to_save nova
|
||||
fi
|
||||
|
@ -1 +1,3 @@
|
||||
register_project_for_upgrade horizon
|
||||
if is_service_enabled horizon; then
|
||||
register_project_for_upgrade horizon
|
||||
fi
|
||||
|
13
save-state
13
save-state
@ -47,10 +47,15 @@ save_data $BASE_RELEASE $BASE_DEVSTACK_DIR
|
||||
# Save ebtables/iptables
|
||||
# ----------------------
|
||||
|
||||
sudo iptables-save >$SAVE_DIR/iptables.$BASE_RELEASE
|
||||
sudo ebtables -t broute -L >$SAVE_DIR/ebtables-broute.$BASE_RELEASE
|
||||
sudo ebtables -t filter -L >$SAVE_DIR/ebtables-filter.$BASE_RELEASE
|
||||
sudo ebtables -t nat -L >$SAVE_DIR/ebtables-nat.$BASE_RELEASE
|
||||
# NOTE(sileht): If nova is not installed this tools are not present
|
||||
if [ -x "$(iptable-save)" ]; then
|
||||
sudo iptables-save >$SAVE_DIR/iptables.$BASE_RELEASE
|
||||
fi
|
||||
if [ -x "$(ebtables)" ]; then
|
||||
sudo ebtables -t broute -L >$SAVE_DIR/ebtables-broute.$BASE_RELEASE
|
||||
sudo ebtables -t filter -L >$SAVE_DIR/ebtables-filter.$BASE_RELEASE
|
||||
sudo ebtables -t nat -L >$SAVE_DIR/ebtables-nat.$BASE_RELEASE
|
||||
fi
|
||||
|
||||
# Log RabbitMQ state
|
||||
# ------------------
|
||||
|
Loading…
Reference in New Issue
Block a user