
Initial PoC source code for Tricircle, the project for OpenStack cascading solution. Change-Id: I8abc93839a26446cb61c8d9004dfd812bd91de6e
24 lines
936 B
Markdown
24 lines
936 B
Markdown
Glance-Cascading Patch
|
|
================
|
|
|
|
|
|
Introduction
|
|
-----------------------------
|
|
|
|
*For glance cascading, we have to create the relationship bewteen one cascading-glance and some cascaded-glances. In order to achieve this goal, we using glance's multi-location feature, the relationshiop can be as a location with the special format. Besides, we modify the image status changing-rule: The image's active toggle into 'active' only if the cascaded have been synced. Because of these two reasons, a few existing source files were modified for adapting the cascading:
|
|
|
|
glance/store/http.py
|
|
glance/store/__init__.py
|
|
glance/api/v2/image.py
|
|
glance/gateway.py
|
|
glance/common/utils.py
|
|
glance/common/config.py
|
|
glance/common/exception.py
|
|
|
|
|
|
Install
|
|
------------------------------
|
|
|
|
|
|
*To implement this patch just replacing the original files to these files, or run the install.sh in glancesync/installation/ directory.
|