Remove dependency to panko
Panko is being deprecated and removed from OpenStack. Change-Id: I6948a965cba5e3bdba84edbbb49af279fd0310e5
This commit is contained in:
parent
850ffc27a1
commit
6c5102a548
|
@ -8,4 +8,4 @@ sources:
|
|||
sinks:
|
||||
- name: event_sink
|
||||
publishers:
|
||||
- panko://
|
||||
- notifier://
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -169,13 +169,6 @@ You can read more `here <https://github.com/prometheus/pushgateway#about-timesta
|
|||
Due to this, this is not recommended to use this publisher for billing purpose
|
||||
as timestamps in Prometheus will not be exact.
|
||||
|
||||
panko
|
||||
`````
|
||||
|
||||
Event data in Ceilometer can be stored in panko which provides an HTTP REST
|
||||
interface to query system events in OpenStack. To push data to panko,
|
||||
set the publisher to ``panko://``.
|
||||
|
||||
notifier
|
||||
````````
|
||||
|
||||
|
@ -327,6 +320,5 @@ specified. A sample ``publishers`` section in the
|
|||
|
||||
publishers:
|
||||
- gnocchi://
|
||||
- panko://
|
||||
- udp://10.0.0.2:1234
|
||||
- notifier://?policy=drop&max_queue_length=512&topic=custom_target
|
||||
|
|
|
@ -28,7 +28,6 @@ Configuring devstack
|
|||
Optionally, services which extend Ceilometer can be enabled::
|
||||
|
||||
enable_plugin aodh https://opendev.org/openstack/aodh
|
||||
enable_plugin panko https://opendev.org/openstack/panko
|
||||
|
||||
These plugins should be added before ceilometer.
|
||||
|
||||
|
|
Loading…
Reference in New Issue