This patch refactors the openstack user/service/endpoints creation to
service_setup.yml which will eventually be managed by
openstack-ansible-tests.
Change-Id: Id9e94865467a9076ee15a9caebcc2cc97847d079
In order to enable the service setup host python interpreter to
be changed easily, we make it a variable. This will be useful
when someone sets the service setup host to be the utility
container, because we'll be able to set this var by default.
Change-Id: Id70abddc0ba2a4086406d35162d9aca0b526f196
In order to reduce the packages required to pip install on to the hosts,
we allow the service setup to be delegated to a specific host, defaulting
to the deploy host. We also switch as many tasks as possible to using the
built-in Ansible modules which make use of the shade library.
The 'virtualenv' package is now installed appropriately by the openstack_hosts
role, so there's no need to install it any more. The 'httplib2' package is a
legacy Ansible requirement for the get_url/get_uri module which is no longer
needed. The keystone client library is not required any more now that we're
using the upstream modules. As there are no required packages left, the task
to install them is also removed.
With the dependent patches, the openstack_openrc role is now executed once
on the designated host, so it is no longer required as a meta-dependency for
the role.
Depends-On: https://review.openstack.org/579233
Depends-On: https://review.openstack.org/579959
Change-Id: I155b5036dd98f80a0d31d8bb691beae147a97bc3
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
Now that auth token usage is deprecated, prefer the admin
user and password for all designate tasks run against
keystone.
Change-Id: Ibfe282044d3cc234b4d627e351de08037c419b0b
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.