Connection with Cyberduck

Asked by Fabrice

Hi,

i installed swift All IN ONE on a VM and added ssl connexion support.
The following 2 command are working:
curl -v -k -H 'X-Auth-Token: AUTH_tk6718a3c8d46c471c91aaac4b604441c4' https://127.0.0.1:8080/v1/AUTH_a253456928e44d6581b1224cb1991df2
 st -A https://127.0.0.1:11000/v1.0 -U test:tester -K testing upload myfiles bigfile2.tgz

When I open a Cyberduck connection with the server on port 8080, i have a login failed.

In the official administrator guide documentation, the password syntax has to be the following:
"Password: Enter the password for the account and user name entered above."

So for example, if i have the account (test), the user name (tester) and the password (testing), what is the correct syntax for the password ?

I cannot find any logs that can help me.

Thanks for your help.

Fabrice

Question information

Language:
English Edit question
Status:
Answered
For:
OpenStack Object Storage (swift) Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
gholt (gholt) said :
#1

I'm not 100% certain about CyberDuck, but I believe test:tester and testing is what you should use. I also believe the current CyberDuck won't work with Swauth but only DevAuth. You may need to check with the CyberDuck folks to be certain.

Revision history for this message
Everett Toews (everett-toews) said :
#2

Here's my experience using CyberDuck with Swift.

Users must be created using the public IP of the proxy node so when Swift returns a StorageURL to CyberDuck that URL has a public IP CyberDuck can access (as opposed to a private IP).

swauth-add-user -A https://200.70.70.20:8080/auth/ -K superpass -a testAccount testUser testPassword

Verify that the user was created okay

root@swift-p01:~# st -A https://200.70.70.20:8080/auth/v1.0/ -U testAccount:testUser -K testPassword -v stat
StorageURL: https://200.70.70.20:8080/v1/AUTH_f6f8d1f6-1c8c-4d0c-bbc4-b138af720637
Auth Token: AUTH_tk2ba49b18ec664ed69149738bd7cb537a
   Account: AUTH_f6f8d1f6-1c8c-4d0c-bbc4-b138af720637
Containers: 0
   Objects: 0
     Bytes: 0

Create a container for testing

st -A https://200.70.70.20:8080/auth/v1.0/ -U testAccount:testUser -K testPassword -v post test

On the Mac

Download and install CyberDuck

Open a Terminal and run the command

defaults write ch.sudo.cyberduck cf.authentication.context /auth/v1.0

This will invisibly append /auth/v1.0 to your Swift URL. Don’t expect to see it in the GUI anywhere.

Start CyberDuck

Click on Open Connection

Change the settings according to the screenshot http://i.imgur.com/cGf6O.png

This will start you out in your “test” container. Once you’re authenticated you can go up to / but you cannot upload files to /. To create a new container use Action > New Folder. Use Action > Upload and Download to put and get files.

Can you help with this problem?

Provide an answer of your own, or ask Fabrice for more information if necessary.

To post a message you must log in.