Skip to content

Commit

Permalink
lib/cinder: Migrate cinder to WSGI module path
Browse files Browse the repository at this point in the history
Change-Id: I494dae51c65318299d4fe2ff5887c97ac2be3224
Signed-off-by: Stephen Finucane <[email protected]>
Depends-on: https://review.opendev.org/c/openstack/cinder/+/902876
  • Loading branch information
stephenfin committed Dec 9, 2024
1 parent 5bf9d13 commit 05f7d30
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/cinder
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ CINDER_STATE_PATH=${CINDER_STATE_PATH:=$DATA_DIR/cinder}

CINDER_CONF_DIR=/etc/cinder
CINDER_CONF=$CINDER_CONF_DIR/cinder.conf
CINDER_UWSGI=$CINDER_BIN_DIR/cinder-wsgi
CINDER_UWSGI=cinder.wsgi.api:application
CINDER_UWSGI_CONF=$CINDER_CONF_DIR/cinder-api-uwsgi.ini
CINDER_API_PASTE_INI=$CINDER_CONF_DIR/api-paste.ini

Expand Down Expand Up @@ -404,7 +404,7 @@ function configure_cinder {
setup_logging $CINDER_CONF

if is_service_enabled c-api; then
write_uwsgi_config "$CINDER_UWSGI_CONF" "$CINDER_UWSGI" "/volume"
write_uwsgi_config "$CINDER_UWSGI_CONF" "$CINDER_UWSGI" "/volume" "" "cinder-api"
fi

if [[ -r $CINDER_PLUGINS/$CINDER_DRIVER ]]; then
Expand Down

0 comments on commit 05f7d30

Please sign in to comment.