openstack-ansible-os_glance/templates
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-api-paste.ini.j2 Update paste, policy and rootwrap configurations 2016-06-17 2016-06-20 07:01:27 +00:00
glance-api.conf.j2 Allow deployment without glance-registry 2017-11-20 12:48:02 +00:00
glance-cache.conf.j2 Disable stderr logging 2016-08-04 17:43:23 +00:00
glance-manage.conf.j2 Disable stderr logging 2016-08-04 17:43:23 +00:00
glance-registry-paste.ini.j2 Update Master SHAs - 17 Jan 2016 2016-01-18 23:58:48 +00:00
glance-registry.conf.j2 Allow deployment without glance-registry 2017-11-20 12:48:02 +00:00
glance-scrubber.conf.j2 Disable stderr logging 2016-08-04 17:43:23 +00:00
glance-swift-store.conf.j2 Adjust Glance/Swift backend configuration 2016-03-30 13:13:58 +01:00
glance-systemd-init.j2 Implement uWSGI for glance-api 2017-07-25 14:20:24 +01:00
glance-systemd-tmpfiles.j2 Ensure that services restart in a particular order 2017-06-30 13:27:56 +01:00
glance-uwsgi.ini.j2 Implement uWSGI for glance-api 2017-07-25 14:20:24 +01:00
policy.json.j2 Update paste, policy and rootwrap configurations 2017-08-25 2017-08-25 09:31:13 +01:00
rootwrap.conf.j2 Update paste, policy and rootwrap configurations 2017-08-15 2017-08-15 10:21:27 +01:00
schema.json.j2 Allow ramdisk_id, kernel_id to be null on schema 2015-11-17 18:07:41 +01:00