Role os_trove for OpenStack-Ansible
Go to file
Jesse Pretorius 4d82413ff7 Reduce init restart/kill times
The systemd unit 'TimeoutSec' value which controls the time
between sending a SIGTERM signal and a SIGKILL signal when
stopping or restarting the service has been reduced from 300
seconds to 120 seconds. This provides 2 minutes for long-lived
sessions to drain while preventing new ones from starting
before a restart or a stop.

The 'RestartSec' value which controls the time between the
service stop and start when restarting has been reduced from
150 seconds to 2 seconds to make the restart happen faster.

These values can be adjusted by using the *_init_config_overrides
variables which use the config_template task to change template
defaults.

Change-Id: I7f23a74fd644aa0d631e9b0f7d96083b645bc032
2017-04-26 13:05:26 +00:00
defaults Implement trove networking 2017-04-14 14:46:26 -05:00
doc Implement trove networking 2017-04-14 14:46:26 -05:00
examples Add scaffolding for OpenStack-CI tests 2016-08-26 16:26:42 +02:00
extras Add RPC encryption key support 2017-03-31 13:41:06 -05:00
handlers Remove Trusty support from os_trove role 2016-12-15 15:10:27 +00:00
library Add scaffolding for OpenStack-CI tests 2016-08-26 16:26:42 +02:00
meta Optimise apt cache update task 2017-04-21 16:51:57 +01:00
releasenotes Reduce init restart/kill times 2017-04-26 13:05:26 +00:00
tasks Optimise apt cache update task 2017-04-21 16:51:57 +01:00
templates Reduce init restart/kill times 2017-04-26 13:05:26 +00:00
tests Standardize test vars 2017-04-19 17:36:06 -07:00
vars Remove Trusty support from os_trove role 2016-12-15 15:10:27 +00:00
.gitignore Using updated tempest method for trove api. 2016-11-22 16:18:59 +02:00
.gitreview Add scaffolding for OpenStack-CI tests 2016-08-26 16:26:42 +02:00
bindep.txt Install python2-pyOpenSSL package on CentOS 2017-03-03 12:49:58 -06:00
CONTRIBUTING.rst Add scaffolding for OpenStack-CI tests 2016-08-26 16:26:42 +02:00
LICENSE Update 2016-08-25 14:56:41 +02:00
manual-test.rc Functional testing for the role gate 2016-09-23 05:56:55 +02:00
README.rst Show team and repo badges on README 2016-11-25 16:19:15 +01:00
run_tests.sh Install python2 for Ubuntu 16.04 and CentOS 7 in Vagrant 2017-02-09 10:39:11 +07:00
setup.cfg Add scaffolding for OpenStack-CI tests 2016-08-26 16:26:42 +02:00
setup.py Updated from global requirements 2017-03-02 11:52:11 +00:00
test-requirements.txt Updated from global requirements 2017-02-11 17:49:19 +00:00
tox.ini Use https instead of http for git.openstack.org 2017-02-06 17:15:48 +07:00
Vagrantfile Remove Trusty support from os_trove role 2016-12-15 15:10:27 +00:00

Team and repository tags

image

OpenStack-Ansible Trove (DBaaS)

Ansible role that installs and configures OpenStack Trove. Trove is installed behind the Apache webserver listening on port 8779 by default.

Required Variables

This list is not exhaustive at present. See role internals for further details.

# trove TCP listening port
trove_service_port: 8779

Example Playbook

- name: Install trove server
  hosts: trove_all
  user: root
  roles:
     - { role: "os_trove", tags: [ "os-trove" ] }
  vars:
    is_metal: "{{ properties.is_metal|default(false) }}"