← Back to team overview

openstack team mailing list archive

Re: Swift Object Storage authentication

 

During the installation of Swift, i didn't touch any Keystone
configuration, so do you think that i should install Keystone separately
according to :
http://docs.openstack.org/grizzly/openstack-compute/install/apt/content/install-keystone.html?
and configure Swift to work with it ?


2013/6/19 Kuo Hugo <tonytkdk@xxxxxxxxx>

> Hi CHABANI,
>
> Currently the problem is on Keystone instead of Swift. (Sorry for missing
> your proxy conf)
>
> Depends on the returned msg, it's unauthorized by keystone.
> Please make sure there's correct username/password/role/tenant setup.
> I'd suggestion that you can use keystone API to retrieve the
> authentication information before test with swift client.
>
> Cheers
> Hugo
>
> +Hugo Kuo+
> hugo@xxxxxxxxxxxxxx
> tonytkdk@xxxxxxxxx
> +886 935004793
>
>
> 2013/6/19 CHABANI Mohamed El Hadi <chabani.mohamed.hadi@xxxxxxxxx>
>
>> Hi Hugo,
>>
>> Here is my proxy-sever.conf http://paste.openstack.org/show/38944/ (i've
>> already attached a pic in the first mail :)  )
>>
>> Thanks
>>
>>
>> 2013/6/19 Kuo Hugo <tonytkdk@xxxxxxxxx>
>>
>>> Hi CHABANI ,
>>>
>>> Would you please show me the proxy-server.conf ?
>>>
>>> You can paste on http://paste.openstack.org/  or   gist.
>>>
>>> Cheers
>>>
>>>
>>> +Hugo Kuo+
>>> hugo@xxxxxxxxxxxxxx
>>> tonytkdk@xxxxxxxxx
>>> +886 935004793
>>>
>>>
>>> 2013/6/19 CHABANI Mohamed El Hadi <chabani.mohamed.hadi@xxxxxxxxx>
>>>
>>>> Hi all,
>>>>
>>>> I'm trying to install Swift Object Storage according
>>>> http://docs.openstack.org/grizzly/openstack-compute/install/apt/content/ch_installing-openstack-object-storage.html
>>>>
>>>> when i try to validate my installation with :
>>>>
>>>> *swift -V 2.0 -A http://127.0.0.1:5000/v2.0 -U swift:swift -K swift
>>>> stat*
>>>>
>>>> i get : "*Unauthorised. Check username, password and tenant name/id*"
>>>>
>>>>  i tried to use differents possibilities for user name and password
>>>> (admin, demo...) but nothing is working, the username and password should
>>>> be the same as in the proxy server no ? i don't know if i missed others
>>>> things i'm new in Swift.
>>>>
>>>> i attached here my proxy-server.conf for more details.
>>>>
>>>> Thanks for your help.
>>>>
>>>> _______________________________________________
>>>> Mailing list: https://launchpad.net/~openstack
>>>> Post to     : openstack@xxxxxxxxxxxxxxxxxxx
>>>> Unsubscribe : https://launchpad.net/~openstack
>>>> More help   : https://help.launchpad.net/ListHelp
>>>>
>>>>
>>>
>>
>

References