From 2e5fce8bbd1881a04ecaae6228a3f9612ded62d4 Mon Sep 17 00:00:00 2001 From: Thomas Goirand Date: Tue, 1 Dec 2015 09:43:09 +0100 Subject: [PATCH] [install] Fix Ceilometer Debian install This patch fixes the Ceilometer Debian install, by adding Debian to a few conditionals, and removing some parts which aren't needed in Debian. Change-Id: If2234cb6000a86c3ac2d2309df3fd2fef9cc9927 --- .../source/ceilometer-install.rst | 79 +++++++++++-------- 1 file changed, 44 insertions(+), 35 deletions(-) diff --git a/doc/install-guide/source/ceilometer-install.rst b/doc/install-guide/source/ceilometer-install.rst index 890b82a4bc..14bb7bfc39 100644 --- a/doc/install-guide/source/ceilometer-install.rst +++ b/doc/install-guide/source/ceilometer-install.rst @@ -15,7 +15,7 @@ unlike other services, the Telemetry service uses a NoSQL database. See :ref:`environment-nosql-database` to install and configure MongoDB before proceeding further. -.. only:: obs or ubuntu +.. only:: obs or ubuntu or debian 1. Create the ``ceilometer`` database: @@ -110,7 +110,7 @@ MongoDB before proceeding further. | type | metering | +-------------+----------------------------------+ -6. Create the Telemetry service API endpoints: +4. Create the Telemetry service API endpoints: .. code-block:: console @@ -189,7 +189,7 @@ Install and configure components openstack-ceilometer-central openstack-ceilometer-alarm \ python-ceilometerclient -.. only:: ubuntu +.. only:: ubuntu or debian #. Install the packages: @@ -200,6 +200,13 @@ Install and configure components ceilometer-alarm-evaluator ceilometer-alarm-notifier \ python-ceilometerclient + .. only:: debian + + Respond to prompts for + :doc:`Identity service credentials `, + :doc:`service endpoint registration `, + and :doc:`message broker credentials `. + 2. Edit the ``/etc/ceilometer/ceilometer.conf`` file and complete the following actions: @@ -216,46 +223,48 @@ Install and configure components as ':', '/', '+', and '@' in the connection string in accordance with RFC2396. - * In the ``[DEFAULT]`` and ``[oslo_messaging_rabbit]`` sections, - configure ``RabbitMQ`` message queue access: + .. only:: obs or rdo or ubuntu - .. code-block:: ini + * In the ``[DEFAULT]`` and ``[oslo_messaging_rabbit]`` sections, + configure ``RabbitMQ`` message queue access: - [DEFAULT] - ... - rpc_backend = rabbit + .. code-block:: ini - [oslo_messaging_rabbit] - ... - rabbit_host = controller - rabbit_userid = openstack - rabbit_password = RABBIT_PASS + [DEFAULT] + ... + rpc_backend = rabbit - Replace ``RABBIT_PASS`` with the password you chose for the - ``openstack`` account in ``RabbitMQ``. + [oslo_messaging_rabbit] + ... + rabbit_host = controller + rabbit_userid = openstack + rabbit_password = RABBIT_PASS - * In the ``[DEFAULT]`` and ``[keystone_authtoken]`` sections, - configure Identity service access: + Replace ``RABBIT_PASS`` with the password you chose for the + ``openstack`` account in ``RabbitMQ``. - .. code-block:: ini + * In the ``[DEFAULT]`` and ``[keystone_authtoken]`` sections, + configure Identity service access: - [DEFAULT] - ... - auth_strategy = keystone + .. code-block:: ini - [keystone_authtoken] - ... - auth_uri = http://controller:5000 - auth_url = http://controller:35357 - auth_plugin = password - project_domain_id = default - user_domain_id = default - project_name = service - username = ceilometer - password = CEILOMETER_PASS + [DEFAULT] + ... + auth_strategy = keystone - Replace ``CEILOMETER_PASS`` with the password you chose for - the ``ceilometer`` user in the Identity service. + [keystone_authtoken] + ... + auth_uri = http://controller:5000 + auth_url = http://controller:35357 + auth_plugin = password + project_domain_id = default + user_domain_id = default + project_name = service + username = ceilometer + password = CEILOMETER_PASS + + Replace ``CEILOMETER_PASS`` with the password you chose for + the ``ceilometer`` user in the Identity service. * In the ``[service_credentials]`` section, configure service credentials: @@ -335,7 +344,7 @@ Finalize installation openstack-ceilometer-alarm-evaluator.service \ openstack-ceilometer-alarm-notifier.service -.. only:: ubuntu +.. only:: ubuntu or debian * Restart the Telemetry services: