Role os_cloudkitty for OpenStack-Ansible
Go to file
Kevin Carter bdc17256d2 Ensure the components are isolated from the system
This creates a specific slice which all OpenStack services will operate
from. By creating an independent slice these components will be governed
away from the system slice allowing us to better optimise resource
consumption.

See the following for more information on slices:

* https://www.freedesktop.org/software/systemd/man/systemd.slice.html

See for following for more information on resource controls:

* https://www.freedesktop.org/software/systemd/man/systemd.resource-control.html

Tools like ``systemd-cgtop`` and ``systemd-cgls`` will now give us
insight into specific processes, process groups, and resouce consumption
in ways that we've not had access to before. To enable some of this reporting
the accounting options have been added to the [Service] section of the unit
file.

Change-Id: Idac3056145b92adcd0b5b328296c59b71bf28441
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
2017-03-28 23:34:00 -05:00
defaults Ensure the components are isolated from the system 2017-03-28 23:34:00 -05:00
doc Use https instead of http for git.openstack.org 2017-02-06 17:20:18 +07:00
extras update naming conventions for secret vars 2016-11-18 16:42:48 +01:00
handlers Phase out trusty and use systemd 2017-01-20 12:53:06 +00:00
meta Use updated get_url module checksum functionality 2016-11-07 17:46:09 +00:00
releasenotes Ensure the components are isolated from the system 2017-03-28 23:34:00 -05:00
tasks Ensure the components are isolated from the system 2017-03-28 23:34:00 -05:00
templates Ensure the components are isolated from the system 2017-03-28 23:34:00 -05:00
tests update naming conventions for secret vars 2016-11-18 16:42:48 +01:00
vars Rename package lists (and related vars) appropriately 2016-08-30 16:59:49 +01:00
.gitignore Ansible 2.1.1 role testing 2016-09-19 16:15:45 -04:00
.gitreview Implement base configuration for OpenStack-CI 2016-07-01 09:35:24 -07:00
CONTRIBUTING.rst Implement base configuration for OpenStack-CI 2016-07-01 09:35:24 -07:00
LICENSE Implement base configuration for OpenStack-CI 2016-07-01 09:35:24 -07:00
README.rst Show team and repo badges on README 2016-11-25 16:29:53 +01:00
Vagrantfile Install python2 for Ubuntu 16.04 and CentOS 7 in Vagrant 2017-02-09 10:24:53 +07:00
bindep.txt Compress test execution logs 2016-09-09 10:30:35 +01:00
manual-test.rc Use centralised test scripts 2016-09-27 18:01:18 +00:00
run_tests.sh Install python2 for Ubuntu 16.04 and CentOS 7 in Vagrant 2017-02-09 10:24:53 +07:00
setup.cfg modify the home-page info with the developer documentation 2016-09-20 13:06:44 +05:30
setup.py Updated from global requirements 2017-03-02 11:51:36 +00:00
test-requirements.txt Updated from global requirements 2017-02-11 17:48:41 +00:00
tox.ini Use https instead of http for git.openstack.org 2017-02-06 17:20:18 +07:00

README.rst

Team and repository tags

image

OpenStack-Ansible CloudKitty

tags

openstack, cloudkitty, cloud, ansible

category

*nix

This Ansible role installs and configures OpenStack cloudkitty.

This role will install the following Upstart services:
  • cloudkitty-api
  • cloudkitty-processor

Required Variables

cloudkitty_service_password
cloudkitty_rabbitmq_password
cloudkitty_container_mysql_password
cloudkitty_galera_address

Example Playbook

- name: Install cloudkitty server
  hosts: cloudkitty_all
  user: root
  roles:
    - { role: "os_cloudkitty", tags: [ "os-cloudkitty" ] }
  vars:
    external_lb_vip_address: 172.16.24.1
    internal_lb_vip_address: 192.168.0.1
    cloudkitty_galera_address: "{{ internal_lb_vip_address }}"
    cloudkitty_container_mysql_password: "SuperSecretePassword1"
    cloudkitty_service_password: "SuperSecretePassword2"
    cloudkitty_rabbitmq_password: "SuperSecretePassword3"