The openstack Ussuri and Victoria versions no longer support the RHEL7/CentOS7 and python2 environment packages. Correct the problems in the latest installation document for RDO. Change-Id: Ie03815f25d3a9ec99506a9dc14810a6800d3c42c
2.6 KiB
Install and configure for Red Hat Enterprise Linux and CentOS
This section describes how to install and configure the Telemetry service, code-named ceilometer, on the controller node.
Prerequisites
Before you install and configure the Telemetry service, you must configure a target to send metering data to. The recommended endpoint is Gnocchi.
Install Gnocchi
Install the Gnocchi packages. Alternatively, Gnocchi can be install using pip:
# dnf install openstack-gnocchi-api openstack-gnocchi-metricd \ python3-gnocchiclientNote
Depending on your environment size, consider installing Gnocchi separately as it makes extensive use of the cpu.
Install the uWSGI packages. The following method uses operating system provided packages. Another alternative would be to use pip(or pip3, depending on the distribution); using pip is not described in this doc:
# dnf install uwsgi-plugin-common uwsgi-plugin-python3 uwsgiNote
Since the provided gnocchi-api wraps around uwsgi, you need to make sure that uWSGI is installed if you want to use gnocchi-api to run Gnocchi API. As Gnocchi API tier runs using WSGI, it can also alternatively be run using Apache httpd and mod_wsgi, or any other HTTP daemon.
Finalize Gnocchi installation
Start the Gnocchi services and configure them to start when the system boots:
# systemctl enable openstack-gnocchi-api.service \ openstack-gnocchi-metricd.service # systemctl start openstack-gnocchi-api.service \ openstack-gnocchi-metricd.service
Install and configure components
Install the Ceilometer packages:
# dnf install openstack-ceilometer-notification \ openstack-ceilometer-central
Finalize installation
Start the Telemetry services and configure them to start when the system boots:
# systemctl enable openstack-ceilometer-notification.service \ openstack-ceilometer-central.service # systemctl start openstack-ceilometer-notification.service \ openstack-ceilometer-central.service