[Openstack] Swift-proxy server failed
Kota TSUYUZAKI
tsuyuzaki.kota at lab.ntt.co.jp
Tue Sep 15 01:51:15 UTC 2015
Hi Venkatesh,
Your setting seems wrong for authtoken middleware in proxy-server.conf.
The log shows proxy-server was trying to look up "auth_token" due to your pipeline setting (probably there is "auth_token" string in your pipeline) but the section name of the middleware setting would
be something like "authtoken" (no undersocre) which perhaps comes from recommendation example in master repository[1].
To use the trick for making filter pipeline, you must set up with same name both in "pipeline" and "section name" so I wonder if you could review your pipeline and section, again.
1: https://github.com/openstack/swift/blob/master/etc/proxy-server.conf-sample#L284-L290
Best
Kota
(2015/09/15 7:21), venkatesh kotipalli wrote:
> Hi Guys,
>
> Successfully configured swift. But when start the swift-proxy server. It
> through the error is :
>
> openstack-swift-proxy.service - OpenStack Object Storage (swift) - Proxy
> Server
> Loaded: loaded (/usr/lib/systemd/system/openstack-swift-proxy.service;
> enabled)
> Active: failed (Result: exit-code) since Tue 2015-09-15 03:39:40 IST; 2s
> ago
> Process: 27570 ExecStart=/usr/bin/swift-proxy-server
> /etc/swift/proxy-server.conf (code=exited, status=1/FAILURE)
> Main PID: 27570 (code=exited, status=1/FAILURE)
>
> Sep 15 03:39:40 controller swift-proxy-server[27570]: for name in
> pipeline[:-1]]
> Sep 15 03:39:40 controller swift-proxy-server[27570]: File
> "/usr/lib/python2.7/site-packages/swift/common/wsgi.py", line 61, in
> get_context
> Sep 15 03:39:40 controller swift-proxy-server[27570]: object_type,
> name=name, global_conf=global_conf)
> Sep 15 03:39:40 controller swift-proxy-server[27570]: File
> "/usr/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 408, in
> get_context
> Sep 15 03:39:40 controller swift-proxy-server[27570]: object_type,
> name=name)
> Sep 15 03:39:40 controller swift-proxy-server[27570]: File
> "/usr/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 587, in
> find_config_section
> Sep 15 03:39:40 controller swift-proxy-server[27570]: self.filename))
> Sep 15 03:39:40 controller swift-proxy-server[27570]: LookupError: No
> section 'authtoken' (prefixed by 'filter') found in config
> /etc/swift/proxy-server.conf
> Sep 15 03:39:40 controller systemd[1]: openstack-swift-proxy.service: main
> process exited, code=exited, status=1/FAILURE
> Sep 15 03:39:40 controller systemd[1]: Unit openstack-swift-proxy.service
> entered failed state.
> [root at controller ~(keystone_admin)]#vi /etc/swift/proxy-server.conf
>
> Please guys help me.
>
> Regards,
> Venkatesh.k
>
>
>
> _______________________________________________
> Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> Post to : openstack at lists.openstack.org
> Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20150915/019e7972/attachment.html>
More information about the Openstack
mailing list