diff options
author | Matthias Runge <mrunge@redhat.com> | 2021-05-18 15:04:18 +0200 |
---|---|---|
committer | Matthias Runge <mrunge@redhat.com> | 2021-05-18 15:04:18 +0200 |
commit | 6c5102a5485e5e6bf091970eb10df4763d17e628 (patch) | |
tree | c55cabd08f9886a982738be6d9bcedd3a373242d /devstack | |
parent | 850ffc27a13f6f95da1fdb8f949a6ab646e01365 (diff) | |
download | ceilometer-6c5102a5485e5e6bf091970eb10df4763d17e628.tar.gz |
Remove dependency to panko
Panko is being deprecated and removed from OpenStack.
Change-Id: I6948a965cba5e3bdba84edbbb49af279fd0310e5
Diffstat (limited to 'devstack')
-rw-r--r-- | devstack/plugin.sh | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/devstack/plugin.sh b/devstack/plugin.sh index dd5a15e2..ff8ee7d4 100644 --- a/devstack/plugin.sh +++ b/devstack/plugin.sh @@ -207,12 +207,7 @@ function _ceilometer_configure_cache_backend { # Set configuration for storage backend. function _ceilometer_configure_storage_backend { if [ "$CEILOMETER_BACKEND" = 'none' ] ; then - # It's ok for the backend to be 'none', if panko is enabled. We do not - # combine this condition with the outer if statement, so that the else - # clause below is not executed. - if ! is_service_enabled panko-api; then - echo_summary "All Ceilometer backends seems disabled, set \$CEILOMETER_BACKEND to select one." - fi + echo_summary "All Ceilometer backends seems disabled, set \$CEILOMETER_BACKEND to select one." elif [ "$CEILOMETER_BACKEND" = 'gnocchi' ] ; then sed -i "s/gnocchi:\/\//gnocchi:\/\/?archive_policy=${GNOCCHI_ARCHIVE_POLICY}\&filter_project=gnocchi_swift/" $CEILOMETER_CONF_DIR/event_pipeline.yaml $CEILOMETER_CONF_DIR/pipeline.yaml ! [[ $DEVSTACK_PLUGINS =~ 'gnocchi' ]] && configure_gnocchi @@ -220,12 +215,6 @@ function _ceilometer_configure_storage_backend { die $LINENO "Unable to configure unknown CEILOMETER_BACKEND $CEILOMETER_BACKEND" fi - # configure panko - if is_service_enabled panko-api; then - if ! grep -q 'panko' $CEILOMETER_CONF_DIR/event_pipeline.yaml ; then - echo ' - panko://' >> $CEILOMETER_CONF_DIR/event_pipeline.yaml - fi - fi } # Configure Ceilometer |