Role os_ceilometer for OpenStack-Ansible
Go to file
Steve Lewis 9fd56cba6c Roll-up of multiple fixes for os_ceilometer role
The ceilometer/api/app.wsgi file upstream was modified and broke the
ceilometer role such that the ceilometer api will not start. This
change fixes the role by updating the template derived from that file
to match the new invocation method.

An example of the error being remedied can be seen in patch set 1 of
Related-Change: Ieb5569982f080446295cecc33fb70c6b5d1cb9d6

Additionally, ceilometer-api is served with Apache mod_wsgi so an
init script shouldn't be created.

Also, the ceilometer_db_type now defaults to blank which will omit
the [database] group from the ceilometer.conf which matches the new
upstream default. The db type is overridden as mongodb for testing.

Also fixes an issue in inventory introduced by Change:
Ia74bbcac35c27928f7e96056b9449932253b75de

Change-Id: I48ca99ea58fbb624b8bccf205e40000115c53060
2016-10-20 10:06:04 -07:00
defaults Roll-up of multiple fixes for os_ceilometer role 2016-10-20 10:06:04 -07:00
doc Add storage details to role docs 2016-10-03 16:09:22 -04:00
examples Rename package lists (and related vars) appropriately 2016-08-30 16:41:49 +01:00
files/rootwrap.d Update Master SHAs - 17 Jan 2016 2016-01-18 23:58:48 +00:00
handlers Use dictionary for service group mappings 2016-09-29 07:04:32 +01:00
meta Implement Ubuntu 16.04 support with SystemD 2016-06-14 11:33:42 -07:00
releasenotes Enable release notes translation 2016-10-06 20:36:06 +02:00
tasks Remove dynamic inclusion from inventory-based service setup 2016-09-30 18:49:46 +01:00
templates Roll-up of multiple fixes for os_ceilometer role 2016-10-20 10:06:04 -07:00
tests Roll-up of multiple fixes for os_ceilometer role 2016-10-20 10:06:04 -07:00
vars [Trival Update] Organize the packages lists 2016-09-19 09:16:26 +01:00
.gitignore Cleanup test-vars handling 2016-10-03 11:39:20 -04:00
.gitreview Implement base configuration for independent repository 2016-03-01 09:43:48 -08:00
CONTRIBUTING.rst Replace invalid references to Glance 2015-10-30 07:28:53 +09:00
LICENSE Implement Ceilometer 2015-07-07 19:31:04 +00:00
README.rst [DOCS] Move ceilometer configs from developer docs 2016-08-12 13:33:10 -05:00
Vagrantfile Remove apt update from Vagrantfile 2016-08-19 15:20:56 -04:00
bindep.txt Compress test execution logs 2016-09-09 09:29:56 +00:00
manual-test.rc Ansible 2.1.1 role testing 2016-09-21 12:11:42 -04:00
run_tests.sh Add func_gnocchi scenario gate test 2016-09-30 14:02:15 -04:00
setup.cfg Implement base configuration for independent repository 2016-03-01 09:43:48 -08:00
setup.py Updated from global requirements 2016-07-15 03:57:41 +00:00
test-requirements.txt Updated from global requirements 2016-09-29 22:36:39 +00:00
tox.ini Use centralised Ansible test scripts 2016-10-11 11:38:12 +00:00

README.rst

OpenStack Ceilometer

Ansible Role that installs and configures OpenStack Ceilometer.

This role will install the following:
  • ceilometer-api
  • ceilometer-agent-notification
  • ceilometer-collector
  • ceilometer-polling
  • ceilometer-registry

The role will configure Ceilometer to use MongoDB for data storage, but does not install or configure MongoDB.

Default Variables

../../defaults/main.yml

Example Playbook

- name: Install ceilometer server
  hosts: ceilometer_all
  user: root
  roles:
    - { role: "os_ceilometer", tags: [ "os-ceilometer" ] }
  vars:
    external_lb_vip_address: 172.16.24.1
    internal_lb_vip_address: 192.168.0.1

Tags

This role supports two tags: ceilometer-install and ceilometer-config.

The ceilometer-install tag can be used to install and upgrade.

The ceilometer-config tag can be used to maintain configuration of the service.