Comment 2 for bug 1680083

Revision history for this message
Archana (archupsg03) wrote : Re: SLO upload

python-swiftclient 3.1.0

Swift Veersion 2.10

Body returned is the manifest file and not 35MB.

# swift download 142slo13 testt
testt [auth 0.418s, headers 0.554s, total 0.554s, 0.002 MB/s]
# ls -l testt
-rw-r--r-- 1 root root 309 Apr 5 09:55 testt

 curl -i http://x.xx.xx.xxx:8091/v1/AUTH_f9d7c1cf6500469b80f0906f5f9b1791/1423Apr6/sample?multipart-manifest=put -X GET -H "Content-Type: " -H "X-Auth-Token: 07d5709236524deeab45e63652e7e41a"
HTTP/1.1 200 OK
Content-Length: 311
Content-Type: application/octet-stream
Accept-Ranges: bytes
Last-Modified: Thu, 06 Apr 2017 04:27:34 GMT
Etag: e7e1f14de9e622549dd51b000eec09a3
X-Timestamp: 1491452853.50530
X-Static-Large-Object: true
X-Object-Meta-Mtime: 1491452737.363976
X-Trans-Id: txc16173331665477283b12-0058e5c3fb
Date: Thu, 06 Apr 2017 04:28:43 GMT

[{"path": "/1423Apr6_segments/sample/slo/1491452737.363976/36700160/33554432/00000000", "etag": "58f06dd588d8ffb3beb46ada6309436b", "size_bytes": 33554432}, {"path": "/1423Apr6_segments/sample/slo/1491452737.363976/36700160/33554432/00000001", "etag": "d1dd210d6b1312cb342b56d02bd5e651", "size_bytes": 3145728}]

# ls -l sample
-rw-r--r-- 1 root root 35700160 Apr 6 00:25 sample

35MB got downloaded from the curl GET.

1. Manifest file content length is it expected to be length if the json for PUT operation

2. During GET operation, the json body is returned in the response and does the swift-client does the Content length sum ?