Comment 10 for bug 1518431

Revision history for this message
Kairat Kushaev (kkushaev) wrote :

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) frameworks always require Content-length to be specified.
Request with transfer-encoding=chunked is a part of Http spec so glance_store prepares correct request here.
So I would recommend to deploy RadosGW under different CGI (for example mod_proxy_fcgi) that supports chunked requests.
I will mark this as Invalid for Glance, please re-open the bug if you don't agree.