[Openstack-operators] Problem with swift-auth-add-usercommand in the Auth-Server

Marcelo Martins btorch-os at zeroaccess.org
Thu May 5 14:48:16 UTC 2011


Hi Alberto,

Could you provide some more information about your setup.
- How does your object/account/container rings look like ?
- Can you provide an output of your auth-server.conf ?
    Both auth-server and proxy server run on this Openstack1 node I  
assume from the log below

- Are you sure that your proxy node can indeed connect to the account  
server ?

Any reason you are using version 1.2 (I assume you are using 1.2 since  
the old auth-server, devAuth, has been deprecated in favor of swauth)


Marcelo Martins
Openstack-swift
btorch-os at zeroaccess.org
https://github.com/btorch

“Knowledge is the wings on which our aspirations take flight and soar.  
When it comes to surfing and life if you know what to do you can do  
it. If you desire anything become educated about it and succeed. “




On May 5, 2011, at 9:02 AM, e.testingcloud wrote:

> Hi,
>
> we have a problem with the Auth-server, in the next lines we  
> describe the situation:
>
> We have two storage node in two differentes servers (OS: Ubuntu  
> 10.04.2 Server) and the Auth server in other machine (OS: Ubuntu  
> 10.04.2 Server)
>
> We configure the proxy node, the auth server node and the storage  
> node without problem, but when we execute the following command to  
> authorize an user, we receive the atach ERROR.
>
> sudo swift-auth-add-user -K beto -a system root testpass
>
> The error is in the /var/log/syslog file:
>
> May  5 15:38:15 OpenStack1 auth-server  
> validate_token('AUTH_tk03201438d45f49c2905454406efdb347', _, _) =  
> (86399.978063821793, '.super_admin', '.single_use',  
> '.reseller_admin') [0.01]
> May  5 15:38:15 OpenStack1 auth-server 127.0.0.1 - - [05/May/ 
> 2011:13:38:15 +0000] "GET /token/ 
> AUTH_tk03201438d45f49c2905454406efdb347 HTTP/1.0" 204 - "-" "-" - -  
> - - - - - - - "-" "127.0.0.1" "-" 0.0077
> May  5 15:38:15 OpenStack1 proxy-server ERROR with Account server  
> 192.168.8.106:6002/sdb1 re: Trying to PUT to /v1/ 
> AUTH_e15d5a524bf44a469f876c6f3be2955c: Connection refused (txn:  
> tx420de390-d209-4f0b-816a-f0062e2087cc)
> May  5 15:38:15 OpenStack1 proxy-server ERROR with Account server  
> 192.168.8.106:6012/sdb1 re: Trying to PUT to /v1/ 
> AUTH_e15d5a524bf44a469f876c6f3be2955c: Connection refused (txn:  
> tx420de390-d209-4f0b-816a-f0062e2087cc)
> May  5 15:38:15 OpenStack1 proxy-server ERROR with Account server  
> 192.168.8.106:6022/sdb1 re: Trying to PUT to /v1/ 
> AUTH_e15d5a524bf44a469f876c6f3be2955c: Connection refused (txn:  
> tx420de390-d209-4f0b-816a-f0062e2087cc)
> May  5 15:38:15 OpenStack1 proxy-server Account PUT returning 503  
> for [503, 503, 503] (txn: tx420de390-d209-4f0b-816a-f0062e2087cc)
> May  5 15:38:15 OpenStack1 auth-server ERROR attempting to create  
> account https://127.0.0.1:8080/v1/AUTH_e15d5a524bf44a469f876c6f3be2955c 
> : 503 Internal Server Error
> May  5 15:38:15 OpenStack1 auth-server FAILED create_user('system',  
> 'root', _, True, False) [0.04]
> May  5 15:38:15 OpenStack1 auth-server 127.0.0.1 - - [05/May/ 
> 2011:13:38:15 +0000] "PUT /account/system/root HTTP/1.0" 503 - "-"  
> "-" - - - - - - - - - "-" "127.0.0.1" "-" 0.0377
> May  5 15:38:15 OpenStack1 proxy-server - 127.0.0.1 05/May/ 
> 2011/13/38/15 PUT /v1/AUTH_e15d5a524bf44a469f876c6f3be2955c HTTP/1.0  
> 503 - - .super_admin%3A.single_use 
> %2CAUTH_tk03201438d45f49c2905454406efdb347 - - - tx420de390- 
> d209-4f0b-816a-f0062e2087cc - 0.0053
> Any idea about the problem ?
>
> Thanks in advance,
>
> Regards,
>
> Alberto.
>
>
> Este mensaje se dirige exclusivamente a su destinatario. Puede  
> consultar nuestra política de envío y recepción de correo  
> electrónico en el enlace situado más abajo.
> This message is intended exclusively for its addressee. We only send  
> and receive email on the basis of the terms set out at.
> http://www.tid.es/ES/PAGINAS/disclaimer.aspx
> _______________________________________________
> Openstack-operators mailing list
> Openstack-operators at lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack- 
> operators

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-operators/attachments/20110505/279b3295/attachment-0002.html>


More information about the Openstack-operators mailing list