RETIRED, Role os_watcher for OpenStack-Ansible
Go to file
Jesse Pretorius 1f606ff461 Only replace python when re-initializing the venv
We reinitialize the venv to ensure that the right version of
python is in the venv, but we do not want virtualenv to also
replace pip, setuptools and wheel so we tell it not to. If we
don't do this then virtualenv will install the latest available
version, which is not what we want.

Change-Id: I9205f5f3183eff8059e7589b6a3a2bbf36f8b60a
Partial-Bug: #1764470
2018-04-20 14:20:01 +00:00
defaults Replace virtualenv-tools by a script 2018-01-15 14:18:33 +00:00
doc Updated from global requirements 2018-03-15 07:39:31 +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 Remove pip_install dependency 2017-12-05 11:56:37 +00:00
releasenotes Remove setting of version/release from releasenotes 2017-11-17 08:08:24 +01:00
tasks Only replace python when re-initializing the venv 2018-04-20 14:20:01 +00:00
templates Deprecate auth_uri option 2018-04-03 14:16:53 +08:00
tests Do not log passwords 2018-04-11 13:48:19 +02:00
vars Rename package lists (and related vars) appropriately 2016-08-30 20:01:21 +01:00
zuul.d Zuul: Remove project name 2018-02-05 21:42:28 -08:00
.gitignore Updated from OpenStack Ansible Tests 2018-03-27 15:57:08 +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 2018-01-22 16:57:10 +00:00
bindep.txt Updated from OpenStack Ansible Tests 2017-12-06 00:06:48 +00:00
manual-test.rc Use centralised test scripts 2016-09-28 11:38:40 +01:00
run_tests.sh Updated from OpenStack Ansible Tests 2018-03-27 15:57:08 +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 2018-03-15 07:39:31 +00:00
tox.ini Remove tests-repo-clone.sh 2018-03-28 10:16:54 +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.