Stuart, Kairat,
This bug is hard to reproduce, TBH. The race happens in a combination of
Glance's v2 behavior and swift's driver. This is not *entirely* Glance's
fault, though. The Glance "weird" part is not being able to recognize
"0-sized" chunks before submitting them. However, this is being
re
Kairat,
I reopened the bug because its reproducible with Swift not just with
RadosGW. Please, review a previous comments, especially #5, #8 and
solution proposed in comment #9.
** Changed in: glance
Status: Invalid => In Progress
** Changed in: glance
Assignee: Kairat Kushaev (kkusha
It took some amount of time to debug this issue for Glance.
It turned out that both Glance and Swift support chunked requests.
Unfortunately, chunked uploading is not supported mod_fastcgi that is used by
RadosGW. It is very typical for Apache to response with 411 error because some
cgi (or wsgi
** No longer affects: mos
--
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:
W
** Also affects: mos
Importance: Undecided
Status: New
** Changed in: mos
Status: New => Confirmed
** Changed in: mos
Assignee: (unassigned) => MOS Glance (mos-glance)
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subsc
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 z
The swift driver is meant to be used to talk to Swift. If there's a
problem in RadosGW swift API, we should notify the RadosGW maintainers.
** Changed in: glance
Status: New => Invalid
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subs
7 matches
Mail list logo