openstack team mailing list archive
-
openstack team
-
Mailing list archive
-
Message #24535
Re: Unable to start swift-proxy
Try removing "swift-proxy" from line 11 and see if that works. Perhaps
you meant to reference "catch_errors" there instead (that filter does
not appear to be used)?
On Wed, Jun 19, 2013 at 8:27 AM, Jobin Raju George <jobin.rv@xxxxxxxxx> wrote:
> n the documentation is has been asked to start the proxy-server in swift
> using service proxy-server start, which I believe should be service
> swift-proxy start, since the former one gives an unknown service error.
>
> However, even if I try starting using the latter command I get a start: Job
> failed to start error and if I start using /usr/bin/swift-proxy-server
> /etc/swift/proxy-server.conf I get an error message as follows:
>
> Traceback (most recent call last):
> File "/usr/bin/swift-proxy-server", line 22, in <module>
> run_wsgi(conf_file, 'proxy-server', default_port=8080, **options)
> File "/usr/lib/python2.7/dist-packages/swift/common/wsgi.py", line 119, in
> run_wsgi
> init_request_processor(conf_file, app_section, *args, **kwargs)
> File "/usr/lib/python2.7/dist-packages/swift/common/wsgi.py", line 246, in
> init_request_processor
> app = loadapp('config:%s' % conf_file, global_conf={'log_name':
> log_name})
> File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line
> 247, in loadapp
> return loadobj(APP, uri, name=name, **kw)
> File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line
> 271, in loadobj
> global_conf=global_conf)
> File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line
> 296, in loadcontext
> global_conf=global_conf)
> File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line
> 320, in _loadconfig
> return loader.get_context(object_type, name, global_conf)
> File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line
> 450, in get_context
> global_additions=global_additions)
> File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line
> 562, in _pipeline_app_context
> for name in pipeline[:-1]]
> File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line
> 408, in get_context
> object_type, name=name)
> File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line
> 587, in find_config_section
> self.filename))
> LookupError: No section 'swift-proxy' (prefixed by 'filter') found in config
> /etc/swift/proxy-server.conf
>
> My /etc/swift/proxy-server.conf is here.
>
> Thanks!
>
>
>
> --
>
> Thanks and regards,
>
> Jobin Raju George
>
> Third Year, Information Technology
>
> College of Engineering Pune
>
> Alternate e-mail: georgejr10.it@xxxxxxxxxx
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~openstack
> Post to : openstack@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~openstack
> More help : https://help.launchpad.net/ListHelp
>
References