Merge "Clear out the keystone pki data for each run"
This commit is contained in:
commit
d22dd9c06c
@ -253,6 +253,7 @@ function init_cinder() {
|
||||
# Create cache dir
|
||||
sudo mkdir -p $CINDER_AUTH_CACHE_DIR
|
||||
sudo chown `whoami` $CINDER_AUTH_CACHE_DIR
|
||||
rm -f $CINDER_AUTH_CACHE_DIR/*
|
||||
}
|
||||
|
||||
# install_cinder() - Collect source and prepare
|
||||
|
@ -162,8 +162,10 @@ function init_glance() {
|
||||
# Create cache dir
|
||||
sudo mkdir -p $GLANCE_AUTH_CACHE_DIR/api
|
||||
sudo chown `whoami` $GLANCE_AUTH_CACHE_DIR/api
|
||||
rm -f $GLANCE_AUTH_CACHE_DIR/api/*
|
||||
sudo mkdir -p $GLANCE_AUTH_CACHE_DIR/registry
|
||||
sudo chown `whoami` $GLANCE_AUTH_CACHE_DIR/registry
|
||||
rm -f $GLANCE_AUTH_CACHE_DIR/registry/*
|
||||
}
|
||||
|
||||
# install_glanceclient() - Collect source and prepare
|
||||
|
@ -259,11 +259,13 @@ function init_keystone() {
|
||||
|
||||
if [[ "$KEYSTONE_TOKEN_FORMAT" == "PKI" ]]; then
|
||||
# Set up certificates
|
||||
rm -rf $KEYSTONE_CONF_DIR/ssl
|
||||
$KEYSTONE_DIR/bin/keystone-manage pki_setup
|
||||
|
||||
# Create cache dir
|
||||
sudo mkdir -p $KEYSTONE_AUTH_CACHE_DIR
|
||||
sudo chown `whoami` $KEYSTONE_AUTH_CACHE_DIR
|
||||
rm -f $KEYSTONE_AUTH_CACHE_DIR/*
|
||||
fi
|
||||
}
|
||||
|
||||
|
1
lib/nova
1
lib/nova
@ -435,6 +435,7 @@ function init_nova() {
|
||||
# Create cache dir
|
||||
sudo mkdir -p $NOVA_AUTH_CACHE_DIR
|
||||
sudo chown `whoami` $NOVA_AUTH_CACHE_DIR
|
||||
rm -f $NOVA_AUTH_CACHE_DIR/*
|
||||
}
|
||||
|
||||
# install_novaclient() - Collect source and prepare
|
||||
|
@ -127,6 +127,7 @@ function quantum_setup_keystone() {
|
||||
# Create cache dir
|
||||
sudo mkdir -p $QUANTUM_AUTH_CACHE_DIR
|
||||
sudo chown `whoami` $QUANTUM_AUTH_CACHE_DIR
|
||||
rm -f $QUANTUM_AUTH_CACHE_DIR/*
|
||||
}
|
||||
|
||||
function quantum_setup_ovs_bridge() {
|
||||
|
Loading…
Reference in New Issue
Block a user