← Back to team overview

openstack team mailing list archive

Re: Swift / Keystone authentication


The keystone service will open these 2 ports. They are defined in file /etc/keystone/keystone.conf

From: Openstack [mailto:openstack-bounces+mark.m.miller=hp.com@xxxxxxxxxxxxxxxxxxx] On Behalf Of CHABANI Mohamed El Hadi
Sent: Tuesday, June 25, 2013 7:48 AM
To: Виль Суркин
Cc: openstack@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Openstack] Swift / Keystone authentication

When i tried with port : 5000 and even 35357 i got : Authorization Failed: [Errno 111] Connection refused
These 2 ports are not open i guess, should i open them manually ? (the keystone service is start/running)

2013/6/25 Виль Суркин <vill.srk@xxxxxxxxx<mailto:vill.srk@xxxxxxxxx>>
You should authenticate in keystone service, not in swift-proxy.
Keystone's Public API usually binds to TCP port 5000.

Виль Суркин

вторник, 25 июня 2013 г. в 18:38, CHABANI Mohamed El Hadi написал:
I'm trying to install Swift from this Guide<http://docs.openstack.org/trunk/openstack-object-storage/admin/content/ch_installing-openstack-object-storage.html>, and for the authentication service (Keystone) i'm a bit lost, should i install Keystone as a full-fledged service with the MySql database ? i want just to use Swift for test purpose (but not SAIO version), so idon't need a lot of bandwidth or storage space, i finished the nodes configuration and when verifying the installation with : swift -V 2.0 -A -U swift:swift -K swift stat
i get : Unauthorised. Check username, password and tenant name/id
Or with : keystone --os-username=swift --os-password=swift --os-auth-url= token-get      i get :

This server could not verify that you are authorized to access the document you requested. Either you supplied the wrong credentials (e.g., bad password), or your browser does not understand how to supply the credentials required.

Any sugestions ? here my proxy-server.conf<http://pastebin.ubuntu.com/5797979/>.

Thank you

Mailing list: https://launchpad.net/~openstack
Post to : openstack@xxxxxxxxxxxxxxxxxxx<mailto:openstack@xxxxxxxxxxxxxxxxxxx>
Unsubscribe : https://launchpad.net/~openstack
More help : https://help.launchpad.net/ListHelp

Follow ups