Cyberduck Mountain Duck CLI

#6961 closed defect (duplicate)

Renaming Folders in Openstack Swift Just Deletes Everything

Reported by: K3Vinmcdonald Owned by: dkocher
Priority: highest Milestone: 4.3
Component: openstack Version: 4.2.1
Severity: critical Keywords:
Cc: Architecture: Intel
Platform: Mac OS X 10.8

Description

When using Cyberduck with Openstack Swift, renaming a folder deletes everything in the folder.

Steps to reproduce:

  1. Log into a swift server from using cyberduck
  2. Create a container if one doesn't exist
  3. Create a folder in the container called 'test'
  4. Create a file in the container called 'file.txt'
  5. Attempt to rename the folder to 'test2'

Expected Result: a 'test2' folder exists with 'file.txt' inside.

Actual Result: 'test' and the file inside was deleted. 'test2' does not exist.

Log Drawer output:

GET /auth/v1.0 HTTP/1.1
x-auth-user: PRIVATE
x-auth-key: PRIVATE
Host: PRIVATE:443
Connection: Keep-Alive
User-Agent: Cyberduck/4.2.1 (Mac OS X/10.8.2) (i386)
HTTP/1.1 200 OK
X-Storage-Url: https://PRIVATE/v1/PRIVATE
X-Storage-Token: PRIVATE
X-Auth-Token: PRIVATE
X-Trans-Id: tx10fca178e8fb4204a6a9b592b6ab32ff
Content-Length: 453
Date: Thu, 15 Nov 2012 21:57:55 GMT
Connection: keep-alive
GET /v1/PRIVATE?limit=10000&format=xml HTTP/1.1
X-Auth-Token: PRIVATE
Host: PRIVATE
Connection: Keep-Alive
User-Agent: Cyberduck/4.2.1 (Mac OS X/10.8.2) (i386)
HTTP/1.1 200 OK
X-Account-Meta-Nas-Id: 1178855
X-Account-Object-Count: 10
X-Account-Meta-Cdn-Id: 2117
X-Account-Bytes-Used: 3300105
X-Account-Container-Count: 9
Accept-Ranges: bytes
Content-Length: 833
Content-Type: application/xml; charset=utf-8
X-Trans-Id: txc93e68d1f42f4f438f253debe755e742
Date: Thu, 15 Nov 2012 21:57:55 GMT
Connection: keep-alive
GET /v1/PRIVATE/rename_test?format=xml&prefix=&delimiter=%2F HTTP/1.1
X-Auth-Token: PRIVATE
Host: PRIVATE
Connection: Keep-Alive
User-Agent: Cyberduck/4.2.1 (Mac OS X/10.8.2) (i386)
HTTP/1.1 200 OK
X-Container-Object-Count: 0
X-Container-Bytes-Used: 0
Accept-Ranges: bytes
Content-Length: 81
Content-Type: application/xml; charset=utf-8
X-Trans-Id: tx308589cbb1404cfc9d8bef27f0279840
Date: Thu, 15 Nov 2012 21:58:05 GMT
Connection: keep-alive
PUT /v1/PRIVATE/rename_test/test HTTP/1.1
X-Auth-Token: PRIVATE
Content-Length: 0
Content-Type: application/directory
Host: PRIVATE
Connection: Keep-Alive
User-Agent: Cyberduck/4.2.1 (Mac OS X/10.8.2) (i386)
HTTP/1.1 201 Created
Content-Length: 18
Content-Type: text/html; charset=UTF-8
Etag: d41d8cd98f00b204e9800998ecf8427e
Last-Modified: Thu, 15 Nov 2012 21:58:11 GMT
X-Trans-Id: tx74cc3b064cf14ca193faaee4510ce1f9
Date: Thu, 15 Nov 2012 21:58:11 GMT
Connection: keep-alive
GET /v1/PRIVATE/rename_test?format=xml&prefix=test%2F&delimiter=%2F HTTP/1.1
X-Auth-Token: PRIVATE
Host: PRIVATE
Connection: Keep-Alive
User-Agent: Cyberduck/4.2.1 (Mac OS X/10.8.2) (i386)
HTTP/1.1 200 OK
X-Container-Object-Count: 1
X-Container-Bytes-Used: 0
Accept-Ranges: bytes
Content-Length: 81
Content-Type: application/xml; charset=utf-8
X-Trans-Id: tx92a450dad3d64455878fe8b5ac1067eb
Date: Thu, 15 Nov 2012 21:58:11 GMT
Connection: keep-alive
PUT /v1/PRIVATE/rename_test/test%2Ffile.txt HTTP/1.1
X-Auth-Token: PRIVATE
Content-Length: 0
Host: PRIVATE
Connection: Keep-Alive
User-Agent: Cyberduck/4.2.1 (Mac OS X/10.8.2) (i386)
HTTP/1.1 201 Created
Content-Length: 18
Content-Type: text/html; charset=UTF-8
Etag: d41d8cd98f00b204e9800998ecf8427e
Last-Modified: Thu, 15 Nov 2012 21:58:17 GMT
X-Trans-Id: tx0d74abc0ddaf4edca394ed4ab1e8b6fd
Date: Thu, 15 Nov 2012 21:58:17 GMT
Connection: keep-alive
GET /v1/PRIVATE/rename_test?format=xml&prefix=test%2F&delimiter=%2F HTTP/1.1
X-Auth-Token: PRIVATE
Host: PRIVATE
Connection: Keep-Alive
User-Agent: Cyberduck/4.2.1 (Mac OS X/10.8.2) (i386)
HTTP/1.1 200 OK
X-Container-Object-Count: 2
X-Container-Bytes-Used: 0
Accept-Ranges: bytes
Content-Length: 281
Content-Type: application/xml; charset=utf-8
X-Trans-Id: tx91a4fb5131b74290832700c75966753d
Date: Thu, 15 Nov 2012 21:58:17 GMT
Connection: keep-alive
DELETE /v1/PRIVATE/rename_test/test%2Ffile.txt HTTP/1.1
X-Auth-Token: PRIVATE
Host: PRIVATE
Connection: Keep-Alive
User-Agent: Cyberduck/4.2.1 (Mac OS X/10.8.2) (i386)
HTTP/1.1 204 No Content
Content-Length: 0
Content-Type: text/html; charset=UTF-8
X-Trans-Id: tx2fe580243a404dff9fad626af2cfd5f6
Date: Thu, 15 Nov 2012 21:58:37 GMT
Connection: keep-alive
DELETE /v1/PRIVATE/rename_test/test HTTP/1.1
X-Auth-Token: PRIVATE
Host: PRIVATE
Connection: Keep-Alive
User-Agent: Cyberduck/4.2.1 (Mac OS X/10.8.2) (i386)
HTTP/1.1 204 No Content
Content-Length: 0
Content-Type: text/html; charset=UTF-8
X-Trans-Id: tx0156b9826fb842f5a335b21972e9f23e
Date: Thu, 15 Nov 2012 21:58:38 GMT
Connection: keep-alive
GET /v1/PRIVATE/rename_test?format=xml&prefix=test%2F&delimiter=%2F HTTP/1.1
X-Auth-Token: PRIVATE
Host: PRIVATE
Connection: Keep-Alive
User-Agent: Cyberduck/4.2.1 (Mac OS X/10.8.2) (i386)
HTTP/1.1 200 OK
X-Container-Object-Count: 0
X-Container-Bytes-Used: 0
Accept-Ranges: bytes
Content-Length: 81
Content-Type: application/xml; charset=utf-8
X-Trans-Id: tx7945a947a735468487c5add3b758d21f
Date: Thu, 15 Nov 2012 21:58:38 GMT
Connection: keep-alive
GET /v1/PRIVATE/rename_test?format=xml&prefix=&delimiter=%2F HTTP/1.1
X-Auth-Token: PRIVATE
Host: PRIVATE
Connection: Keep-Alive
User-Agent: Cyberduck/4.2.1 (Mac OS X/10.8.2) (i386)
HTTP/1.1 200 OK
X-Container-Object-Count: 0
X-Container-Bytes-Used: 0
Accept-Ranges: bytes
Content-Length: 81
Content-Type: application/xml; charset=utf-8
X-Trans-Id: tx1f07423c728e4d4db2a788cd22666712
Date: Thu, 15 Nov 2012 21:58:38 GMT
Connection: keep-alive

Change History (1)

comment:1 Changed on Nov 19, 2012 at 7:15:26 PM by dkocher

  • Milestone set to 4.2.2
  • Resolution set to duplicate
  • Status changed from new to closed

Duplicate for #6442.

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