← Back to team overview

openstack team mailing list archive

Re: Swift / Keystone authentication

 

If you keystone log file is not set up correctly, keystone uses /var/log/syslog.

Mark


From: Openstack [mailto:openstack-bounces+mark.m.miller=hp.com@xxxxxxxxxxxxxxxxxxx] On Behalf Of CHABANI Mohamed El Hadi
Sent: Tuesday, June 25, 2013 8:30 AM
To: Remo Mattei
Cc: openstack@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Openstack] Swift / Keystone authentication

Remo Mattei : wich log file ? because in keystone.log there is nothing !

2013/6/25 Remo Mattei <remo@xxxxxxxxxx<mailto:remo@xxxxxxxxxx>>
Hi,
can you do a netstat  -ant and see what it says? Also I would check the logs, /var/log and look for any errors? If you are using Redhat base (Fedora, CentOS etc, you may have to open up the iptables since by default it does not have those ports open).

My 2 cents.

Remo

On Jun 25, 2013, at 07:48 , CHABANI Mohamed El Hadi <chabani.mohamed.hadi@xxxxxxxxx<mailto:chabani.mohamed.hadi@xxxxxxxxx>> wrote:

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 написал:
Hi,
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 http://127.0.0.1:8888/v2.0 -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=http://127.0.0.1:8888/v2.0 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


!DSPAM:2,51c9add5327235423259852! _______________________________________________

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

!DSPAM:2,51c9add5327235423259852!



References