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
2017-10-17 18:32:54 +00:00
2017-10-17 10:23:53 +00:00
2016-09-27 18:46:26 +01:00
2017-08-19 19:01:34 +08:00
2017-03-02 11:51:41 +00:00

Team and repository tags

image

OpenStack-Ansible glance

This Ansible role installs and configures OpenStack glance and the glance registry.

Documentation for the project can be found at:

https://docs.openstack.org/openstack-ansible-os_glance/latest/

The project home is at:

http://launchpad.net/openstack-ansible

Description
Role os_glance for OpenStack-Ansible
Readme 7.2 MiB
Languages
Jinja 48.1%
Python 37.3%
Shell 14.6%