lp://staging/~dan-prince/glance/fix_update_props

Created by Dan Prince and last modified
Get this branch:
bzr branch lp://staging/~dan-prince/glance/fix_update_props
Only Dan Prince can upload to this branch. If you are Dan Prince please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Dan Prince
Project:
Glance
Status:
Merged

Recent revisions

106. By Dan Prince

Update the docs in bin/glance so that help for the 'update' command states
that metadata not specified will be deleted.

105. By Dan Prince

Merge w/ trunk.

104. By Dan Prince

Updated properties should be marked as deleted=0.
Add unit tests.

103. By Jay Pipes

Use logging module, not echo, for logging SQLAlchemy. Fixes bug 746435.

102. By Jay Pipes

Use logging module, not echo, for logging SQLAlchemy. Fixes bug 746435.

101. By Jay Pipes

Ensure we don't ask the backend store to delete an image if the image is in a queued or saving state, since clearly the backend state has yet to completely store the image.

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.

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
lp://staging/~glance-coresec/glance/cactus-trunk
This branch contains Public information 
Everyone can see this information.

Subscribers