[Openstack] Swift / Keystone authentication

Jamie Lennox jlennox at redhat.com
Wed Jun 26 01:24:51 UTC 2013


On Tue, 2013-06-25 at 18:05 +0200, CHABANI Mohamed El Hadi wrote:
> my logs looks like that : http://pastebin.ubuntu.com/5798930/....i 
> didn't really understand a lot of things ! any suggestions please ?

So the logs are not really informative, they just show that swift is
crashing. Generally you should put swift into debug mode via the config
files so there is some information there. 

However given that this has happened today i would suggest that this is
being caused by the same bug that is being discussed in
http://lists.openstack.org/pipermail/openstack-dev/2013-June/010861.html
which is this bug: https://bugs.launchpad.net/keystone/+bug/1193112



> 2013/6/25 Miller, Mark M (EB SW Cloud - R&D - Corvallis)
> <mark.m.miller at hp.com>
>         Bottom line the keystone service attempting to start but is
>         running into a problem and cannot start. Check
>         the /var/log/syslog file. 
>         
>          
>         
>         From: CHABANI Mohamed El Hadi
>         [mailto:chabani.mohamed.hadi at gmail.com] 
>         Sent: Tuesday, June 25, 2013 8:46 AM
>         To: Miller, Mark M (EB SW Cloud - R&D - Corvallis)
>         Cc: Виль Суркин; openstack at lists.launchpad.net
>         
>         
>         Subject: Re: [Openstack] Swift / Keystone authentication
>          
>         
>         Yes you are right :) !
>         
>          When trying 'service keystone status' i get : keystone
>         stop/waiting......however when i do service keystone start, it
>         shows 'keystone start/running, process 32462' i'm missing
>         something here ? because i've installed keystone without
>         changing his database (no need). 
>         
>         
>          
>         
>         2013/6/25 Miller, Mark M (EB SW Cloud - R&D - Corvallis)
>         <mark.m.miller at hp.com>
>         
>         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 at lists.launchpad.net] On Behalf Of
>         CHABANI Mohamed El Hadi
>         Sent: Tuesday, June 25, 2013 7:48 AM
>         To: Виль Суркин
>         
>         
>         Cc: openstack at lists.launchpad.net
>         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 at gmail.com>
>         
>         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, 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.
>                 
>                  
>                 
>                 Thank you
>                 
>                  
>                 
>                  
>                 
>                 
>                 _______________________________________________
>                 
>                 
>                 Mailing list: https://launchpad.net/~openstack
>                 
>                 
>                 Post to : openstack at lists.launchpad.net
>                 
>                 
>                 Unsubscribe : https://launchpad.net/~openstack
>                 
>                 
>                 More help : https://help.launchpad.net/ListHelp
>                 
>                 
>          
>         
>         
>          
>         
>         
>          
>         
>         
> 
> 
> _______________________________________________
> Mailing list: https://launchpad.net/~openstack
> Post to     : openstack at lists.launchpad.net
> Unsubscribe : https://launchpad.net/~openstack
> More help   : https://help.launchpad.net/ListHelp







More information about the Openstack mailing list