Remove Glance uWSGI config in clean.sh

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
This commit is contained in:
huicoffee 2024-03-15 17:15:33 +08:00
parent 5e837d1f0d
commit 5f5255bc01
2 changed files with 2 additions and 1 deletions

View File

@ -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

View File

@ -95,4 +95,4 @@ function configure_host_net {
function tune_host {
configure_host_mem
configure_host_net
}
}