Do a proper tls/ca cleanup in unstack

Certificates and the index were left in the data directory after
running unstack. That would break devstack on the next run.

partial blueprint devstack-https
Change-Id: I6eb552a76fb29addf4d02254c027e473d6805df1
This commit is contained in:
Stanislaw Pitucha
2014-06-25 15:29:43 +01:00
parent e33379658f
commit bd5dae0618
2 changed files with 22 additions and 2 deletions

@ -122,9 +122,10 @@ if is_service_enabled horizon; then
stop_horizon
fi
# Kill TLS proxies
# Kill TLS proxies and cleanup certificates
if is_service_enabled tls-proxy; then
killall stud
stop_tls_proxy
cleanup_CA
fi
SCSI_PERSIST_DIR=$CINDER_STATE_PATH/volumes/*