Refresh the ceilometer.conf file provided by Ceilosca

monasca-ceilometer repo has an example copy of the ceilometer.conf
file used for devstack deployment and as an example.  Ceilometer
project has made a few changes in Pike and Queens (including
removal of the famous v2 API), so some options have changed.

Also noticed a typo in devstack/plugin.sh.

Change-Id: I2dabefd825bbe131b42d435af479075f8a372e0d
This commit is contained in:
Joseph Davis 2018-03-14 16:19:02 -07:00
parent b18aaa053e
commit 05b0c9abb4
2 changed files with 17 additions and 32 deletions

View File

@ -26,7 +26,7 @@ function configure_ceilosca {
iniset $CEILOMETER_CONF database metering_connection monasca://$MONASCA_API_URL
iniset $CEILOMETER_CONF notification workers $API_WORKERS
iniset $CEILOMETER_CONF notifications workload_partitioning False
iniset $CEILOMETER_CONF notification workload_partitioning False
# Disable, otherwise Ceilosca won't process and store event data
iniset $CEILOMETER_CONF notification disable_non_metric_meters False

View File

@ -1,17 +1,18 @@
# Example ceilometer.conf file provided by monasca-ceilometer
# Note: Devstack install of ceilometer and ceilosca will not use this file.
# Rather, monasca-ceilometer/devstack/plugin.sh will replace certain
# properties in the /etc/ceilometer/ceilometer.conf created by the
# ceilometer installation.
# If you choose to use this file, be sure to replace the IPs and passwords to
# match your deployment.
[DEFAULT]
collector_workers = 1
notification_workers = 3
policy_file = /etc/ceilometer/policy.json
debug = False
verbose = False
notification_topics = notifications
rpc_backend = rabbit
debug = false
verbose = false
transport_url = rabbit://stackrabbit:password@16.78.179.83:5672//
[oslo_messaging_rabbit]
rabbit_userid = stackrabbit
rabbit_password = password
rabbit_hosts = 16.78.179.83
[oslo_messaging_notifications]
topics = notifications
[service_credentials]
auth_url = http://192.168.10.6:5000/v3
@ -24,30 +25,14 @@ user_domain_id = default
auth_type = password
interface = internalURL
[keystone_authtoken]
auth_type = v3password
cafile = /opt/stack/data/ca-bundle.pem
auth_uri = http://16.78.179.83:5000
project_domain_id = default
project_name = service
user_domain_id = default
project_domain_name = Default
user_domain_name = Default
password = password
username = ceilometer
auth_url = http://16.78.179.83:35357
auth_plugin = password
region_name = RegionOne
[notification]
store_events = True
disable_non_metric_meters = False
workers = 3
# Note: database section removed after Pike from Ceilometer
[database]
#metering_connection = mysql://root:password@127.0.0.1/ceilometer?charset=utf8
event_connection = mysql://root:password@127.0.0.1/ceilometer?charset=utf8
alarm_connection = mysql://root:password@127.0.0.1/ceilometer?charset=utf8
# metering_connection = mysql://root:password@127.0.0.1/ceilometer?charset=utf8
connection = monasca://http://127.0.0.1:8070/v2.0
metering_time_to_live = -1
[monasca]
enable_api_pagination = True