Files
openstack-ansible-os_cloudk…/doc/source/index.rst
Dmitriy Chubinidze c263b3fb91 docs: add link to OSA deployment guide for adding a role
Provide a direct reference to the OpenStack-Ansible deploy guide, helping users understand how to integrate a new role into their deployment.

Change-Id: I774264ff5f2370793bb9b4cdb9200c1af40153e8
2025-06-11 12:53:03 +00:00

2.4 KiB

OpenStack-Ansible CloudKitty

This Ansible role installs and configures OpenStack CloudKitty. This role will install the following Upstart services:

cloudkitty-api
cloudkitty-processor

Adding The Service to Your OpenStack-Ansible Deployment

To add a new service to your OpenStack-Ansible (OSA) deployment:

  • Define rating_hosts in your conf.d or openstack_user_config.yml. For example:

    rating_hosts:
      infra1:
        ip: 172.20.236.111
      infra2:
        ip: 172.20.236.112
      infra3:
        ip: 172.20.236.113
  • Create respective LXC containers (skip this step for metal deployments):

    openstack-ansible openstack.osa.containers_lxc_create --limit cloudkitty_all,rating_hosts
  • Run service deployment playbook:

    openstack-ansible openstack.osa.cloudkitty

For more information, please refer to the OpenStack-Ansible project documentation.

Always verify that the integration is successful and that the service behaves correctly before using it in a production environment.

Required Variables

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"

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"

Dependencies

This role needs pip >= 7.1 installed on the target host.