Glance stores library
Go to file
Dharini Chandrasekar e79162423f Raise exc when using multi-tenant and swift+config
When Swift multi-tenant store is used along with the
scheme ``swift+config`` (the scheme that identifies the
need to use the swift config), a reference to use swift
objects from the swift config file set using the option
``swift_store_config_file`` is made resulting in the
storage url for an accessible object being created from
a swift auth_address. So is the case when the scheme is
``swift``. This behavior is suitable for single-tenant
swift store and not multi-tenant store.

The solution is to ensure that if deploying multi-tenant swift
store, prohibit setting of swift_store_config_file.
This patch does this by ensuring that multi-tenant and
swift_store_config_file are not configured to work together.

TODO: When somebody changes to multi-tenant from single-tenant store,
and they were using the swift config for single-tenant, the operator will
not be able to access those images any longer. Logic to ensure that
multi-tenant uses the swift conf file if there is a need to  access
an image that was created using single-tenant and swift+config could be
introduced.

UpgradeImpact
DocImpact

Closes-Bug: 1625075

Change-Id: I8b5c31541d3c501ad7c2520b463f881599f4a28e
Co-Authored-By: Hemanth Makkapati <hemanth.makkapati@rackspace.com>
Co-Authored-By: Dharini Chandrasekar <dharini.chandrasekar@intel.com>
2016-12-16 19:48:09 +00:00
doc/source Fix doc build if git is absent 2016-09-01 21:55:56 +02:00
etc Fix a typo in rootwrap.conf and glance_cinder_store.filters 2016-10-17 17:06:41 +08:00
glance_store Raise exc when using multi-tenant and swift+config 2016-12-16 19:48:09 +00:00
releasenotes Raise exc when using multi-tenant and swift+config 2016-12-16 19:48:09 +00:00
tools Improve tools/tox_install.sh 2016-08-30 20:40:41 +02:00
.gitignore Add functional tests for swift 2016-05-09 14:44:17 +00:00
.gitreview Update .gitreview for project rename 2014-08-30 16:43:37 +00:00
.testr.conf Add functional tests for swift 2016-05-09 14:44:17 +00:00
babel.cfg Setup for glance.store for translation 2014-07-17 15:44:36 +00:00
functional_testing.conf.sample Add functional tests for swift 2016-05-09 14:44:17 +00:00
LICENSE Copying from glance 2014-01-24 18:30:46 +01:00
README.rst Update README to work with release tools 2015-04-21 14:57:00 +00:00
requirements.txt Updated from global requirements 2016-10-06 16:54:47 +00:00
run_tests.sh Don't include openstack/common in flake8 exclude list 2016-07-12 14:27:23 +08:00
setup.cfg Update home-page url in setup.cfg 2016-09-21 03:00:36 +00:00
setup.py Updated from global requirements 2015-10-09 03:49:59 +00:00
test-requirements.txt Updated from global requirements 2016-09-30 10:16:41 +00:00
tox.ini Use constraints for all tox environments 2016-08-10 13:22:48 +02:00

Glance Store Library

Glance's stores library