lp:~jaypipes/glance/bug818292
- Get this branch:
- bzr branch lp:~jaypipes/glance/bug818292
Branch merges
- Rick Harris (community): Approve
- Matt Dietz (community): Approve
- Josh Kearney (community): Approve
-
Diff: 99 lines (+39/-7)4 files modifiedglance/api/v1/images.py (+0/-1)
glance/store/s3.py (+35/-4)
glance/tests/functional/test_s3.py (+2/-1)
glance/tests/unit/test_s3_store.py (+2/-1)
Related bugs
Bug #818292: Unable to register image with FS backend | Critical | Fix Released |
Related blueprints
Recent revisions
- 180. By Jay Pipes
-
Removes the call to webob.Request.
make_body_ seekable( ) in the
general images controller to prevent the image from being copied
into memory. In the S3 controller, which needs a seekable file-like
object when calling boto.s3.Key.set_ contents_ from_file( ), we work
around this by writing chunks of the request body to a tempfile on
the API node, then stream this tempfile to S3. - 179. By Brian Waldon
-
- removed curl api functional tests
- moved httplib2 api functional tests to tests/functional/test_ api.py - 175. By Jay Pipes
-
Our code doesn't work with python-xattr 0.5.0, and that's the version installed in RH/Centos :( Andrey has updated the RPM config to specify 0.6.0, and this does the same to pip-requires.
- 174. By Justin Shepherd
-
Replaced occurances of |str(e)| with |"%s" % e|.
Except in bin/glance, where |unicode(
e).split( '\n')| makes more sense than |("%s" % e).split('\n')| - 173. By Jay Pipes
-
First round of refactoring on stores.
Refactors stores to be stateful:
* Creates a new base Store class
* Adds code for new Store modules to "register" with Glance
and ensure that when the Controller(s) are spun up, that
the stateful store objects are all created properly and passed
configuration options. This allows us to refactor a bunch of code
out of the various store adapters that is constantly re-checking
configuration option values during each call to get/add/delete, etc
* Removes the now-unnecessary repetitve option-checking code in the
Swift, S3, and filesystem drivers - 172. By Justin Shepherd
-
Use of "%default" in help string does not work, have to use "%(default)s". Per the 4th example http://
docs.python. org/dev/ library/ argparse. html#prog
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:~hudson-openstack/glance/trunk