ceilometer/install-guide/source/install-base-config-common.rst
Mehdi Abaakouk 5c621712a9 install-doc: Disable ceilometer-api service
We tell people to configure ceilometer-api with apache/mod_wsgi.
But we miss to disable the ceilometer-api service for testing purpose.

Change-Id: I05949719d9804162fd990c298a5bfd8b9a42e616
2017-01-24 14:26:21 +01:00

2.4 KiB

  1. Edit the /etc/ceilometer/ceilometer.conf file and complete the following actions:

    • In the [database] section, configure database access:

      [database]
      ...
      connection = mongodb://ceilometer:CEILOMETER_DBPASS@controller:27017/ceilometer

      Replace CEILOMETER_DBPASS with the password you chose for the Telemetry service database. You must escape special characters such as ':', '/', '+', and '@' in the connection string in accordance with RFC2396.

      • In the [DEFAULT] section, configure RabbitMQ message queue access:

        [DEFAULT]
        ...
        transport_url = rabbit://openstack:RABBIT_PASS@controller

        Replace RABBIT_PASS with the password you chose for the openstack account in RabbitMQ.

      • In the [DEFAULT] and [keystone_authtoken] sections, configure Identity service access:

        [DEFAULT]
        ...
        auth_strategy = keystone
        
        [keystone_authtoken]
        ...
        auth_uri = http://controller:5000
        auth_url = http://controller:35357
        memcached_servers = controller:11211
        auth_type = password
        project_domain_name = default
        user_domain_name = 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:

      [service_credentials]
      ...
      auth_type = password
      auth_url = http://controller:5000/v3
      project_domain_name = default
      user_domain_name = 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.

  2. Stop and disable the ceilometer-api which is dedicated for testing only

    # systemctl disable ceilometer-api
    # systemctl stop ceilometer-api