Ask Your Question
0

Connection with Cyberduck

asked 2011-03-09 17:19:32 -0500

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 (https://127.0.0.1:8080/v1/AUTH_a25345...) 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

edit retag flag offensive close merge delete

2 answers

Sort by » oldest newest most voted
0

answered 2011-03-10 04:18:36 -0500

gholt gravatar image

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.

edit flag offensive delete link more
0

answered 2011-05-07 20:26:30 -0500

everett-toews gravatar image

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 (https://200.70.70.20:8080/v1/AUTH_f6f...) 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.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2011-03-09 17:19:32 -0500

Seen: 156 times

Last updated: May 07 '11