openstack-ansible-os_glance/tasks
Jesse Pretorius 1416013cd4 Allow deployment without glance-registry
The glance v1 API is deprecated and intended to be removed
from the glance code within the Queens or Rocky cycles.

When using the glance v2 API the glance-registry service is
optional, and the intention is to remove the glance-registry
service in the S cycle. The glance-registry service is required
when using the v1 API though.

Furthermore, when using the glance-registry service it is not
possible to execute a rolling upgrade without losing API
transactions.

Given the above information, this patch enables the deployment
of glance with only the v2 API enabled, and without the
glance-registry service. It adds a per-commit test to validate
that this configuration works.

This patch also corrects a previous misconfiguration which
enabled the v2 registry service, but did not set the data_api
correctly for the API service to inform it that the registry
was operating.

The glance_enable_v1_registry variable is also removed as it
is meaningless. The v1 API *requires* the registry to be
enabled, so we just enable it if glance_enable_v1_api is
enabled.

Change-Id: Ie95daed286798d139f0a35ffdd2a4dd1cdda6ff9
2017-11-20 12:48:02 +00:00
..
glance_db_setup.yml Revert "Only sync glance database on major versions" 2017-07-12 11:43:39 +01:00
glance_init_systemd.yml Ensure that services restart in a particular order 2017-06-30 13:27:56 +01:00
glance_install.yml tasks: glance_install: Fix virtualenv-tools issue on openSUSE 2017-08-16 12:34:25 +01:00
glance_post_install.yml Allow deployment without glance-registry 2017-11-20 12:48:02 +00:00
glance_pre_install.yml Default to "omit" mode from directory creation 2017-04-11 17:34:40 +01:00
glance_service_setup.yml Cleanup/standardize usage of tags 2016-07-12 16:55:32 -04:00
glance_uwsgi.yml Implement uWSGI for glance-api 2017-07-25 14:20:24 +01:00
main.yml Implement uWSGI for glance-api 2017-07-25 14:20:24 +01:00