Merge "Configure boto.cfg in tempest to point to SSL bundle"
This commit is contained in:
commit
b23cdf294b
@ -63,6 +63,7 @@ BUILD_TIMEOUT=${BUILD_TIMEOUT:-196}
|
||||
|
||||
|
||||
BOTO_MATERIALS_PATH="$FILES/images/s3-materials/cirros-${CIRROS_VERSION}"
|
||||
BOTO_CONF=$TEMPEST_DIR/boto.cfg
|
||||
|
||||
# Cinder/Volume variables
|
||||
TEMPEST_VOLUME_DRIVER=${TEMPEST_VOLUME_DRIVER:-default}
|
||||
@ -424,6 +425,12 @@ function configure_tempest {
|
||||
fi
|
||||
done
|
||||
|
||||
if is_ssl_enabled_service "keystone" || is_service_enabled tls-proxy; then
|
||||
# Use the BOTO_CONFIG environment variable to point to this file
|
||||
iniset $BOTO_CONF Boto ca_certificates_file $SSL_BUNDLE_FILE
|
||||
sudo chown $STACK_USER $BOTO_CONF
|
||||
fi
|
||||
|
||||
# Restore IFS
|
||||
IFS=$ifs
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user