[Openstack-operators] swift-add-user problem!!!

Sergio Ariel de la Campa Saiz sacampa at gmv.com
Tue Sep 20 12:26:43 UTC 2011


Hi:
I send this mail to post the solution to the problem I had.
It was an error in the configuration file. I had two [filter:swauth]
sections so, there were problems.

________________________________
[cid:image004.jpg at 01CC77A1.51AC7B40]




Sergio Ariel de la Campa Saiz
GMV-SES Infraestructura /
GMV-SES Infrastructure




GMV
Isaac Newton, 11
P.T.M. Tres Cantos
E-28760 Madrid
Tel. +34 91 807 21 00
Fax +34 91 807 21 99
www.gmv.com



De: Sergio Ariel de la Campa Saiz
Enviado el: martes, 20 de septiembre de 2011 9:39
Para: 'openstack-operators at lists.openstack.org'
Asunto: swift-add-user problem!!!

Hi:

I can´t add an user account. I have read a lot in internet but I have resolve my problem. This is what I get:

root at last-ph3-v15:~# swauth-prep -K swauthkey -A https://10.0.0.100:8080/auth/
root at last-ph3-v15:~# swauth-add-user -A https://10.0.0.100:8080/auth/ -K swauthkey -a system root testpass
Account creation failed: 500 Server Error
User creation failed: 500 Server Error

This is the proxy-server.conf file:

[DEFAULT]
cert_file = /etc/swift/cert.crt
key_file = /etc/swift/cert.key
bind_port = 8080
workers = 8
user = swift

[pipeline:main]
#pipeline = healthcheck cache tempauth proxy-server
pipeline = healthcheck cache swauth proxy-server

[app:proxy-server]
use = egg:swift#proxy
allow_account_management = true

#[filter:tempauth]
#use = egg:swift#tempauth
#user_system_root = testpass .admin https://10.0.0.100:8080/v1/AUTH_system

[filter:swauth]
use = egg:swauth#swauth
set log_name = swauth
super_admin_key = swauthkey


[filter:healthcheck]
use = egg:swift#healthcheck

[filter:cache]
use = egg:swift#memcache
memcache_servers = 10.0.0.100:11211

[filter:swauth]
default_swift_cluster = local#https://10.0.0.100:8080/v1



Thanks a lot!!!

________________________________
[cid:image003.jpg at 01CC77A1.4F691AF0]




Sergio Ariel de la Campa Saiz
GMV-SES Infraestructura /
GMV-SES Infrastructure




GMV
Isaac Newton, 11
P.T.M. Tres Cantos
E-28760 Madrid
Tel. +34 91 807 21 00
Fax +34 91 807 21 99
www.gmv.com<http://www.gmv.com>




______________________
This message including any attachments may contain confidential 
information, according to our Information Security Management System,
 and intended solely for a specific individual to whom they are addressed.
 Any unauthorised copy, disclosure or distribution of this message
 is strictly forbidden. If you have received this transmission in error,
 please notify the sender immediately and delete it.

______________________
Este mensaje, y en su caso, cualquier fichero anexo al mismo,
 puede contener informacion clasificada por su emisor como confidencial
 en el marco de su Sistema de Gestion de Seguridad de la 
Informacion siendo para uso exclusivo del destinatario, quedando 
prohibida su divulgacion copia o distribucion a terceros sin la 
autorizacion expresa del remitente. Si Vd. ha recibido este mensaje 
 erroneamente, se ruega lo notifique al remitente y proceda a su borrado. 
Gracias por su colaboracion.

______________________

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-operators/attachments/20110920/efe9d878/attachment-0002.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image003.jpg
Type: image/jpeg
Size: 3347 bytes
Desc: image003.jpg
URL: <http://lists.openstack.org/pipermail/openstack-operators/attachments/20110920/efe9d878/attachment-0004.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image004.jpg
Type: image/jpeg
Size: 3347 bytes
Desc: image004.jpg
URL: <http://lists.openstack.org/pipermail/openstack-operators/attachments/20110920/efe9d878/attachment-0005.jpg>


More information about the Openstack-operators mailing list