Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Looping listing containers #6089

Closed
cyberduck opened this issue Jul 19, 2011 · 9 comments
Closed

Looping listing containers #6089

cyberduck opened this issue Jul 19, 2011 · 9 comments
Assignees
Labels
bug fixed openstack OpenStack Swift Protocol Implementation
Milestone

Comments

@cyberduck
Copy link
Collaborator

2174ab9 created the issue

Tried to get Cyberduck 4.1 (WIndows Vista) to work with Openstack Swift
1.4.1 with swauth. Applied modification to Cyberduck config file to
enable it to talk to auth v1.0 but the new version goes into a strange
loop - the stop button flashes and the status bar flips back and forth
between authenticating and lisitng containers.

There is a note in the OpenStack Swift launchpad on this - a mac user
sees the same issue: https://answers.launchpad.net/swift/+question/164840

Reverting to 4.01 things work fine. A colleague confirmed that 4.02 also works OK but had the same issue with 4.1.

Unfortunately, I did not retain the log files since I deleted the directory prior to re-installing 4.01.


Attachments

@cyberduck
Copy link
Collaborator Author

285fddd commented

I've tested on a few openstack-swift SAIO setups with 1.3.0 and 1.4.1 versions and same issue using cyberduck 4.1 . Below is the cyberduck log against this temporary SAIO setup. One should be able to replicate on a VM by deploying an openstack-swift 1.41 quickly with https://github.com/btorch/swift-saio.sh.

GET /auth/v1.0 HTTP/1.1
x-auth-user: swiftops:swiftops
x-auth-key: swiftops
Host: 184.106.119.65:443
Connection: Keep-Alive
User-Agent: Cyberduck/4.1 (Mac OS X/10.6.7) (i386)
HTTP/1.1 200 OK
X-Storage-Url: https://184.106.119.65:443/v1/AUTH_a72742e2-15ac-4084-8ea7-ce67b2c43bfb
X-Storage-Token: AUTH_tk290005f8bae441bb83dc3b65b060fdd0
X-Auth-Token: AUTH_tk290005f8bae441bb83dc3b65b060fdd0
X-Trans-Id: txc2459d0ca8844c7486320b41e57ba8a2
Content-Length: 117
Date: Tue, 19 Jul 2011 14:49:25 GMT
Connection: keep-alive

GET /v1/AUTH_a72742e2-15ac-4084-8ea7-ce67b2c43bfb/auth?format=xml&prefix=v1.0%2F&delimiter=%2F HTTP/1.1
X-Auth-Token: AUTH_tk290005f8bae441bb83dc3b65b060fdd0
Host: 184.106.119.65:443
Connection: Keep-Alive
User-Agent: Cyberduck/4.1 (Mac OS X/10.6.7) (i386)
HTTP/1.1 404 Not Found
Content-Length: 52
Content-Type: text/html; charset=UTF-8
X-Trans-Id: tx71456f0ce290434a821fba3c3a7d4097
Date: Tue, 19 Jul 2011 14:49:26 GMT
Connection: keep-alive

GET /v1/AUTH_a72742e2-15ac-4084-8ea7-ce67b2c43bfb?limit=10000&format=xml HTTP/1.1
X-Auth-Token: AUTH_tk290005f8bae441bb83dc3b65b060fdd0
Host: 184.106.119.65:443
Connection: Keep-Alive
User-Agent: Cyberduck/4.1 (Mac OS X/10.6.7) (i386)
HTTP/1.1 200 OK
X-Account-Object-Count: 0
X-Account-Bytes-Used: 0
X-Account-Container-Count: 0
Accept-Ranges: bytes
Content-Length: 108
Content-Type: application/xml; charset=utf-8
X-Trans-Id: tx96e8535f80824f13b195d42f2c4872cf
Date: Tue, 19 Jul 2011 14:49:34 GMT
Connection: keep-alive

GET /v1/AUTH_a72742e2-15ac-4084-8ea7-ce67b2c43bfb/auth?format=xml&prefix=v1.0%2F&delimiter=%2F HTTP/1.1
X-Auth-Token: AUTH_tk290005f8bae441bb83dc3b65b060fdd0
Host: 184.106.119.65:443
Connection: Keep-Alive
User-Agent: Cyberduck/4.1 (Mac OS X/10.6.7) (i386)
HTTP/1.1 404 Not Found
Content-Length: 52
Content-Type: text/html; charset=UTF-8
X-Trans-Id: tx3e43786a31644a63ac761dc7f9dd7005
Date: Tue, 19 Jul 2011 14:49:35 GMT
Connection: keep-alive
HEAD /v1/AUTH_a72742e2-15ac-4084-8ea7-ce67b2c43bfb/folder1 HTTP/1.1
X-Auth-Token: AUTH_tk290005f8bae441bb83dc3b65b060fdd0
Host: 184.106.119.65:443
Connection: Keep-Alive
User-Agent: Cyberduck/4.1 (Mac OS X/10.6.7) (i386)
HTTP/1.1 404 Not Found
Content-Length: 0
Content-Type: text/html; charset=UTF-8
X-Trans-Id: txc8f5acf5547a41358c272dae91cf699b
Date: Tue, 19 Jul 2011 14:49:50 GMT
Connection: keep-alive

PUT /v1/AUTH_a72742e2-15ac-4084-8ea7-ce67b2c43bfb/folder1 HTTP/1.1
X-Auth-Token: AUTH_tk290005f8bae441bb83dc3b65b060fdd0
Content-Length: 0
Host: 184.106.119.65:443
Connection: Keep-Alive
User-Agent: Cyberduck/4.1 (Mac OS X/10.6.7) (i386)
HTTP/1.1 201 Created
Content-Length: 18
Content-Type: text/html; charset=UTF-8
X-Trans-Id: tx2c20298572da47bd9fbb050340244ebd
Date: Tue, 19 Jul 2011 14:49:50 GMT
Connection: keep-alive

PUT /v1/AUTH_a72742e2-15ac-4084-8ea7-ce67b2c43bfb/folder1/subfolder1 HTTP/1.1
X-Auth-Token: AUTH_tk290005f8bae441bb83dc3b65b060fdd0
Content-Length: 0
Content-Type: application/directory
Host: 184.106.119.65:443
Connection: Keep-Alive
User-Agent: Cyberduck/4.1 (Mac OS X/10.6.7) (i386)
HTTP/1.1 201 Created
Content-Length: 18
Content-Type: text/html; charset=UTF-8
Etag: d41d8cd98f00b204e9800998ecf8427e
Last-Modified: Tue, 19 Jul 2011 14:50:01 GMT
X-Trans-Id: tx90f71ee7dfe74de9951401e75af213aa
Date: Tue, 19 Jul 2011 14:50:05 GMT
Connection: keep-alive

GET /v1/AUTH_a72742e2-15ac-4084-8ea7-ce67b2c43bfb/folder1?format=xml&prefix=&delimiter=%2F HTTP/1.1
X-Auth-Token: AUTH_tk290005f8bae441bb83dc3b65b060fdd0
Host: 184.106.119.65:443
Connection: Keep-Alive
User-Agent: Cyberduck/4.1 (Mac OS X/10.6.7) (i386)
HTTP/1.1 200 OK
X-Container-Object-Count: 1
X-Container-Bytes-Used: 0
Accept-Ranges: bytes
Content-Length: 285
Content-Type: application/xml; charset=utf-8
X-Trans-Id: tx22d023d553e44c95878c22eaa6ff4a39
Date: Tue, 19 Jul 2011 14:50:09 GMT
Connection: keep-alive

GET /v1/AUTH_a72742e2-15ac-4084-8ea7-ce67b2c43bfb/folder1?format=xml&prefix=&delimiter=%2F HTTP/1.1
X-Auth-Token: AUTH_tk290005f8bae441bb83dc3b65b060fdd0
Host: 184.106.119.65:443
Connection: Keep-Alive
User-Agent: Cyberduck/4.1 (Mac OS X/10.6.7) (i386)
HTTP/1.1 200 OK
X-Container-Object-Count: 1
X-Container-Bytes-Used: 0
Accept-Ranges: bytes
Content-Length: 285
Content-Type: application/xml; charset=utf-8
X-Trans-Id: tx69fc6e3a8fcd46479ff0ef536850f8ba
Date: Tue, 19 Jul 2011 14:50:09 GMT
Connection: keep-alive

GET /v1/AUTH_a72742e2-15ac-4084-8ea7-ce67b2c43bfb/folder1?format=xml&prefix=&delimiter=%2F HTTP/1.1
X-Auth-Token: AUTH_tk290005f8bae441bb83dc3b65b060fdd0
Host: 184.106.119.65:443
Connection: Keep-Alive
User-Agent: Cyberduck/4.1 (Mac OS X/10.6.7) (i386)
HTTP/1.1 200 OK
X-Container-Object-Count: 1
X-Container-Bytes-Used: 0
Accept-Ranges: bytes
Content-Length: 285
Content-Type: application/xml; charset=utf-8
X-Trans-Id: txd0a1ee5ad3834948aa3dc155e241894f
Date: Tue, 19 Jul 2011 14:50:09 GMT
Connection: keep-alive

GET /v1/AUTH_a72742e2-15ac-4084-8ea7-ce67b2c43bfb/folder1?format=xml&prefix=&delimiter=%2F HTTP/1.1
X-Auth-Token: AUTH_tk290005f8bae441bb83dc3b65b060fdd0
Host: 184.106.119.65:443
Connection: Keep-Alive
User-Agent: Cyberduck/4.1 (Mac OS X/10.6.7) (i386)
HTTP/1.1 200 OK
X-Container-Object-Count: 1
X-Container-Bytes-Used: 0
Accept-Ranges: bytes
Content-Length: 285
Content-Type: application/xml; charset=utf-8
X-Trans-Id: tx2bbc4bd92c1b4da299bbb220b21aa40f
Date: Tue, 19 Jul 2011 14:50:10 GMT
Connection: keep-alive

GET /v1/AUTH_a72742e2-15ac-4084-8ea7-ce67b2c43bfb/folder1?format=xml&prefix=&delimiter=%2F HTTP/1.1
X-Auth-Token: AUTH_tk290005f8bae441bb83dc3b65b060fdd0
Host: 184.106.119.65:443
Connection: Keep-Alive
User-Agent: Cyberduck/4.1 (Mac OS X/10.6.7) (i386)
HTTP/1.1 200 OK
X-Container-Object-Count: 1
X-Container-Bytes-Used: 0
Accept-Ranges: bytes
Content-Length: 285
Content-Type: application/xml; charset=utf-8
X-Trans-Id: tx82289435f9ee4aaea52dd3d140769a77
Date: Tue, 19 Jul 2011 14:50:10 GMT
Connection: keep-alive

marcelo

@cyberduck
Copy link
Collaborator Author

285fddd commented

Using curl

{{{
curl -ik -H "X-Auth-Token: AUTH_tk290005f8bae441bb83dc3b65b060fdd0" -X GET "https://184.106.119.65:443/v1/AUTH_a72742e2-15ac-4084-8ea7-ce67b2c43bfb/folder1?format=xml&prefix=&delimiter=%2F"

HTTP/1.1 200 OK
X-Container-Object-Count: 1
X-Container-Bytes-Used: 0
Accept-Ranges: bytes
Content-Length: 285
Content-Type: application/xml; charset=utf-8
X-Trans-Id: tx4fa722f5d6fc4e7986eedd30f51c5779
Date: Tue, 19 Jul 2011 15:08:22 GMT

subfolder1d41d8cd98f00b204e9800998ecf8427e0<content_type>application/directory</content_type><last_modified>2011-07-19T14:50:01.565790</last_modified>
}}

@cyberduck
Copy link
Collaborator Author

@dkocher commented

There is an invalid prefix v1.0 prepended. Do you have a invalid Path specified in the bookmark?

@cyberduck
Copy link
Collaborator Author

285fddd commented

Are you referring to the 3rd and 4th GET requests ? I'm not sure why cyberduck tries to do a GET on an account storage URL appending /auth and using prefix=v1.0 ...

On the GUI, I do have the Path set to /auth/v1.0 so that could be it ... I'll give it another try.

But, in order for authentication to work with openstack-swift & swauth, the Path needs to be set to /auth/v1.0 which I also do via the hidden configuration option.

ref:
http://trac.cyberduck.ch/wiki/help/en/howto/openstack
http://trac.cyberduck.ch/wiki/help/en/howto/preferences#Hiddenconfigurationoptions

@cyberduck
Copy link
Collaborator Author

285fddd commented

The loop still occurs after taking out the /auth/v1.0 from the Path on the GUI.
I am also attaching a screenshot


GET /auth/v1.0 HTTP/1.1
x-auth-user: swiftops:swiftops
x-auth-key: swiftops
Host: 184.106.119.65:443
Connection: Keep-Alive
User-Agent: Cyberduck/4.1 (Mac OS X/10.6.7) (i386)
HTTP/1.1 200 OK
X-Storage-Url: https://184.106.119.65:443/v1/AUTH_7c266832-7d48-4f70-b8ab-eff0995f2b63
X-Storage-Token: AUTH_tk22451db1c4ec4de291918d687ce4507d
X-Auth-Token: AUTH_tk22451db1c4ec4de291918d687ce4507d
X-Trans-Id: txba744bd9fce741fa83c4b76ec56df138
Content-Length: 117
Date: Tue, 19 Jul 2011 22:43:15 GMT
Connection: keep-alive

GET /v1/AUTH_7c266832-7d48-4f70-b8ab-eff0995f2b63?limit=10000&format=xml HTTP/1.1
X-Auth-Token: AUTH_tk22451db1c4ec4de291918d687ce4507d
Host: 184.106.119.65:443
Connection: Keep-Alive
User-Agent: Cyberduck/4.1 (Mac OS X/10.6.7) (i386)
HTTP/1.1 200 OK
X-Account-Object-Count: 0
X-Account-Bytes-Used: 0
X-Account-Container-Count: 0
Accept-Ranges: bytes
Content-Length: 108
Content-Type: application/xml; charset=utf-8
X-Trans-Id: tx10dd94a1e6d74c97a066cff6b332b704
Date: Tue, 19 Jul 2011 22:43:15 GMT
Connection: keep-alive

HEAD /v1/AUTH_7c266832-7d48-4f70-b8ab-eff0995f2b63/folder1 HTTP/1.1
X-Auth-Token: AUTH_tk22451db1c4ec4de291918d687ce4507d
Host: 184.106.119.65:443
Connection: Keep-Alive
User-Agent: Cyberduck/4.1 (Mac OS X/10.6.7) (i386)
HTTP/1.1 404 Not Found
Content-Length: 0
Content-Type: text/html; charset=UTF-8
X-Trans-Id: tx84fbda7abe784149b94dc636521d98c2
Date: Tue, 19 Jul 2011 22:43:32 GMT
Connection: keep-alive

PUT /v1/AUTH_7c266832-7d48-4f70-b8ab-eff0995f2b63/folder1 HTTP/1.1
X-Auth-Token: AUTH_tk22451db1c4ec4de291918d687ce4507d
Content-Length: 0
Host: 184.106.119.65:443
Connection: Keep-Alive
User-Agent: Cyberduck/4.1 (Mac OS X/10.6.7) (i386)
HTTP/1.1 201 Created
Content-Length: 18
Content-Type: text/html; charset=UTF-8
X-Trans-Id: txec45ec740f9e4b428cb9383beaa123d3
Date: Tue, 19 Jul 2011 22:43:33 GMT
Connection: keep-alive

PUT /v1/AUTH_7c266832-7d48-4f70-b8ab-eff0995f2b63/folder1/subfolder1 HTTP/1.1
X-Auth-Token: AUTH_tk22451db1c4ec4de291918d687ce4507d
Content-Length: 0
Host: 184.106.119.65:443
Connection: Keep-Alive
User-Agent: Cyberduck/4.1 (Mac OS X/10.6.7) (i386)
HTTP/1.1 201 Created
Content-Length: 18
Content-Type: text/html; charset=UTF-8
Etag: d41d8cd98f00b204e9800998ecf8427e
Last-Modified: Tue, 19 Jul 2011 22:43:41 GMT
X-Trans-Id: txc0c7527b0d6749e4a66362962b3c5652
Date: Tue, 19 Jul 2011 22:43:41 GMT
Connection: keep-alive

GET /v1/AUTH_7c266832-7d48-4f70-b8ab-eff0995f2b63/folder1?format=xml&prefix=&delimiter=%2F HTTP/1.1
X-Auth-Token: AUTH_tk22451db1c4ec4de291918d687ce4507d
Host: 184.106.119.65:443
Connection: Keep-Alive
User-Agent: Cyberduck/4.1 (Mac OS X/10.6.7) (i386)
HTTP/1.1 200 OK
X-Container-Object-Count: 1
X-Container-Bytes-Used: 0
Accept-Ranges: bytes
Content-Length: 288
Content-Type: application/xml; charset=utf-8
X-Trans-Id: tx2acb163ded7d451095a4d5f6c1af83d8
Date: Tue, 19 Jul 2011 22:43:42 GMT
Connection: keep-alive

GET /v1/AUTH_7c266832-7d48-4f70-b8ab-eff0995f2b63/folder1?format=xml&prefix=&delimiter=%2F HTTP/1.1
X-Auth-Token: AUTH_tk22451db1c4ec4de291918d687ce4507d
Host: 184.106.119.65:443
Connection: Keep-Alive
User-Agent: Cyberduck/4.1 (Mac OS X/10.6.7) (i386)
HTTP/1.1 200 OK
X-Container-Object-Count: 1
X-Container-Bytes-Used: 0
Accept-Ranges: bytes
Content-Length: 288
Content-Type: application/xml; charset=utf-8
X-Trans-Id: txfe039045ce55486f8882e5d67933d748
Date: Tue, 19 Jul 2011 22:43:42 GMT
Connection: keep-alive

GET /v1/AUTH_7c266832-7d48-4f70-b8ab-eff0995f2b63/folder1?format=xml&prefix=&delimiter=%2F HTTP/1.1
X-Auth-Token: AUTH_tk22451db1c4ec4de291918d687ce4507d
Host: 184.106.119.65:443
Connection: Keep-Alive
User-Agent: Cyberduck/4.1 (Mac OS X/10.6.7) (i386)
HTTP/1.1 200 OK
X-Container-Object-Count: 1
X-Container-Bytes-Used: 0
Accept-Ranges: bytes
Content-Length: 288
Content-Type: application/xml; charset=utf-8
X-Trans-Id: txd0868e19285a4ab7baef9d9486960419
Date: Tue, 19 Jul 2011 22:43:42 GMT
Connection: keep-alive

GET /v1/AUTH_7c266832-7d48-4f70-b8ab-eff0995f2b63/folder1?format=xml&prefix=&delimiter=%2F HTTP/1.1
X-Auth-Token: AUTH_tk22451db1c4ec4de291918d687ce4507d
Host: 184.106.119.65:443
Connection: Keep-Alive
User-Agent: Cyberduck/4.1 (Mac OS X/10.6.7) (i386)
HTTP/1.1 200 OK
X-Container-Object-Count: 1
X-Container-Bytes-Used: 0
Accept-Ranges: bytes
Content-Length: 288
Content-Type: application/xml; charset=utf-8
X-Trans-Id: txf8c61eefb20341579152e057a0e37305
Date: Tue, 19 Jul 2011 22:43:42 GMT
Connection: keep-alive

GET /v1/AUTH_7c266832-7d48-4f70-b8ab-eff0995f2b63/folder1?format=xml&prefix=&delimiter=%2F HTTP/1.1
X-Auth-Token: AUTH_tk22451db1c4ec4de291918d687ce4507d
Host: 184.106.119.65:443
Connection: Keep-Alive
User-Agent: Cyberduck/4.1 (Mac OS X/10.6.7) (i386)
HTTP/1.1 200 OK
X-Container-Object-Count: 1
X-Container-Bytes-Used: 0
Accept-Ranges: bytes
Content-Length: 288
Content-Type: application/xml; charset=utf-8
X-Trans-Id: tx92207668db8f42078423a4aa983ee7f0
Date: Tue, 19 Jul 2011 22:43:43 GMT
Connection: keep-alive

GET /v1/AUTH_7c266832-7d48-4f70-b8ab-eff0995f2b63/folder1?format=xml&prefix=&delimiter=%2F HTTP/1.1
X-Auth-Token: AUTH_tk22451db1c4ec4de291918d687ce4507d
Host: 184.106.119.65:443
Connection: Keep-Alive
User-Agent: Cyberduck/4.1 (Mac OS X/10.6.7) (i386)
HTTP/1.1 200 OK
X-Container-Object-Count: 1
X-Container-Bytes-Used: 0
Accept-Ranges: bytes
Content-Length: 288
Content-Type: application/xml; charset=utf-8
X-Trans-Id: tx818f5e46b5b4476ba60b674149073bc5
Date: Tue, 19 Jul 2011 22:43:43 GMT
Connection: keep-alive

GET /v1/AUTH_7c266832-7d48-4f70-b8ab-eff0995f2b63/folder1?format=xml&prefix=&delimiter=%2F HTTP/1.1
X-Auth-Token: AUTH_tk22451db1c4ec4de291918d687ce4507d
Host: 184.106.119.65:443
Connection: Keep-Alive
User-Agent: Cyberduck/4.1 (Mac OS X/10.6.7) (i386)
HTTP/1.1 200 OK
X-Container-Object-Count: 1
X-Container-Bytes-Used: 0
Accept-Ranges: bytes
Content-Length: 288
Content-Type: application/xml; charset=utf-8
X-Trans-Id: tx8bb4bca2efa8476e9235be647f419c2d
Date: Tue, 19 Jul 2011 22:43:43 GMT
Connection: keep-alive

GET /v1/AUTH_7c266832-7d48-4f70-b8ab-eff0995f2b63/folder1?format=xml&prefix=&delimiter=%2F HTTP/1.1
X-Auth-Token: AUTH_tk22451db1c4ec4de291918d687ce4507d
Host: 184.106.119.65:443
Connection: Keep-Alive
User-Agent: Cyberduck/4.1 (Mac OS X/10.6.7) (i386)
HTTP/1.1 200 OK
X-Container-Object-Count: 1
X-Container-Bytes-Used: 0
Accept-Ranges: bytes
Content-Length: 288
Content-Type: application/xml; charset=utf-8
X-Trans-Id: tx2c635b2dc1f94687b58d0872741b4345
Date: Tue, 19 Jul 2011 22:43:44 GMT
Connection: keep-alive

@cyberduck
Copy link
Collaborator Author

@dkocher commented

#6095 closed as duplicate.

@cyberduck
Copy link
Collaborator Author

285fddd commented

Replying to [comment:7 dkocher]:

#6095 closed as duplicate.

I saw that you askedfor a test installation on this closed duplicate ticket... do you still need it ? I can give you temporary access to the SAIO VM I used on the previous post. Just let me know how long do you need up,

@cyberduck
Copy link
Collaborator Author

@dkocher commented

Replying to [comment:8 btorch]:

Replying to [comment:7 dkocher]:

#6095 closed as duplicate.

I saw that you askedfor a test installation on this closed duplicate ticket... do you still need it ? I can give you temporary access to the SAIO VM I used on the previous post. Just let me know how long do you need up,

Yes, there is still a need for that. Please contact me at [mailto:feedback@cyberduck.ch].

@cyberduck
Copy link
Collaborator Author

@dkocher commented

In 93fc17f.

@iterate-ch iterate-ch locked as resolved and limited conversation to collaborators Nov 26, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug fixed openstack OpenStack Swift Protocol Implementation
Projects
None yet
Development

No branches or pull requests

2 participants