Role os_glance for OpenStack-Ansible
Go to file
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
defaults Allow deployment without glance-registry 2017-11-20 12:48:02 +00:00
doc Update upgrade role for Queens from P 2017-10-17 18:32:54 +00:00
examples [DOCS] Add project links; fix indents; wording 2016-08-16 09:16:30 -05:00
handlers Use listen instead of chained notifiers 2017-06-30 13:39:03 +01:00
meta Add OpenStack-Ansible metadata 2017-10-17 10:23:53 +00:00
releasenotes Allow deployment without glance-registry 2017-11-20 12:48:02 +00:00
tasks Allow deployment without glance-registry 2017-11-20 12:48:02 +00:00
templates Allow deployment without glance-registry 2017-11-20 12:48:02 +00:00
tests Allow deployment without glance-registry 2017-11-20 12:48:02 +00:00
vars Add support for the openSUSE Leap distributions 2017-07-06 13:19:19 +01:00
zuul.d Allow deployment without glance-registry 2017-11-20 12:48:02 +00:00
.gitignore Updated from OpenStack Ansible Tests 2017-06-22 15:19:28 +00:00
.gitreview Implement base configuration for independent repository 2016-03-02 07:28:55 +00:00
CONTRIBUTING.rst Update links in CONTRIBUTING.rst 2017-09-19 10:06:38 +08:00
LICENSE Convert existing roles into galaxy roles 2015-02-18 10:56:25 +00:00
README.rst Update links in README 2017-08-19 19:01:34 +08:00
Vagrantfile Updated from OpenStack Ansible Tests 2017-07-28 15:00:23 +00:00
bindep.txt Updated from OpenStack Ansible Tests 2017-09-14 17:59:43 +00:00
manual-test.rc Use centralised test scripts 2016-09-27 18:46:26 +01:00
run_tests.sh Updated from OpenStack Ansible Tests 2017-11-10 13:16:11 +00:00
setup.cfg Update URLs in documents according to document migration 2017-07-14 09:37:06 +08:00
setup.py Updated from global requirements 2017-03-02 11:51:41 +00:00
test-requirements.txt Updated from global requirements 2017-09-20 16:21:15 +00:00
tox.ini Allow deployment without glance-registry 2017-11-20 12:48:02 +00:00

README.rst

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