yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #41736
[Bug 1518431] Re: Glance failed to upload image to swift storage
I've debugged this issue a bit further and it's not related to RadosGW.
The swift driver deletes that last 0-byte chunk when the image is being
uploaded and that's causing this conflict.
---
if bytes_read == 0:
# Delete the last chunk, because it's of zero size.
# This will happen if size == 0.
LOG.debug("Deleting final zero-length chunk")
connection.delete_object(location.container,
chunk_name)
break
chunk_id += 1
combined_chunks_size += bytes_read
---
** Summary changed:
- Glance failed to upload image to swift storage via RadosGW
+ Glance failed to upload image to swift storage
** Changed in: glance
Status: Invalid => Confirmed
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1518431
Title:
Glance failed to upload image to swift storage
Status in Glance:
Confirmed
Bug description:
When glance configured with swift backend, and swift API provides via
RadosGW is unable to upload image.
Command:
glance --debug image-create --name trusty_ext4 --disk-format raw --container-format bare --file trusty-server-cloudimg-amd64.img --visibility public --progress
Logs:
http://paste.openstack.org/show/479621/
To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1518431/+subscriptions
References