RETIRED, Role os_watcher for OpenStack-Ansible
Go to file
Jesse Pretorius bb8bbc5da7 Remove unified queue from gate pipeline
Initially the intent for adding this was to better test
any patches for roles together before they merge, but it
has had the unintended side-effect of causing patches to
take much longer to merge (because they all get lined up
in a single queue, rather than independent queues) and
a lot more infra resources are used (because a patch
that fails at the top of the queue will result in all
subsequent patches restarting all their tests).

As discussed in the channel, we'd prefer to revert back
to the previous independent queue method of testing. It
has served us well.

Change-Id: I60f58d83422771af0a6d2cf1ba0bd49957dabd55
2017-10-23 11:29:36 +01:00
defaults Switch to Cryptography over pycrypto 2017-06-07 17:51:58 +00:00
doc Initial OSA zuul v3 role jobs 2017-10-17 20:50:58 +00:00
examples Add scaffolding for OpenStack-CI tests 2016-08-24 10:38:52 -04:00
handlers Initial commit 2016-08-22 13:37:00 -04:00
meta Add OpenStack-Ansible metadata 2017-10-11 09:11:36 +00:00
releasenotes Initial OSA zuul v3 role jobs 2017-10-17 20:50:58 +00:00
tasks Allow the developer constraints to be adjusted 2017-05-26 12:03:14 +01:00
templates Deprecate rabbit_use_ssl option 2017-05-23 10:37:29 +08:00
tests Initial OSA zuul v3 role jobs 2017-10-17 20:50:58 +00:00
vars Rename package lists (and related vars) appropriately 2016-08-30 20:01:21 +01:00
zuul.d Remove unified queue from gate pipeline 2017-10-23 11:29:36 +01:00
.gitignore Updated from OpenStack Ansible Tests 2017-06-22 15:20:10 +00:00
.gitreview Add scaffolding for OpenStack-CI tests 2016-08-24 10:38:52 -04:00
CONTRIBUTING.rst Update links in CONTRIBUTING.rst 2017-09-19 09:58:07 +08:00
LICENSE Initial commit 2016-08-22 13:37:00 -04:00
README.rst Update links in README 2017-08-28 15:11:25 +08:00
Vagrantfile Updated from OpenStack Ansible Tests 2017-07-28 15:01:03 +00:00
bindep.txt Updated from OpenStack Ansible Tests 2017-09-12 23:55:54 +00:00
manual-test.rc Use centralised test scripts 2016-09-28 11:38:40 +01:00
run_tests.sh Initial OSA zuul v3 role jobs 2017-10-17 20:50:58 +00:00
setup.cfg Update URLs in documents according to document migration 2017-07-14 09:46:12 +08:00
setup.py Updated from global requirements 2017-03-02 11:52:13 +00:00
test-requirements.txt Updated from global requirements 2017-09-16 23:20:39 +00:00
tox.ini Ensure that role tests pin pip/setuptools/wheel 2017-06-04 11:23:28 +01:00

README.rst

Team and repository tags

image

OpenStack Watcher

Ansible Role that installs and configures OpenStack Watcher.

This role will install the following:
  • watcher-api
  • watcher-decision-engine
  • watcher-applier

The role will configure Watcher, but does not provision RabbitMQ or MariaDB.

This role is intended to work primarily with OpenStack-Ansible, but consuming this role by setting the appropriate variables should be possible. See the tests/test-install-watcher.yml for example playbook.

Default Variables

../../defaults/main.yml

Example Playbook

- name: Install watcher server
  hosts: watcher_all
  user: root
  roles:
    - { role: "os_watcher", tags: [ "os-watcher" ] }
  vars:
    watcher_developer_mode: True
    watcher_galera_address: 10.100.102.101
    watcher_galera_database: watcher
    watcher_galera_user: watcher
    watcher_galera_password: "secrete"
    watcher_rabbitmq_port: "{{ rabbitmq_port }}"
    watcher_rabbitmq_servers: "{{ rabbitmq_servers }}"
    watcher_rabbitmq_use_ssl: "{{ rabbitmq_use_ssl }}"
    watcher_rabbitmq_password: "secrete"
    watcher_rabbitmq_userid: watcher
    watcher_rabbitmq_vhost: /watcher
    watcher_requirements_git_install_branch: master
    watcher_service_adminurl: "http://{{ internal_lb_vip_address }}:9322"
    watcher_service_password: "secrete"
    watcher_service_project_domain_id: default
    watcher_service_project_name: service
    watcher_service_region: RegionOne
    watcher_service_user_domain_id: default
    watcher_service_user_name: watcher
    watcher_bin: "/openstack/venvs/watcher-{{ watcher_venv_tag }}/bin"
    watcher_venv_tag: "testing"

Tags

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

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

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