Role os_cloudkitty for OpenStack-Ansible
Go to file
Kevin Carter b78966cd09
Convert role to use a common systemd service role
This removes the systemd service templates and tasks from this role and
leverages a common systemd service role instead. This change removes a
lot of code duplication across all roles all without sacrificing features
or functionality. The intention of this change is to ensure uniformity and
reduce the maintenance burden on the community when sweeping changes are
needed.

The systemd journal would normally be populated with the standard out of
a service however with the use of uwsgi this is not actually happening
resulting in us only capturing the logs from the uwsgi process instead
of the service itself. This change implements journal logging in the
service config, which is part of OSLO logging.

OSLO logging docs found here: <https://docs.openstack.org/oslo.log/3.28.1/journal.html>

Change-Id: Ieff0119cb09e8971fab5b0393f023010a554edff
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
2018-07-31 14:50:12 -05:00
defaults Convert role to use a common systemd service role 2018-07-31 14:50:12 -05:00
doc Updated from global requirements 2018-03-15 07:33:03 +00:00
extras Convert role to use a common systemd service role 2018-07-31 14:50:12 -05:00
handlers Convert role to use a common systemd service role 2018-07-31 14:50:12 -05:00
meta Execute service setup against a delegated host using Ansible built-in modules 2018-07-06 13:48:47 +00:00
releasenotes Convert role to use a common systemd service role 2018-07-31 14:50:12 -05:00
tasks Convert role to use a common systemd service role 2018-07-31 14:50:12 -05:00
templates Convert role to use a common systemd service role 2018-07-31 14:50:12 -05:00
tests Cleanup playbook, vars and overrides 2018-07-31 08:31:52 +01:00
vars Convert role to use a common systemd service role 2018-07-31 14:50:12 -05:00
zuul.d Switch to using project-templates 2018-06-24 17:48:59 +00:00
.gitignore Updated from OpenStack Ansible Tests 2018-03-27 15:50:59 +00:00
.gitreview Implement base configuration for OpenStack-CI 2016-07-01 09:35:24 -07:00
bindep.txt Updated from OpenStack Ansible Tests 2017-12-06 00:05:56 +00:00
CONTRIBUTING.rst Update the outdated links 2018-05-08 10:11:17 +08:00
LICENSE Implement base configuration for OpenStack-CI 2016-07-01 09:35:24 -07:00
manual-test.rc Use centralised test scripts 2016-09-27 18:01:18 +00:00
README.rst Update to use oslo.messaging service RPC and Notify 2018-07-31 08:31:18 +01:00
run_tests.sh Updated from OpenStack Ansible Tests 2018-04-30 05:13:43 +00:00
setup.cfg Update URLs in documents according to document migration 2017-07-14 09:36:46 +08:00
setup.py Updated from global requirements 2017-03-02 11:51:36 +00:00
tox.ini Use tests repo for common role test requirements 2018-07-02 12:38:54 -04:00
Vagrantfile Updated from OpenStack Ansible Tests 2018-06-06 00:40:47 +00:00

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_oslomsg_rpc_password
cloudkitty_oslomsg_notify_password
cloudkitty_container_mysql_password
cloudkitty_galera_address

Example Playbook

- name: Install cloudkitty service
  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_oslomsg_rpc_password: "SuperSecretePassword3"
    cloudkitty_oslomsg_notify_password: "SuperSecretePassword4"
Documentation for the project can be found at:

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

Release notes for the project can be found at:

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

The project source code repository is located at:

https://git.openstack.org/cgit/openstack/openstack-ansible-os_cloudkitty/

The project home is at:

https://launchpad.net/openstack-ansible