Drop authtoken middleware options from ceilometer config file

Ceilometer no longer provides API service.

Change-Id: Ice5d80f2f44a0a79f051cffb6fb84421160dd380
This commit is contained in:
Takashi Kajinami 2023-12-25 20:30:14 +09:00
parent 079e5eda9f
commit 55dfd1eee4
2 changed files with 2 additions and 7 deletions

View File

@ -283,8 +283,6 @@ function configure_ceilometer {
iniset $CEILOMETER_CONF service_credentials region_name $REGION_NAME
iniset $CEILOMETER_CONF service_credentials auth_url $KEYSTONE_SERVICE_URI
configure_auth_token_middleware $CEILOMETER_CONF ceilometer $CEILOMETER_AUTH_CACHE_DIR
if [[ "$VIRT_DRIVER" = 'vsphere' ]]; then
iniset $CEILOMETER_CONF DEFAULT hypervisor_inspector vsphere
iniset $CEILOMETER_CONF vmware host_ip "$VMWAREAPI_IP"
@ -302,9 +300,8 @@ function configure_ceilometer {
# init_ceilometer() - Initialize etc.
function init_ceilometer {
# Create cache dir
sudo install -d -o $STACK_USER $CEILOMETER_AUTH_CACHE_DIR
rm -f $CEILOMETER_AUTH_CACHE_DIR/*
# Nothing to do
:
}
# Install Ceilometer.

View File

@ -8,8 +8,6 @@ enable_service ceilometer-anotification
CEILOMETER_DIR=$DEST/ceilometer
CEILOMETER_CONF_DIR=/etc/ceilometer
CEILOMETER_CONF=$CEILOMETER_CONF_DIR/ceilometer.conf
CEILOMETER_AUTH_CACHE_DIR=${CEILOMETER_AUTH_CACHE_DIR:-/var/cache/ceilometer}
CEILOMETER_WSGI_DIR=${CEILOMETER_WSGI_DIR:-/var/www/ceilometer}
# Gnocchi is the default backind if both "CEILOMETER_BACKEND"
# and "CEILOMETER_BACKENDS" are empty