Role os_aodh for OpenStack-Ansible
Go to file
Jesse Pretorius 4b41de0570 Default MQ RPC/Notify credentials/vhosts to match
When the RPC and Notify service are the same, the credentials
must match - otherwise the tasks to create the user/password
will overwrite with each other.

If the two clusters are different, then the matching credentials
and vhost will not be a problem. However, if the deployer really
wishes to make sure they're different, then the vars can be
overridden.

Also, to ensure that the SSL value is consistently set in the
conf file, we apply the bool filter. We also use the 'notify'
SSL setting as the messaging system for Notifications is more
likely to remain rabbitmq in our default deployment with qrouterd
becoming the default for RPC messaging.

Change-Id: I1d56fc82eebfb2d2ed421fd1c589e1b912328c08
2018-07-30 12:30:12 +01:00
defaults Default MQ RPC/Notify credentials/vhosts to match 2018-07-30 12:30:12 +01:00
doc Replace port 35357 with 5000 2018-06-24 16:16:06 +00:00
examples Merge "Move database creation into role" 2018-06-28 11:26:45 +00:00
handlers Fix usage of "|" for tests 2018-07-12 16:59:29 +02:00
meta Remove pip_install dependency 2017-12-05 11:54:22 +00:00
releasenotes Update to use oslo.messaging services for RPC and Notify 2018-06-04 14:26:05 -04:00
tasks Move MQ vhost/user creation into role 2018-07-17 21:55:57 +01:00
templates Update to use oslo.messaging services for RPC and Notify 2018-06-04 14:26:05 -04:00
tests Move database creation into role 2018-06-12 19:25:34 +01:00
vars vars: Do not pull devel packages on distro installations 2018-06-04 08:45:14 +01:00
zuul.d Switch to using project-templates 2018-06-22 14:20:31 -04:00
.gitignore Updated from OpenStack Ansible Tests 2018-03-27 15:50:01 +00:00
.gitreview Implement base configuration for independent repository 2016-03-02 07:28:08 +00:00
CONTRIBUTING.rst [DOCS] - Removing tags: and category: 2016-08-18 15:45:32 -04:00
LICENSE Seperated out Telemetry Alarming (Aodh) 2015-10-15 11:20:53 +01:00
README.rst Update the project home to https 2018-07-05 21:45:10 -04:00
Vagrantfile Updated from OpenStack Ansible Tests 2018-06-06 00:40:02 +00:00
bindep.txt Updated from OpenStack Ansible Tests 2017-12-06 00:05:47 +00:00
manual-test.rc Use centralised test scripts 2016-09-27 17:08:44 +00:00
run_tests.sh Updated from OpenStack Ansible Tests 2018-04-30 05:13:12 +00:00
setup.cfg Update URLs in documents according to document migration 2017-07-14 09:36:12 +08:00
setup.py Updated from global requirements 2017-03-02 11:51:28 +00:00
tox.ini Use tests repo for common role test requirements 2018-07-02 10:16:18 -04:00

README.rst

Team and repository tags

image

OpenStack Aodh

Ansible role that installs and configures OpenStack Aodh as the alarm functionality of Telemetry.

This role will install the following:
  • aodh-api
  • aodh-listener
  • aodh-evaluator
  • aodh-notifier

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

Default Variables

../../defaults/main.yml

Required Variables

To use this role, define the following variables:

# Needed for aodh to talk to MongoDB
aodh_container_db_password: "secrete"
# Password used for Keystone aodh service user
aodh_service_password: "secrete"
# Needed for aodh to talk to memcached
memcached_servers: 127.0.0.1
memcached_encryption_key: "some_key"
# Needed for aodh to locate and connect to Oslo.Messaging
aodh_oslomsg_rpc_transport: rabbit
aodh_oslomsg_rpc_password: "secrete"
aodh_oslomsg_rpc_servers: "10.100.100.2"
aodh_oslomsg_rpc_use_ssl: true
aodh_oslomsg_rpc_port: 5671
aodh_oslomsg_notify_transport: rabbit
aodh_oslomsg_notify_password: "secrete"
aodh_oslomsg_notify_servers: "10.100.100.2"
aodh_oslomsg_notify_use_ssl: true
aodh_oslomsg_notify_port: 5671
# Needed to setup the aodh service in Keystone
keystone_admin_user_name: admin
keystone_admin_tenant_name: admin
keystone_auth_admin_password: "SuperSecretePassword"
keystone_service_adminuri_insecure: false
keystone_service_internaluri_insecure: false
keystone_service_internaluri: "http://1.2.3.4:5000"
keystone_service_internalurl: "{{ keystone_service_internaluri }}/v3"
keystone_service_adminuri: "http://5.6.7.8:5000"
keystone_service_adminurl: "{{ keystone_service_adminuri }}/v3"

OpenStack-Ansible Aodh

Ansible role to install OpenStack Aodh.

Documentation for the project can be found at:

https://docs.openstack.org/openstack-ansible-os_aodh/latest/

Release notes for the project can be found at:

https://docs.openstack.org/releasenotes/openstack-ansible-os_aodh

The project home is at:

https://launchpad.net/openstack-ansible