lp:~jaypipes/glance/bug747799
- Get this branch:
- bzr branch lp:~jaypipes/glance/bug747799
Branch merges
- Rick Harris (community): Approve
- Tushar Patil (community): Approve
-
Diff: 69 lines (+39/-1)3 files modifiedglance/server.py (+6/-1)
tests/stubs.py (+1/-0)
tests/unit/test_api.py (+32/-0)
Related bugs
Bug #747799: DELETE existing image fails if location attribute is None | Medium | Fix Released |
Related blueprints
Recent revisions
- 101. By Jay Pipes
-
Ensure we don't ask a backend store to delete an image if the image is queued or saving.
- 100. By Dan Prince
-
Updates to the Registry API such that only external requests to
update image properties purge existing properties. The update_image
call now contains an extra flag to purge_props which is set to
True for external requests but False internally.This resolves with revision 99 where Glance API incidentally deleted
image metadata when uploading new images. - 99. By Dan Prince
-
Update the glance registry so that it marks properties as deleted if they are no longer exist when images are updated.
- 98. By Jay Pipes
-
Simple one.. just add back the Changelog I removed by accident in r94. Fixes bug #742353
- 97. By Jay Pipes
-
Adds checksumming to Glance.
When adding an image (or uploading an image during PUT operations),
you may now supply an optional X-Image-Meta-Checksum header. When
storing the uploaded image, the backend image stores now are required
to return a checksum of the data they just stored. The optional
X-Image-Meta-Checksum header is compared against this generated checksum
and returns a 409 Bad Request if there is a mismatch.The ETag header is now properly set to the image's checksum now
for all GET /images/<ID>, HEAD /images/<ID>, POST /images and
PUT /images/<ID> operations.Adds unit tests verifying the checksumming behaviour in the API, and
in the Swift and Filesystem backend stores.Includes migration script.
NOTE: This does not include the DB migration script. Separate bug will be filed for that.
- 95. By Jay Pipes
-
Start eventlet WSGI server with a logger to avoid stdout output.
Resubmitted to depend on the lp:~jaypipes/glance/bug731304 branch and not the lp:~jaypipes/glance/bug736295 branch, since lp:~jaypipes/glance/bug731304 contains all those fixes for bug736295.
- 92. By Ewan Mellor
-
Bug #737979: glance-control uses fixed path to Python interpreter, breaking virtualenv
Change #!/usr/bin/python to #!/usr/bin/env python.
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:~glance-coresec/glance/cactus-trunk