
This adds ceilometer-specific contents of the OpenStack Installation Guide in the ceilometer repo per [1]. A separate change will remove the ceilometer contents from the OpenStack Installation Guide for Newton per [2]. The ceilometer install-guide structure is based on Install Guide Cookiecutter [3]. Also adds tox.ini environment for install-guide and adds openstackdocs-theme to test-requirements.txt. [1] http://specs.openstack.org/openstack/docs-specs/specs/newton/project-specific-installguides.html [2] http://specs.openstack.org/openstack/docs-specs/specs/newton/installguide.html [3] https://review.openstack.org/#/c/314229/ Partially-Implements: blueprint projectspecificinstallguide Change-Id: Iffc5d7243e9eeb74c9dd7b559ef3de7123269293
41 lines
1.3 KiB
ReStructuredText
41 lines
1.3 KiB
ReStructuredText
Configure Object Storage to use Telemetry
|
|
-----------------------------------------
|
|
|
|
Perform these steps on the controller and any other nodes that
|
|
run the Object Storage proxy service.
|
|
|
|
* Edit the ``/etc/swift/proxy-server.conf`` file
|
|
and complete the following actions:
|
|
|
|
* In the ``[filter:keystoneauth]`` section, add the
|
|
``ResellerAdmin`` role:
|
|
|
|
.. code-block:: ini
|
|
|
|
[filter:keystoneauth]
|
|
...
|
|
operator_roles = admin, user, ResellerAdmin
|
|
|
|
* In the ``[pipeline:main]`` section, add ``ceilometer``:
|
|
|
|
.. code-block:: ini
|
|
|
|
[pipeline:main]
|
|
pipeline = ceilometer catch_errors gatekeeper healthcheck proxy-logging cache container_sync bulk ratelimit authtoken keystoneauth container-quotas account-quotas slo dlo versioned_writes proxy-logging proxy-server
|
|
|
|
* In the ``[filter:ceilometer]`` section, configure notifications:
|
|
|
|
.. code-block:: ini
|
|
|
|
[filter:ceilometer]
|
|
paste.filter_factory = ceilometermiddleware.swift:filter_factory
|
|
...
|
|
control_exchange = swift
|
|
url = rabbit://openstack:RABBIT_PASS@controller:5672/
|
|
driver = messagingv2
|
|
topic = notifications
|
|
log_level = WARN
|
|
|
|
Replace ``RABBIT_PASS`` with the password you chose for the
|
|
``openstack`` account in ``RabbitMQ``.
|