[Yahoo-eng-team] [Bug 1518431] Re: Glance failed to upload image to swift storage

2015-12-16 Thread Flavio Percoco
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

[Yahoo-eng-team] [Bug 1518431] Re: Glance failed to upload image to swift storage

2015-12-16 Thread Sergey Gotliv
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

[Yahoo-eng-team] [Bug 1518431] Re: Glance failed to upload image to swift storage

2015-12-14 Thread Kairat Kushaev
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

[Yahoo-eng-team] [Bug 1518431] Re: Glance failed to upload image to swift storage

2015-12-01 Thread Roman Podoliaka
** 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

[Yahoo-eng-team] [Bug 1518431] Re: Glance failed to upload image to swift storage

2015-12-01 Thread Andrey Shestakov
** 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

[Yahoo-eng-team] [Bug 1518431] Re: Glance failed to upload image to swift storage

2015-11-24 Thread Flavio Percoco
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

[Yahoo-eng-team] [Bug 1518431] Re: Glance failed to upload image to swift storage via RadosGW

2015-11-23 Thread Flavio Percoco
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