Activity log for bug #1337367

Date Who What changed Old value New value Message
2014-07-03 14:58:55 Hua Wang bug added bug
2014-07-03 15:01:36 Hua Wang description 1. upload a large image, for example 50G 2. kill glance-api when image status:saving 3. restart glance-api 4. delete image the image content that have been uploaded can not be deleted. I think the add method should put the object manifest onto swift first, before we upload the content when we upload a large image in chunks. manifest = "%s/%s-" % (location.container, location.obj) headers = {'ETag': hashlib.md5("").hexdigest(), 'X-Object-Manifest': manifest} connection.put_object(location.container, location.obj, None, headers=headers) the code above shoud put before the code we upload the image chunks. 1. upload a large image, for example 50G 2. kill glance-api when image status:saving 3. restart glance-api 4. delete image the image content that have been uploaded can not be deleted. I think the add method of glance/swift/BaseStore should put the object manifest onto swift first, before we upload the content when we upload a large image in chunks.  manifest = "%s/%s-" % (location.container, location.obj)  headers = {'ETag': hashlib.md5("").hexdigest(), 'X-Object-Manifest': manifest} connection.put_object(location.container, location.obj, None, headers=headers) the code above shoud put before the code we upload the image chunks.
2014-07-04 09:14:12 Erno Kuvaja marked as duplicate 1329319
2014-09-23 19:15:08 Tushar Patil changed duplicate marker 1329319 1243127