From cc0821a5867358b34d7a9c156d02bd19b2f46dec Mon Sep 17 00:00:00 2001 From: Dan Smith Date: Wed, 15 Jul 2020 08:44:00 -0700 Subject: [PATCH] Default Glance to standalone mode A whole set of Glance functionality is not usable under uwsgi, including any of the more powerful async import, customization, and copying functions. In order to facilitate writing and running tempest tests for these features in all environments covered by the various jobs across all the projects that include Glance, we should default to this deployment method. It is still possible to deploy glance in uwsgi mode by setting the flag to False, and we can do that for some jobs to make sure that it continues to work. However, the default should be what we expect deployers will use, which is standalone mode. Depends-On: https://review.opendev.org/741479 Change-Id: I141acab2a07a4eebd8d850f900058bc8cbf9c7bf --- lib/glance | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/glance b/lib/glance index eebaec2a33..e941168d32 100644 --- a/lib/glance +++ b/lib/glance @@ -60,7 +60,7 @@ GLANCE_CACHE_DIR=${GLANCE_CACHE_DIR:=$DATA_DIR/glance/cache} if [[ "$WSGI_MODE" != "uwsgi" ]]; then GLANCE_STANDALONE=True fi -GLANCE_STANDALONE=${GLANCE_STANDALONE:-False} +GLANCE_STANDALONE=${GLANCE_STANDALONE:-True} # File path for each store specified in GLANCE_MULTIPLE_FILE_STORES, the store # identifier will be appended to this path at runtime. If GLANCE_MULTIPLE_FILE_STORES