Merge "Disable all import methods if glance is not standalone"
This commit is contained in:
commit
56a38c47e2
@ -193,6 +193,11 @@ function configure_glance {
|
||||
iniset $GLANCE_API_CONF cors allowed_origin "http://$SERVICE_HOST"
|
||||
fi
|
||||
|
||||
if [[ "$GLANCE_STANDALONE" == "False" ]]; then
|
||||
# NOTE(danms): Do not advertise import methods if we are running in WSGI mode
|
||||
iniset $GLANCE_API_CONF enabled_import_methods []
|
||||
fi
|
||||
|
||||
# No multiple stores for swift yet
|
||||
# Store the images in swift if enabled.
|
||||
if is_service_enabled s-proxy; then
|
||||
|
Loading…
Reference in New Issue
Block a user