deb-ceilometer/install-guide/source/install-base-config-common.inc
gord chung 8c6d8551bb include gnocchi+keystone instructions in install guide
ceilometer needs gnocchi to be registered in keystone to work

Closes-Bug: #1665348
Change-Id: Ie1986861b7d6812a52951f89aa406e3e7bec87aa
2017-02-28 18:11:16 +00:00

72 lines
2.0 KiB
PHP

2. Edit the ``/etc/ceilometer/ceilometer.conf`` file and complete
the following actions:
* Configure Gnocchi connection:
.. code-block:: ini
[dispatcher_gnocchi]
# filter out Gnocchi-related activity meters (Swift driver)
filter_service_activity = False
# default metric storage archival policy
archive_policy = low
* In the ``[DEFAULT]`` section,
configure ``RabbitMQ`` message queue access:
.. code-block:: ini
[DEFAULT]
...
transport_url = rabbit://openstack:RABBIT_PASS@controller
Replace ``RABBIT_PASS`` with the password you chose for the
``openstack`` account in ``RabbitMQ``.
* In the ``[service_credentials]`` section, configure service credentials:
.. code-block:: ini
[service_credentials]
...
auth_type = password
auth_url = http://controller:5000/v3
project_domain_id = default
user_domain_id = default
project_name = service
username = ceilometer
password = CEILOMETER_PASS
interface = internalURL
region_name = RegionOne
Replace ``CEILOMETER_PASS`` with the password you chose for
the ``ceilometer`` user in the Identity service.
3. Edit the ``/etc/gnocchi/gnocchi.conf`` file and add Keystone options:
* In the ``[service_credentials]`` section, configure service credentials:
.. code-block:: ini
[service_credentials]
...
auth_type = password
auth_url = http://controller:5000/v3
project_domain_id = default
user_domain_id = default
project_name = service
username = gnocchi
password = GNOCCHI_PASS
interface = internalURL
region_name = RegionOne
Replace ``GNOCCHI_PASS`` with the password you chose for
the ``gnocchi`` user in the Identity service.
4. Create Ceilometer resources in Gnocchi. Gnocchi should be running by this
stage:
.. code-block:: console
# ceilometer-upgrade --skip-metering-database