Skip to content

Commit

Permalink
Remove Glance uWSGI config in clean.sh
Browse files Browse the repository at this point in the history
Updated clean.sh to remove Glance's Apache uWSGI config files in
APACHE_CONF_DIR, including /etc/apache2/sites-enabled/ on Ubuntu.

Test Plan:
- Run clean.sh.
- Confirm Glance uWSGI configs are removed from APACHE_CONF_DIR.

Closes-Bug: #2057999

Change-Id: I44475b8e084c4b20d7b7cb7f28574f797dbda7a2
  • Loading branch information
OriginLiu committed Mar 15, 2024
1 parent 5e837d1 commit 5f5255b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions lib/glance
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,7 @@ function cleanup_glance {
# Cleanup reserved stores directories
sudo rm -rf $GLANCE_STAGING_DIR $GLANCE_TASKS_DIR
fi
remove_uwsgi_config "$GLANCE_UWSGI_CONF" "$GLANCE_UWSGI"
}

# Set multiple cinder store related config options for each of the cinder store
Expand Down
2 changes: 1 addition & 1 deletion lib/host
Original file line number Diff line number Diff line change
Expand Up @@ -95,4 +95,4 @@ function configure_host_net {
function tune_host {
configure_host_mem
configure_host_net
}
}

0 comments on commit 5f5255b

Please sign in to comment.