RETIRED, Role os_watcher for OpenStack-Ansible
Go to file
Rick Box 21f3ef0e40 Fix for lookup and get_url occuring in different places
We use an SSH bastion host which we do our deployment through. The
deployment host doesn't have direct access to the same network as the
host. As a result the venv local checksum lookup fails.

I have described this here:

https://bugs.launchpad.net/openstack-ansible/+bug/1689283

This is a simple fix for this problem, assuming everything is good it
will need repeating in multiple places in the code base.

Change-Id: I290fd1e5763bc89028bb9207dbd0bba33bacaa06
(cherry picked from commit 4e4600ef93)
2017-05-16 15:31:40 +00:00
defaults Ensure the components are isolated from the system 2017-04-26 15:22:06 +00:00
doc Use https instead of http for git.openstack.org 2017-02-06 17:17:19 +07: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 Use updated get_url module checksum functionality 2016-11-09 21:54:44 +00:00
releasenotes Ensure the components are isolated from the system 2017-04-26 15:22:06 +00:00
tasks Fix for lookup and get_url occuring in different places 2017-05-16 15:31:40 +00:00
templates Ensure the components are isolated from the system 2017-04-26 15:22:06 +00:00
tests Adjust gitreview, tox and test-vars to use stable/ocata 2017-02-09 13:39:18 +00:00
vars Rename package lists (and related vars) appropriately 2016-08-30 20:01:21 +01:00
.gitignore Ansible 2.1.1 role testing 2016-09-19 15:31:35 -04:00
.gitreview Adjust gitreview, tox and test-vars to use stable/ocata 2017-02-09 13:39:18 +00:00
CONTRIBUTING.rst Add scaffolding for OpenStack-CI tests 2016-08-24 10:38:52 -04:00
LICENSE Initial commit 2016-08-22 13:37:00 -04:00
README.rst Show team and repo badges on README 2016-11-25 15:57:44 +01:00
Vagrantfile Add scaffolding for OpenStack-CI tests 2016-08-24 10:38:52 -04:00
bindep.txt Compress test execution logs 2016-09-09 10:50:24 +01:00
manual-test.rc Use centralised test scripts 2016-09-28 11:38:40 +01:00
run_tests.sh Update and clean up run_tests.sh 2017-01-06 16:51:46 +00:00
setup.cfg Update homepage with developer documentation page 2016-09-20 13:00:38 +05:30
setup.py Initial commit 2016-08-22 13:37:00 -04:00
test-requirements.txt Updated from global requirements 2016-12-02 05:11:17 +00:00
tox.ini Adjust gitreview, tox and test-vars to use stable/ocata 2017-02-09 13:39:18 +00: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.