Cyberduck Mountain Duck CLI

Opened 4 years ago

Closed 4 years ago

#7693 closed defect (fixed)

Downloading dynamic large object results in empty file

Reported by: din Owned by: dkocher
Priority: normal Milestone: 4.4.4
Component: openstack Version: 4.4.3
Severity: normal Keywords:
Cc: Architecture: Intel
Platform: Windows 7

Description

Cyberduck downloads only empty manifest file for segmented object.

I have 1GB file

ls -l
-rw-r--r-- 1 root root 1073741824 Dec 19 13:07 file8.txt

Upload this file with python-swiftclient which splits object on couple 100MB segments:

swift upload newcontainer -S 104857600 file8.txt

After upload on swift there is a structure:

newcontainer
    file8.txt
newcontainer_segments
    file8.txt/1387454875.69/1073741824/00000000
    file8.txt/1387454875.69/1073741824/00000001
    file8.txt/1387454875.69/1073741824/00000002
    file8.txt/1387454875.69/1073741824/00000003
    file8.txt/1387454875.69/1073741824/00000004
    file8.txt/1387454875.69/1073741824/00000005
    file8.txt/1387454875.69/1073741824/00000006
    file8.txt/1387454875.69/1073741824/00000007
    file8.txt/1387454875.69/1073741824/00000008
    file8.txt/1387454875.69/1073741824/00000009
    file8.txt/1387454875.69/1073741824/00000010

When try download manifest file cyberduck saves only empty file, but should 1GB. In "Log Drawer" there is no request info, but in fiddler I see:

GET https://example.com/v1/AUTH_12345/newcontainer/file8.txt HTTP/1.1
X-Auth-Token: AUTH_tk79123438b18a49cd86b302564091234
Host: example.com
Connection: Keep-Alive
User-Agent: Cyberduck/4.4.4 (14153) (Windows 7/6.1) (x86)
Accept-Encoding: gzip,deflate


HTTP/1.1 200 OK
Content-Length: 1073741824
X-Object-Meta-Mtime: 1387454875.69
Accept-Ranges: bytes
Last-Modified: Thu, 19 Dec 2013 12:53:17 GMT
X-Object-Manifest: newcontainer_segments/file8.txt/1387454875.69/1073741824/
X-Timestamp: 1387457601.58801
Etag: "5449cf7d5e15834577c81ff7416effff"
Content-Type: text/plain
X-Trans-Id: txc03662ee5d9d4fca9a0bd24152dc2c64
Date: Thu, 19 Dec 2013 16:11:56 GMT
Connection: keep-alive

Last version which seems to work is 4.4.1.13981: in file browser window, size of manifest file is 0B but it is possible do download file with correct size. Tested on swift 1.8.0, if additional information needed i will try provide it.

Change History (4)

comment:1 Changed 4 years ago by dkocher

  • Status changed from new to assigned

comment:2 Changed 4 years ago by dkocher

  • Summary changed from Problem with downloading segmented object to Downloading dynamic large object results in empty file

comment:3 Changed 4 years ago by dkocher

  • Milestone changed from 4.5 to 4.4.4

comment:4 Changed 4 years ago by dkocher

  • Resolution set to fixed
  • Status changed from assigned to closed

Fixed in r14183 and r14190.

Note: See TracTickets for help on using tickets.
swiss made software