swift proxy server problem

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

swift proxy server problem

J.O'Loughlin@surrey.ac.uk
Hi All,

I'm trying to set up swift and am having an issue with getting the proxy service to start, after a
swift-init proxy start

the proxy does not start and I see this in the logs:

Oct 20 16:12:14 storage05 proxy-server UNCAUGHT EXCEPTION#012Traceback (most recent call last):#012  File "/usr/bin/swift-proxy-server", line 22, in <module>#012    run_wsgi(conf_file, 'proxy-server', default_port=8080, **options)#012  File "/usr/lib/pymodules/python2.6/swift/common/wsgi.py", line 126, in run_wsgi#012    app = loadapp('config:%s' % conf_file, global_conf={'log_name': log_name})#012  File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 204, in loadapp#012    return loadobj(APP, uri, name=name, **kw)#012  File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 224, in loadobj#012    global_conf=global_conf)#012  File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 248, in loadcontext#012    global_conf=global_conf)#012  File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 278, in _loadconfig#012    return loader.get_context(object_type, name, global_conf)#012  File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 405, in get_context#012    global_additions=global_additions)#012  File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 503, in _pipeline_app_context#012    for name in pipeline[:-1]]#012  File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 409, in get_context#012    section)#012  File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 431, in _context_from_use#012    object_type, name=use, global_conf=global_conf)#012  File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 361, in get_context#012    global_conf=global_conf)#012  File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 248, in loadcontext#012    global_conf=global_conf)#012  File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 285, in _loadegg#012    return loader.get_context(object_type, name, global_conf)#012  File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 561, in get_context#012    object_type, name=name)#012  File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 587,


Any help appreciated.

Regards

John O'Loughlin
FEPS IT, Service Delivery Team Leader

Reply | Threaded
Open this post in threaded view
|

swift proxy server problem

andi abes
on quick look, it seems that your proxy past config is a bit off.
would be useful to include your proxy config file, as well as version info
(cactus / diablo, milestone.. etc)

As a side note - rather than try to install from scratch manually, look for
the some of existing deployment scripts out there. There are some using
Chef, some puppet and some more comprehensive.

a.

On Thu, Oct 20, 2011 at 11:14 AM, <J.O'Loughlin at surrey.ac.uk> wrote:

> Hi All,
>
> I'm trying to set up swift and am having an issue with getting the proxy
> service to start, after a
> swift-init proxy start
>
> the proxy does not start and I see this in the logs:
>
> Oct 20 16:12:14 storage05 proxy-server UNCAUGHT EXCEPTION#012Traceback
> (most recent call last):#012  File "/usr/bin/swift-proxy-server", line 22,
> in <module>#012    run_wsgi(conf_file, 'proxy-server', default_port=8080,
> **options)#012  File "/usr/lib/pymodules/python2.6/swift/common/wsgi.py",
> line 126, in run_wsgi#012    app = loadapp('config:%s' % conf_file,
> global_conf={'log_name': log_name})#012  File
> "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 204, in
> loadapp#012    return loadobj(APP, uri, name=name, **kw)#012  File
> "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 224, in
> loadobj#012    global_conf=global_conf)#012  File
> "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 248, in
> loadcontext#012    global_conf=global_conf)#012  File
> "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 278, in
> _loadconfig#012    return loader.get_context(object_type, name,
> global_conf)#012  File "/usr/lib/pymodules/python2.6/paste/deploy/l
>  oadwsgi.py", line 405, in get_context#012
>  global_additions=global_additions)#012  File
> "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 503, in
> _pipeline_app_context#012    for name in pipeline[:-1]]#012  File
> "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 409, in
> get_context#012    section)#012  File
> "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 431, in
> _context_from_use#012    object_type, name=use, global_conf=global_conf)#012
>  File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 361, in
> get_context#012    global_conf=global_conf)#012  File
> "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 248, in
> loadcontext#012    global_conf=global_conf)#012  File
> "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 285, in
> _loadegg#012    return loader.get_context(object_type, name,
> global_conf)#012  File
> "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 561, in
> get_context#012    object_type
>  , name=name)#012  File
> "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 587,
>
>
> Any help appreciated.
>
> Regards
>
> John O'Loughlin
> FEPS IT, Service Delivery Team Leader
> _______________________________________________
> 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/20111020/98758011/attachment-0001.html>

Reply | Threaded
Open this post in threaded view
|

swift proxy server problem

Sergio Ariel de la Campa Saiz
In reply to this post by J.O'Loughlin@surrey.ac.uk
I suggest you to send the configuration files.


Sergio Ariel de la Campa Saiz
Ingeniero de Infraestructuras /
Infrastucture Engineer /
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

?

?

?







-----Mensaje original-----
De: openstack-operators-bounces at lists.openstack.org [mailto:openstack-operators-bounces at lists.openstack.org] En nombre de J.O'Loughlin at surrey.ac.uk
Enviado el: jueves, 20 de octubre de 2011 17:14
Para: openstack-operators at lists.openstack.org
Asunto: [Openstack-operators] swift proxy server problem

Hi All,

I'm trying to set up swift and am having an issue with getting the proxy service to start, after a swift-init proxy start

the proxy does not start and I see this in the logs:

Oct 20 16:12:14 storage05 proxy-server UNCAUGHT EXCEPTION#012Traceback (most recent call last):#012  File "/usr/bin/swift-proxy-server", line 22, in <module>#012    run_wsgi(conf_file, 'proxy-server', default_port=8080, **options)#012  File "/usr/lib/pymodules/python2.6/swift/common/wsgi.py", line 126, in run_wsgi#012    app = loadapp('config:%s' % conf_file, global_conf={'log_name': log_name})#012  File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 204, in loadapp#012    return loadobj(APP, uri, name=name, **kw)#012  File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 224, in loadobj#012    global_conf=global_conf)#012  File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 248, in loadcontext#012    global_conf=global_conf)#012  File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 278, in _loadconfig#012    return loader.get_context(object_type, name, global_conf)#012  File "/usr/lib/pymodules/python2.6/paste/deploy/l
 oadwsgi.py", line 405, in get_context#012    global_additions=global_additions)#012  File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 503, in _pipeline_app_context#012    for name in pipeline[:-1]]#012  File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 409, in get_context#012    section)#012  File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 431, in _context_from_use#012    object_type, name=use, global_conf=global_conf)#012  File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 361, in get_context#012    global_conf=global_conf)#012  File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 248, in loadcontext#012    global_conf=global_conf)#012  File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 285, in _loadegg#012    return loader.get_context(object_type, name, global_conf)#012  File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 561, in get_context#012    object_type
 , name=name)#012  File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 587,


Any help appreciated.

Regards

John O'Loughlin
FEPS IT, Service Delivery Team Leader
_______________________________________________
Openstack-operators mailing list
Openstack-operators at lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators

______________________
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.

______________________