Update the rootwrap filter config file copy task to handle
looking up rootwrap filter files using 'with_fileglob' to avoid
having to maintain the task with each addition or removal of these
files.
Change-Id: I2d3ccabb9df4efa8354c1f3fb5af30669160128f
The numerous tags within the role have been condensed
to two tags: designate-install and designate-config
These tags have been chosen as they are namespaced
and cover the two major functions of the role.
Documentation has been updated to inform how each tag
influences the function of the role.
Change-Id: I700b80bce2a8a761d341ca9cdc51398328966287
Remove all tasks and variables related to toggling between installation
of designate inside or outside of a Python virtual environment.
Installing within a venv is now the only supported deployment.
Additionally, a few changes have been made to make the creation of the
venv more resistant to interruptions during a run of the role.
* unarchiving a pre-built venv will now also occur when the venv
directory is created, not only after being downloaded
* virtualenv-tools is run against both pre-built and non pre-built venvs
to account for interruptions during or prior to unarchiving
Change-Id: If3f0cb96d0ac670f6c53243283d6726067cba011
Implements: blueprint only-install-venvs
This patch implements a bunch of changes for easier debugging and to
make the deployment more functional.
- All passwords are removed from defaults. The role must fail to
complete all tasks if no password is provided.
- The Designate Pool Configuration uuid's are provided with
defaults and the vars are added to the user_secrets.yml file
for easy implementation in OpenStack-Ansible.
- The designate.conf template has been re-organised to closely
match the sample file provided in the master branch of the
OpenStack Designate repository. This makes it easier to compare
for changes.
- The PyMySQL driver is used for all MySQL connectivity, as is now
the general standard for OpenStack Services.
- The designate_pool_manager database is now setup.
- The test playbook has the RabbitMQ & DB setup pre_tasks removed
for now. These can move out again once functional testing is
working.
- The test playbook's LXC dhcp range is reduced to 50 hosts in
order to ensure no conflicts with the test containers and also
provide room for growth.
- Add human readable logging callback plugin to functional test.
- Restructure testing to make it easier to work with.
This patch adds the rootwrap templates, filters, etc in order to
ensure that the designate service is capable of executing commands
against bind9 when it needs to.
The api-paste file was incorrectly named api_paste.ini when implemented
on the designate server, and therefore wasn't being used.
The policy.json template file was renamed to policy.json.j2 to keep
consistent with conventions in OpenStack-Ansible. This eases the process
for updating the files automatically through convenience scripts.