Browse code

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

Dan Smith authored on 2020/07/16 00:44:00
Showing 1 changed files
... ...
@@ -60,7 +60,7 @@ GLANCE_CACHE_DIR=${GLANCE_CACHE_DIR:=$DATA_DIR/glance/cache}
60 60
 if [[ "$WSGI_MODE" != "uwsgi" ]]; then
61 61
     GLANCE_STANDALONE=True
62 62
 fi
63
-GLANCE_STANDALONE=${GLANCE_STANDALONE:-False}
63
+GLANCE_STANDALONE=${GLANCE_STANDALONE:-True}
64 64
 
65 65
 # File path for each store specified in GLANCE_MULTIPLE_FILE_STORES, the store
66 66
 # identifier will be appended to this path at runtime. If GLANCE_MULTIPLE_FILE_STORES