Related to bug 1250918
There currently exists no check in set_data function for glance
api v2 in the policy layer. This patch adds upload_image policy.
DocImpact
Change-Id: Ibccc78f8bccff3baa5aca574cf17bd14c5403ca2
Now there is no image status transition diagram in the dev
doc, this patch will add one and keep the image source as
a dot file so that it can be updated easily in the future.
See http://www.graphviz.org to get more info about .dot file.
Fixes bug 1244995
Change-Id: I076c461f688be93eab8d3d1fa541990d7b79da5e
nova-manage supports subcommands of db, for nova-manage,
eg) 'nova-manage db sync',
glance manage however has individual commands like db_sync, db_version
etc. This patch aims at adding the db operations as subcommands to db in
glance-manage similar to nova and refactoring this bit of code in
cmd/manage.py
Fixes: bug 1213197
Change-Id: I6fad31766bc1cec2a666a7ebc8df5c732007c5f1
This patch replaces `qpid_host` with `qpid_hostname` in both the
documentation and the config file sample. `qpid_host` has been shipped
as the parameter to specify qpid's hostname, although the correct one is
`qpid_hostname`.
DocImpact
Closes-bug 1242715
Change-Id: I25f2d0e505560e1762f7f059728c33c47a23439e
Includes an example to limit all property interactions to admin only using policy rule
context_is_admin defined in policy.json
Change-Id: I22dddc06a84312b3b1cbd195cb84839e0321a9f0
Closes-Bug: #1243945
Add documentation for using policies to describe
property protections.
Related to bp api-v2-property-protection
Change-Id: Ic1fc4d3d69dee7ba65462a5bda6cdbe1a266077e
Fixes bug 1233303
Specified conditions under which glance api will not start
successfully.
DocImpact
Change-Id: I8498e9e51f5c7e0d411379c0574c0b8e300f77c2
corrected request body for POST to /v2/.../members
removed GET /v2/images/{imageId}/members/{memberId} (call not implemented)
Change-Id: Iafbba48c7d5e8b8b38e77b7ead216d0e7e235cb2
Closes-Bug: #1229351
Add a new glance-api.conf parameter 'swift_store_ssl_compression',
which allows disabling SSL layer compression for https swift requests.
This can increase performance when transferring compressed images (eg
qcow2) to/from swift.
Addresses bug 1190666.
DocImpact.
Change-Id: Ic26dba9dce5ea7e5c09fdd531746b93cec54fc5c
This patch adds a storage quota that is applied against the sum total
of a users storage consumption against all configured storage systems.
A single quota is applied to all users via the configuration option
'total_storage_quota'. Most of the patch is about enforcement so
when a separate service for quota management emerges in OpenStack the
per user value to enforce can be obtained from that service but the
enforcement code will remain the same.
blueprint glance-basic-quotas
docImpact
Change-Id: I251832f7372c70942be6f0c6aa12285145dd7c18
These are some text fixes in document, scripts and functions,
including variable usage, text aligning, adding new store class in
document
Change-Id: I98e226969d86698972870a7b3a042cb00c2206e9
This change allows Glance drive Cinder as a block storage backend to
store image data.
Before this we already use swift as an object storage backend to save
image.
Currently the patch is a partial implementation, after Cinder expose
'brick' library, 'host-volume-attaching' and 'multiple-attaching'
enhancement ready, the store will support ADD/GET/DELETE interface
finally.
blueprint: glance-cinder-driver
Change-Id: I4cdeccdb518972c0280e59c984ed6b001dafe243
Signed-off-by: Zhi Yan Liu <zhiyanl@cn.ibm.com>
The usage message for glance-cache-manage lists "clean" as an available
command, but this functionality is part of a separate tool,
glance-cache-cleaner.
Remove any references to this to avoid confusion.
DocImpact
Fixes bug 1189451
Change-Id: I2aba8164ab9ef0c3bef31870cb3771233a722d27
Fix the way the notification payload is documented
so it uses proper rst syntax and doesn't produce a
warning in the sphinx build.
Change-Id: I0d2adf36c7f5262770f5a3bda05c9ddd21efc17d
Signed-off-by: Doug Hellmann <doug.hellmann@dreamhost.com>
Fix the underline length to remove a warning from
the documentation build.
Change-Id: Icc1569cbeaa6c964d608a254095f7a778ff0c74e
Signed-off-by: Doug Hellmann <doug.hellmann@dreamhost.com>
Use the new oslo.sphinx version of the OpenStack doc
theme instead of copying it into this repo.
blueprint oslo.sphinx
Signed-off-by: Doug Hellmann <doug.hellmann@dreamhost.com>
Change-Id: I0bd91f7bb43f97b99051fed65b75fc05d5149cc8
Sheepdog is a distributed block storage. This patch enables Sheepdog cluster
as a backend store for glance.
Test:
You can set up a simulated 3 node cluster on the local machine with
following script:
$ sudo apt-get install liburcu-dev
$ git clone git://github.com/collie/sheepdog.git
$ cd sheepdog
$ ./autogen.sh; ./configure --disable-corosync
$ make; sudo make install
$ for i in 0 1 2; do sheep /tmp/store$i -n -c local -z $i -p 700$i;done
$ collie cluster format
Then change the default store in glance-api.conf as sheepdog
blueprint: add-sheepdog-support
Change-Id: I99907bbfc2e131146de9dd1a39f94a73cd2585e9
Added a policy layer for the membership APIs of the domain
model.
Added following policies for membership APIs:
v1: 'get_members', 'delete_member' and 'modify_member'.
v2: 'add_member', 'get_member', 'modify_member',
'get_members' and 'delete_member'.
Implements blueprint membership-policy
Change-Id: I0d5782d1d9b7b8a563a689fcb192958ab3fea0f4
This lets us refer to the fact that some optional headers are in fact
required unless reserving an image.
Fixes bug 1124224
Change-Id: I5646d4dc130efecf991573b363eb1a665012b7df
Update the documentation for 'is_public' in authentication.rst
to be more accurate.
Addresses bug 1177732.
Change-Id: I9889826d4019ff33d9be343e79324862d9fde8e9
The executable programs used by Glance have historically been scripts
in the ./bin directory. This patch converts all of the scripts to
entry_points. This change makes these programs python modules. Thus
they can be imported and methods in them can be called just like any
other module. This will allow the tests to call into these programs
directly instead of having to fork out a process.
The conf.py file in the doc tree was causing a name collision with
the python module cmd. The glance/glance directory was being added
to sys.path which made glance.cmd import with the name cmd. This
patch also fixes that problem.
blueprint: refactoring-better-faster-stronger-functional-tests
Change-Id: I67ae14b7403af31a5944befcd2ec27a690e81f15
Several configuration options were added to the swift store. These
options help python-swiftclient and sometimes glance itself to determine
which swift service to use if multiple services appear in a keystone
catalog. This change adds documentation for the additional options.
Last fix for bug 1037708
Change-Id: Id06d263b73705b06295b730ff68460b22f117e63